Giter Club home page Giter Club logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024

Original comment by [email protected] on 20 Nov 2010 at 10:09

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Or maybe a doubletap to set waypoint

Original comment by The2ndclory on 20 Nov 2010 at 1:10

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Good idea The2ndclory, that's something that we probably should think about in 
a future release. I've made pathfinding implementations for other games, so 
that particular part should be no problem. We just need to consider what would 
be best for the players, and most intuitive.

Hm, maybe a setting where the player can choose if the game should use 
click-to-move or click-to-set-waypoint? Just a thought.

In the meantime, I've made a quick implementation of drag-to-walk, but I need a 
second opinion on whether it feels correct or not. I would need someone to 
betatest it before we release to Android market. Anyone willing? :)

Original comment by [email protected] on 22 Nov 2010 at 9:09

  • Changed state: Accepted

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
*Raises hand* me teacher. I've actually tried looking at the code which has 
spurred my interest to look into java.

Original comment by The2ndclory on 22 Nov 2010 at 9:50

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Great, I'll prepare an APK right away that you can install and test. Should we 
take this discussion to email instead? Please email me at iostr_antr [at] 
iostr.com and I'll set you up with what you need to test it.

There's some new quests developed in there as well that aren't completely done 
yet and not really ready for publishing to market :)

Original comment by [email protected] on 22 Nov 2010 at 9:58

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Tests indicate that the new movement system is working as expected. Much better.

This will be included in the next update. (v0.6.6)

Original comment by [email protected] on 24 Nov 2010 at 9:03

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Its better now, but as usually I have some suggestions. ;-)

Consider the following situation:
####m###
#  .   M
# P#####
# ######
########

P - player
M - point where I click to move (does not work)
m - point where moving works

Currently the player wont move anywhere when tapping "M". I suggest that he 
should move to the "." instead. I do NOT want you to implement a path finding 
algorithm. (perhaps later when double tapping a field) I just think you should 
rework the moving system.

I think currently you are determine the angle and compare it using the 
following system:
-22,5° to  22.5° > move east
 22.5° to  67.5° > move north east
 67.5° to 112.5° > move north
112.5° to 157.5° > move north west
157.5° to 202.5° > move west
202.5° to 247.5° > move south west
247.5° to 292.5° > move south
292.5° to 337.5° > move south east

If this does not work because the field is full I suggest to compare the angle 
again to:
-45° to  45° > move east
  0° to  90° > move north east
 45° to 135° > move north
 90° to 180° > move north west
135° to 225° > move west
180° to 270° > move south west
225° to 315° > move south
270° to 360° > move south east

In my example with an angle around 15° the first table says me to go east. 
(blocked)
After this the second table has 2 options for me: "east" and "north east".
North east is not blocked so I could go there.

It happens really often that I cannot move because of that...

Original comment by [email protected] on 25 Nov 2010 at 7:52

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Very nice idea. I've also noticed that I got stuck on some fence when I wanted 
to travel in another direction. This could really help in those cases.

A remark tough, the example you gave actually works 
I've done a quick implementation similar to what you suggested, and the 
movement really feels much much better. 

Thank you again for a great suggestion. I'll put up an updated version of 
v0.6.6 shortly.

Original comment by [email protected] on 26 Nov 2010 at 12:54

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Works like a charm in 0.6.6b1.
Moving is really fun now.

Original comment by [email protected] on 26 Nov 2010 at 9:31

from andors-trail.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
This is now implemented. Closing this issue. Thanks again for all the good 
suggestions!

Original comment by [email protected] on 29 Nov 2010 at 9:36

  • Changed state: Verified

from andors-trail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.