hello everyone ^^ i need your help pls :p
i need to make this script, i'll try to describe it ^^
it seems easy, but it isn't XD first of all i don't know how to write in rgss "wait untill the end of the movement" second thing, i don't know how to say that if the character can't move the script have to ignore it and go on, whitout lock the character
and the last thing... this is a little hard to say for me... (i wont to say you that i'm not english XD this is why my english is a really big big mess :p)
for the graphic... when you change it normally, the sprite make a loop
the problem is that when you move whit normal characterset the graphic work like: 1 2 3 4 3 2 1 whit a loop... i think this is not so hard to understand...
i need to make it work like: 1 2 3 4 4 4 4 ... ... untill the end of the dash, then back to normal loop whit the normal movement graphic...
the most important thing anyway is the "wait untill the end of the movement" because whitout it, if you spam the Z key... you can make run your character...
thanks for you attention ^^ i hope in some help :p
i need to make this script, i'll try to describe it ^^
Code:
If Z is pressed
[b]Change Hero Speed[/b] 6
[b]Change Graphic Hero's Character[/b] ("Hero_Dash")
[b]Move forward[/b] (ignore if can't move)
[b]Move forward[/b] (ignore if can't move)
[b]Move forward[/b] (ignore if can't move)
[b]Wait untill the end of the movement[/b]
[b]Change Graphic[/b] Back to normal
[b]Change Speed[/b] Back to normal
it seems easy, but it isn't XD first of all i don't know how to write in rgss "wait untill the end of the movement" second thing, i don't know how to say that if the character can't move the script have to ignore it and go on, whitout lock the character
and the last thing... this is a little hard to say for me... (i wont to say you that i'm not english XD this is why my english is a really big big mess :p)
for the graphic... when you change it normally, the sprite make a loop
Code:
|---|---|---|---|
| 1 | 2 | 3 | 4 | <- for each direction
|---|---|---|---|
the problem is that when you move whit normal characterset the graphic work like: 1 2 3 4 3 2 1 whit a loop... i think this is not so hard to understand...
i need to make it work like: 1 2 3 4 4 4 4 ... ... untill the end of the dash, then back to normal loop whit the normal movement graphic...
the most important thing anyway is the "wait untill the end of the movement" because whitout it, if you spam the Z key... you can make run your character...
thanks for you attention ^^ i hope in some help :p