2ma2 `s platform engine

Started by foz, Mon 02/02/2004 00:18:10

Previous topic - Next topic

foz

I have been playing about with this engine and made some alterations.....
What i am trying to do with it is make it a multi directional scroller using big backgrounds...eg 2560 x 800..

I`m having trouble as the hotspots for the walking platforms don`t line up its as if what you draw on the background is not in line with the hotspots drawn over the picture....

It also judders the background picture if the character go below  the 300 y position....

if any one can point me in the right direction it would be appreciated if not i`ll just plug along til i suss it out..

laters
foz

Pumaman

The best person to ask would of course be 2ma2, but he has been rather absent lately so I'm afraid I can't make any further suggestions

foz

No worries.....pumaman...

I have been playing with the code and solved the screen judder.....

I`ll just spend some more time on the other problem..

I`m not sure why it doe`s it though ,once the screen starts scrolling the hotspot and background screen go out of sync..

Thanks any how..

Pumaman

It could well be that some of the script code deals in the wrong type of co-ordinates, and needs to use GetViewportX/GetViewportY to adjust them.

foz

Okay i`ll look at that thanks...

SMF spam blocked by CleanTalk