I made a custom movement on an Isometric Grid field and it is based on the movement you see in Habbo Hotel, the visual chat application. This engine can be used for visual chat game, RPGs, Strategy Games... yeah why not?
Most of the maths explanation is in the event editor of the open source file itself but here is an image to explain the core.
The hero of the game (the player's unit) can only walk 8 directions, so if the player clicks on a coloured area, the hero cannot go directly to that spot. So I made an engine to recognize the area the mouse is in and when the user clicks it goes to that spot. When you click on a blue line, that's easy. it just goed directly to it, but when you click on an area in between if will go in 2 steps. you will see when you download the open source file, here is the URL:
Yeah I'm sorry, most of the objects are named in Dutch, so it is a little confusing, I can understand. It's hard for me to explain it anyway, especially in English. But hey, it's open source! I just wanted it to share it with you guys.
BTW Verschil means Difference It's the difference between the hero and the cell that the mouse is over.
If you got any questions you can ask me. I am planning to expand this engine, so that it can recognize other players, so the hero of the game can dodge the player if he is in his route and take another route. that would be difficult though.
Thanks mate, the only problem is that the 'hero' cannot go another route than the one that is assigned for him. When I decide to use Isometric Mouseclicks, then I will rebuild it from scratch so it can dodge other players or walls within an isometric field. That will be totally different, it will be more of an AI then I guess Only thinking of the challenge ...
Thanks for the bugtesting I didn't see that at all actually! Well I will release an improved version (with some kind of AI for the hero to dodge obstables), but for now you will have to add that line for yourselves if you're planning to use the engine.