Having got GE working on my ubuntu netbook (and it is more stable than win7 now) I am trying to develop a navigation type game. What I would like to do is have a wrap around on the edges, so if you go off the edge of the world one way, you come back onto the world from the other side.
I tried
- Code: Select all
if (x>=10350) x=-10349;
if (x<=-10350)x=10349;
Inside a timer event so it would check the planes position every 100ms but this does not seem to work. I am not sure if I understand what is going on with the x variable so any help would be great.
Oh and my division tutor thing is almost there but I got side tracked like you do.
Thanks all
MrB