I'm trying to update my old tile-based engine code to the latesst release of PPL, and am running into two very specific problems, and can not find changes in the changelog that show these differences.
First, the following code doesn't seem to work, SpriteMoved seems to be no more:
Second, how do i set a resolution and stop it from going fullscreen? I tried:
g_init (h$, &GameProc;, 240, 320, ORIENTATION_NORTH, 5, 60, False);
in lieu of the current code:
InitGameAPI(h$, &GameProc;, 5, 60);
and I just get access violations, stack to small errors, and then a crash. Any ideas?
(Also, if you're still around on MSN, give me a message, have a few other small questions about a potential idea I have.)
First, the following code doesn't seem to work, SpriteMoved seems to be no more:
- Code:
if ((SpriteMovedY(mario$) == 0.00) and (jump$ == 1))
SetSpriteFrames(mario$, 1, 3);
jump$ = 0;
end;
Second, how do i set a resolution and stop it from going fullscreen? I tried:
g_init (h$, &GameProc;, 240, 320, ORIENTATION_NORTH, 5, 60, False);
in lieu of the current code:
InitGameAPI(h$, &GameProc;, 5, 60);
and I just get access violations, stack to small errors, and then a crash. Any ideas?
(Also, if you're still around on MSN, give me a message, have a few other small questions about a potential idea I have.)