Moving platforms

I found in my archives an old script that I made perhaps one year ago and which was apparently only released in French. This script handles moving platforms.

http://img187.imageshack.us/img187/1707/pfqy8.png[/img]

As it seems that there is no similar script on this board, I made a quick (and poor) translation.
The script itself is quite long, so I post a demo :
http://www.mediafire.com/?n3cs2dz5m8i

The explanations and examples can be found in this demo.
I think that this script has probably a bad compatibility with other scripts, since lots of basic classes are modified.
its not bad but there was a part of the tutorial that i couldn't get through.
Lol funny story...

I just made this with events.
But this Method is coool...  Will use it ^^
I love this script, it's so innovative! Great for puzzle games ;)
Yea totally, great for adding many more hours onto your game with just a few puzzles. Excellent idea.

-Krobe
Plus it comes with a great jumping, 8-Directional, Pixel-movement system. I'd get it just for that :)
OMG...I absolutely love this. Tell your mother thank you for being born.
@Link
Quote:
Pixel-movement system. I'd get it just for that :)


That ´s not amazing XD...
If i can use it with fOetz! pixelmovement.. than it ´ll be amazing.. because Pixelmovement just matters, if i have real pixel walls...
With this one, the actor stops 16 pixels awa from the block, if it uses a half filled tile...


Can you make it work with fOetz! pixelmovement 1.5x???
I meant the Pixel movement, jump and run.

F0tz is amazing, but it's incompatible with so many scripts. =X
If only this could be converted to VX...
Yea, could you also make a VX version? o.o

-Krobe
Is there a way to get the moving platforms without the jumping code in there? It interferes with an Input(TRIGGER) in my game. I can't change the keyboard button, because all of the available ones are being used already.
jbrist wrote:
Lol funny story...

I just made this with events.

I can't even begin to think how you would do this with events, and I'm making an evented battle system in RM2k3 for my RM2k3 project. XD
Link in Pink -> In 'Moving_Platforms 1', there is l.129 (class Scene_Map) this part of code :

    if Input.trigger?(Input::Z)
      unless $game_system.map_interpreter.running? or
             $game_system.menu_disabled
        $game_temp.menu_calling = true
        $game_temp.menu_beep = true
      end
    end
    if Input.trigger?(Input::A) and $game_switches[$jump_switch_number.to_i] and
      !$game_player.jumping? and !$game_switches[$void_switch_number.to_i]
      $game_player.jump(0,0)
    end
    if Input.press?(Input::B) and $game_switches[$run_switch_number.to_i]
      $game_player.run_mode
    else $game_player.walk_mode
    end
Expand to see the code.



You just have to delete the test that calls the jump function.
With this code :
    if Input.trigger?(Input::Z)
      unless $game_system.map_interpreter.running? or
             $game_system.menu_disabled
        $game_temp.menu_calling = true
        $game_temp.menu_beep = true
      end
    end
    if Input.press?(Input::B) and $game_switches[$run_switch_number.to_i]
      $game_player.run_mode
    else $game_player.walk_mode
    end
Expand to see the code.

the 'A' button isn't used to jump any more.

ablahblah987 and Krobelus -> currently I can't make a VX version for a simple reason : I don't have RMVX (60$ just to make a new version of this script is a bit too expensive for me).

jbrist and Jirbytaylor -> to make moving platforms with events is very impressive. I began game making with RM2k3 and creating a complex system was a real challenge.
Thanks, I wasn't sure if I could just delete that part of the code =P

I assume you can do that for the dash too, right?
Can someone tell me how to make this compatible with XAS? At least tell me how to remove the pixelmovement aspect. That would be more epic than the colision between an Inazuma Kick and a Falcon Punch! lol
Compatibility with XAS would be nice.
I was going to do a VX version of this (I've already converted quite a few scripts), but most people don't like me doing this (or atleast I'm not allowed to post it), so I never bothered with this one.

I could do it if you like, but no real promise, it's not more important than my work...
I will try to make it compatible with XAS (I'll keep XAS move system), but it will take some time (XAS is a quite complex script).
MGCaladtogel wrote:
I will try to make it compatible with XAS (I'll keep XAS move system), but it will take some time (XAS is a quite complex script).


If that happens you'll be my hero. This script provides the opportunity for so many great puzzles =D
Link in Pink wrote:
MGCaladtogel wrote:
I will try to make it compatible with XAS (I'll keep XAS move system), but it will take some time (XAS is a quite complex script).


If that happens you'll be my hero. This script provides the opportunity for so many great puzzles =D


agreed!!!!!!!

=D
When using this script, the Player stopped moving in an autostart event I had to control panning. Weird.
I would like to have moving platforms, but I'm finding a lot of my events have stopped responding for some reason - and they're ones that take the player between maps. o.o

Plus, the jumps are tiny as hell, like 3 pixels high - when not running of course. Are the jumps based on the size of the sprite? Because I use a script edit to make all sprites 2x size.

jbrist, care to share your evented version please maybe? :>
XAS support would make my life complete
I've always longed for a flawless moving platform script, it should be standard in an rpg editor anyway.  So can you jump from platform to platform + mistime jumps falling to oblivion?
You should play the demo... but yes this script seems to answer all your platforming needs
This... this is awesome. *gazes in awe*; Wow! THANK YOU! I needed something like this for such a long while now. I'm definitely going to use this in my game.

I'm going to credit you (whether you've asked for it or not, out of decency), but is there anybody else whom I need to credit for using this script?

Thanks again for this wonderful script! : D
Jirbytaylor -> events that stop responding... I will make some tests.

ChaosMaxima -> I made this script all alone. I didn't include existing scripts : 8-dir, jump and run mode in this script were entirely re-created.


I'm still working on a XAS compatibility. It's long because I don't have much time and I've got so many things to do (this script, mode7, a new complex script, my own RMXP project, etc.)
jbrist wrote:
Lol funny story...

I just made this with events.


Yeh, this script is useless.
Just go to events/tilesets/pick your landmass/ and then assign a moving path as it's objective.
MGCaladtogel wrote:
Jirbytaylor -> events that stop responding... I will make some tests.

ChaosMaxima -> I made this script all alone. I didn't include existing scripts : 8-dir, jump and run mode in this script were entirely re-created.


I'm still working on a XAS compatibility. It's long because I don't have much time and I've got so many things to do (this script, mode7, a new complex script, my own RMXP project, etc.)


No hurry, man. We're just glad to know that you're working on it 😉

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=44026