Nov 6, 2010, 11:17 AM | |
No way!
|
Nov 6, 2010, 11:52 AM | |
I think the problem is that you think positive values make the player go right and up.
X Positive = right Negative = left Y Positive = down Negative = up Edit: updated
__________________
If you're wondering about my custom title, I have posted my story in the Introductions thread. Go check it out! Last edited by LegendaryDreamer; Nov 6, 2010 at 12:53 PM. Reason: epic fail with positive and negative values |
Nov 6, 2010, 12:29 PM | ||
Incorrect.
Quote:
|
Nov 6, 2010, 12:48 PM | |
I updated it (epic fail on my part, sorry ;p)
__________________
If you're wondering about my custom title, I have posted my story in the Introductions thread. Go check it out! |
Nov 6, 2010, 03:45 PM | |
empirical results and new hypothesis
Actually, you only get stuck if there's a small (meaning between -15 and 16 inclusive) x-speed and a non-zero y-speed. As long as the x-speed is large (-16 or lower, or 17 or higher), it doesn't matter what y-speed you have. To take a guess at why this works, in pseudo-code:
Code:
z = player.current_zone if z.class = sucker_tube { if z.yspeed { player.xpos = z.xpos player.yspeed = z.yspeed } if z.xspeed { player.ypos = z.ypos player.xspeed = z.xspeed } } |
Nov 7, 2010, 05:55 AM | |
so,
X: Positive = Right Negative = Left Y: Positive = Down Negative = Up XY: Both positive(slow) = (probably) stuck Both positive(fast) = move diagonal down and right. How much diagonal, depends on X and Y parameters Both negative(slow) = (probably) stuck Both negative(fast) = move diagonal up and left. How much diagonal, depends on X and Y parameters Y positive, X negative = move diagonal down and left. How much diagonal, depends on X and Y parameters Y negative, X positive = move diagonal up and right. How much diagonal, depends on X and Y parameters
__________________
![]() |
Nov 7, 2010, 09:30 AM | |||
Quote:
Quote:
|
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 06:02 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.