![]() |
Graals 8 directional movement script...
Can Stefan or someone post the 8 dir movement with perfect..everything..on here? I want to redefine movement, but I don't have the mathematical skill to get it perfect....
Someone please post it...thanks. |
I'm pretty sure that is done with a 'noob code' you know like;
if (keydown(0)){ playery--; } and so on, but then again, I suppose there is nothing stopping this from producing the same effect; for (i=0; i<4; i++) { if (keydown(i)) { playerx+=vecx(i); playery+=vecy(i); } } |
Damnit I don't want any new scripters trying to give me an answer to this, I already made a very advanced movement system. I just need Stefans so I have a bug free version.
|
He is just helping. you shouldnt get mad at him.
|
omg
Quote:
|
No profanity please.
I have posted the player race movement scripts some months ago on the forums (new races forum i think) |
Quote:
http://forums.graal2001.com/forums/s...5&pagenumber=3 |
Quote:
|
lol, Stefan, that was lot of help :rolleyes:
|
okies. :). i wanted to make a good suggestion to stefan, i am going to post it in the improvements, but i wanted to mention it here. i think that instead of like up, down left, right there were up, up-left, up-right, left, right, down left, down-right. maybe in the new enging, and it could have better body positions and all... i think that could make graal a lot cooler...
|
Good idea Saga. It would be nice to be able to walk diagonally and swing while walking diagonally in Graal. It would improve gameplay very much. ;D
|
I think someone said that, about diaganol movements and npc's... He said it wouldn't work, I forget why though =(
|
Graal is based on a x and y axis, just like a graph. Each individual tile is broken down and only vertical and horizontal movements can be drawn on a x and y axis. Maybe using negatives might work if you catch my drift. Think of a negative graph, if the levels were positions so that the center was 0. That actually might work.:confused: :megaeek:
|
Well if graal added .x model support then we could easily add 8 directional movement. Hmm, and if wanted, angular movement...
|
Quote:
Then again, math is logical, making your statement valid anyway. |
All times are GMT +2. The time now is 11:48 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.