I asked if anyone could fix my stradegy game movement, but it is a mess. Does anyone have a movement engine where the guy moves where you click when selected? It needs to work with several of the objects.
Printable View
I asked if anyone could fix my stradegy game movement, but it is a mess. Does anyone have a movement engine where the guy moves where you click when selected? It needs to work with several of the objects.
Use The Vector movment and the clickteam movment control; makes it REALLY easy.
good luck.
I have never used either... is there an example or something that I could see?
yes, and the click team movement controller is a extension to allow more control over specific movement's.
There Are Built in examples on how to use it however it is quite simple;
example: on click(and object selected)
-set object values ? to x and y mouse
-set flag 'moving' on
+on flag 'moving' on
-"""click team controller"""" move towards point((values of x,y),Speed)
Good Luck.
http://fano.victorygames.info/imperia_en.htm
Game made by me and open source engines versions for TGF 1.6 (less options) and MMF 1.5 (More options). There are also in download sections engines of just movement.
There are at TDC.
http://www.create-games.com/download.asp?id=6216 - AI and movement
http://www.create-games.com/download.asp?id=6215 - Resource collection, unit creation and movement