Downwards
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);
}
VOID MAIN(VOID)
{
freeze(1);
move_stop(1, 6, 385, 1);
wait(1000);
move_stop(1, 2, -10, 1);
}
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.
-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.

320 ain't enough to move Dink to the other screen.
The number should be > 400

The number should be > 400
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.

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.


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.