Notice: fwrite(): Write of 38 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 59 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 1714 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - [GM] Platform moving

The RPG Maker Resource Kit

Other Game Creation => Other Game Making Programs => Topic started by: Edwin VanCleef on June 04, 2007, 05:13:15 PM

Title: [GM] Platform moving
Post by: Edwin VanCleef on June 04, 2007, 05:13:15 PM
How do I make it the sprite only moves one step when I press a direction? Because if I press a direction it keeps going on without stopping.
Title: Re: Platform moving
Post by: ChaosSpartan28 on June 04, 2007, 07:05:05 PM
If you're using the D&D coding, make 2 new events, released(Left) and released(Right), in your characers object.

Then in the release(Left) event drag and drop a "Execute a Piece of Code" from the control tab. Then double click it. Now in it type:

sprite_index="name_of_sprite_standing_left_without_these_quotes"
...for the right its basically the same.

Then in the release(Right) event drag and drop a "Execute a Piece of Code" from the control tab. Then double click it. Now in it type:

sprite_index="name_of_sprite_standing_right_without_these_quotes"


Example:
sprite_index=Mario_Standing_Left

Names dont have to be so complicated but it helps you know what sprite you want to use.
Title: Re: Platform moving
Post by: Edwin VanCleef on June 04, 2007, 07:06:39 PM
cant it be done with simple commands? Because I dont know any code and it's gonna be a pain in the ass to work with them
Title: Re: Platform moving
Post by: ChaosSpartan28 on June 04, 2007, 07:08:09 PM
Yes it can. Give me a sec.
Title: Re: Platform moving
Post by: ChaosSpartan28 on June 04, 2007, 07:15:16 PM
(sorry for double post)

Here you go. Look at the examples in that winrar. They use basic commands to help you understand what you need to do.

Hope it helps. :D
Title: Re: Platform moving
Post by: Edwin VanCleef on June 04, 2007, 07:54:39 PM
Sure will, thanks mate
Title: Re: Platform moving
Post by: Arrow on June 05, 2007, 01:00:12 AM
Quote from: Stephen on June 04, 2007, 07:15:16 PM
(sorry for double post)

Here you go. Look at the examples in that winrar. They use basic commands to help you understand what you need to do.

Hope it helps. :D

Edit button, Stevoh.
Title: Re: Platform moving
Post by: ChaosSpartan28 on June 05, 2007, 04:19:09 AM
I know, but he probably wouldnt have seen that I added the attachment. Anyways sorry. XD
Title: Re: Platform moving
Post by: Arrow on June 05, 2007, 04:54:50 PM
'S all right, I suppose. I like you anyway. ;8
Title: Re: Platform moving
Post by: ChaosSpartan28 on June 05, 2007, 05:15:59 PM
 :huge: