Platform Mode Beta (v0.9)
Features
Screenshot
http://img222.imageshack.us/img222/4797/screenshotlv5.th.png[/IMG]
Download
Download the Demo here.
To Do List
Legalese
This script is copyright me, as specified in the script comments, and is being distributed under GNU copyleft. Essentially, that means you can download it and edit it all you want for free, as long as you aren't selling it.
Event Editing (as seen in script comments)
===================================
This is a Beta release; If you try this script and notice any bugs, please let me know with a screenshot and detailed description in this thread.
THIS DEMO IS NOT MARIO, IT ONLY LOOKS LIKE IT. IT IS ONLY MEANT TO DEMONSTRATE PLATFORM MOVEMENT! Please do not post about the question blocks not working.
Features
- Sub-tile movement
- Gravity
- Flying events which ignore gravity
- Platform events which ignore gravity and move things around
- Modified movement types for appropriate behavior in platform mode
- Implement 8 directional movement during flying mode
Screenshot
http://img222.imageshack.us/img222/4797/screenshotlv5.th.png[/IMG]
Download
Download the Demo here.
To Do List
- Fix bug where sometimes you land inside a platform
- Allow events and player to be larger than 32x32 pixels
- Make jumping more parabolic
- Fix bug where Platforms can push you off the screen and into walls
- Don't allow character to leave displayed screen if autoscroll in that direction is off
- Allow flying player to move up and down with arrows
- Fix jumping and falling to be left/right directional
Legalese
This script is copyright me, as specified in the script comments, and is being distributed under GNU copyleft. Essentially, that means you can download it and edit it all you want for free, as long as you aren't selling it.
Event Editing (as seen in script comments)
Code:
Event Editing Instructions
1.) Events come in three main varieties under platform mode; normal, flying, and
platform.
PLATFORM events need to have a comment that says "platform" on the first
line of the active event page. Platform events can push the player and
other events around on the screen, and even off the screen, so be careful
where you put them. Platform events automatically ignore gravity.
FLYING events need to have a comment that says "flying" on the first line
of the active event page. Flying events ignore gravity, but don't push
the player or other events around; they bump into other things as normal.
NORMAL events are events without a "flying" or "platform" comment. They
are affected by gravity.
2.) The three movement types are HIGHLY modified.
First of all, custom movement needs a lot more statements to move an equal
distance compared to a tile-based movement map. This is because each move
command only moves the event one "step" of its movement speed. Movement
Speed 3 requires 16 move lefts to move one tile to the left! This was done
deliberately so you can customize movement paths outside normal tile
boundaries.
Second, toward player only works with left and right unless the event is
flying, in which case it works up/down, too. There is no pathfinding if
something is in the way.
Third, random movement only moves left or right, even for flying events.
===================================
This is a Beta release; If you try this script and notice any bugs, please let me know with a screenshot and detailed description in this thread.
THIS DEMO IS NOT MARIO, IT ONLY LOOKS LIKE IT. IT IS ONLY MEANT TO DEMONSTRATE PLATFORM MOVEMENT! Please do not post about the question blocks not working.