JeanTheFox here! I just decided to put an image of the scripts you can use to make a good 8 way script. there are 2 different ways to do this, using 8 different costumes, or using one costume.
8 different costume script
And with one costume;
I hope this helps someone!
Last edited by JeanTheFox (2010-07-27 14:22:09)
Offline
This is great, but there are ways to garantee better results by using if else blocks inside the ifs, but this method works well enough.
Offline
JeanTheFox wrote:
JeanTheFox here! I just decided to put an image of the scripts you can use to make a good 8 way script. There are 2 different ways to do this, using 8 different costumes, or using one costume.
8 different costume script
http://jeans-random-site.yolasite.com/r … itled6.png
And with one costume;
http://jeans-random-site.yolasite.com/r … itled7.png
I hope this helps someone!
The First One: for when you start doing this.
The Second One: For when you know the code well and want to make it shorter.
Is that the way it goes?
Offline
chipguy wrote:
nice! technicaly cant you old two arrow keys down and they regually would move on diagonal?
Yes, that is the point of 8 way movement.
Zoomreddin wrote:
The First One: for when you start doing this.
The Second One: For when you know the code well and want to make it shorter.
Is that the way it goes?
Yeah, pretty much.
I'll be making more tutorials, I currently writing one for Advanced Topics that lets you add 5 new visual effects.
Offline
Harakou wrote:
Is the point of this to let the sprite vertically and horizontally at the same time?
You mean diagonally, and yes.
Last edited by JeanTheFox (2010-07-28 09:25:39)
Offline
midnightleopard wrote:
very good!
Thanks!
Offline