dixx / Die_Chroniken_eines_namenlosen_Spiels

We develop a game just for the sake of learning how to do it. Okay, maybe it's more developing a game engine and using a game as its integration test. We have no real goal besides the learning experience.
Other
1 stars 1 forks source link

How the hero walks when action key is held down #30

Open dixx opened 10 years ago

dixx commented 10 years ago

~When hero is lead with the mouse, when behind an NPC, he wals back towards the NPC as soon as the mouse pointer hits the NPC. Instead the hero should walk to the destination ON THE GROUND the mouse pointer is pointing at.~ New engine, new rules.

TODO when "action key" is held down:

dixx commented 10 years ago

~This bug is bigger than it appears. We must meditate about what we want to happen when the mouse button is pressed down. For example: If I point onto the ground or any walkable object, then I want the hero to walk on, even if the mouse pointer slides over a clickable object or a menue bar. But when I click onto a clickable object, say, an NPC, then I want the hero to NOT move around, but to go straight towards the clicked object, even if the mouse pointer slides onto the ground.~ see TODOs