Post new topic    
Slime Knight
Send private message
Bare jumping 
 PostMon Jan 07, 2013 5:48 pm
Send private message Reply with quote
I'm getting problems on scripting a side scrolling game, i want the character to jump, but don't move forward or backwards, just straight up, the objective is to avoid boxes on a factory track.
"I can't buy food with glory"
Metal King Slime
Send private message
 
 PostMon Jan 07, 2013 6:13 pm
Send private message Reply with quote
What're you trying now, and what is it doing that's inadequate?
Liquid Metal King Slime
Send private message
 
 PostMon Jan 07, 2013 6:24 pm
Send private message Reply with quote
Here is the same example script I gave Misac in IRC. I haven't tested it in a game, and it may need a little adjusting, but it should be a good starting place for the type of conveyor-belt based jumping-only sidescroller that Misac was telling me about.

http://pastebin.com/6qd36enn

EDIT: gosh, posting scripts in code blocks here is kinda hopeless. Anytime there is a less than or greater than, it mangles the posted script. Put on pastebin instead
Display posts from previous: