The Dink Network

Downwards

August 5th 2003, 05:38 PM
spike.gif
Weirdo
Peasant They/Them
 
I've made this very simple script that should move Dink right and then to the next screen going down. For some reason, it moves right, but not down. Does anyone know what's wrong?

VOID MAIN(VOID)
{
freeze(1);

move_stop(1, 6, 385, 1);
wait(1000);
move_stop(1, 2, -10, 1);

}
August 5th 2003, 06:15 PM
peasantmb.gif
move_stop(1, 2, 320, 1);

-10 is an Y cord for going up, not down.
It's like this:

-10
-5
0
5
10
20
30
40
50
100 (Suppose Dink is here, Y cord 100)
200
300
320 (You want to move Dink here)
etc.

Hope this helps.
August 5th 2003, 07:29 PM
spike.gif
320 ain't enough to move Dink to the other screen.
The number should be > 400
August 5th 2003, 09:04 PM
anon.gif
Weirdo
Ghost They/Them
 
Thank you
August 5th 2003, 10:31 PM
wizardb.gif
merlin
Peasant He/Him
 
Okay, that's really weird. I don't know how that works, but according to Math and graphing, negative numbers either go left or down, depending the U,V, or W (X,Y,Z) axes. But, just ignore that.
August 5th 2003, 10:48 PM
spike.gif
Weirdo
Peasant They/Them
 
It could just mean that since negative is the opposite of positive it goes the opposite way. But, that's pretty dumb and probably isn't true.
August 6th 2003, 05:40 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Well, just think of the visible screen to be in the 4th quadrant of a graph (bottom-right), with the Y-axis being inversed (so negative values are positive and positive values are negative). Seth wasn't very good at math (see: Math tutorial at codedojo), so he probably just started (0, 0) at the top-left like a book.
August 6th 2003, 11:58 AM
wizardg.gif
Paul
Peasant He/Him United States
 
For whatever reason I think starting from the top left is prety much the standard way to to do it in computer programs.