Page 1 of 1

What happens, when the edges of the GE world are reached ?

PostPosted: Fri Dec 05, 2014 8:02 pm
by digiot
Hi all !

Given, you have an infinite actor, spread across the whole GE world horizontally.
With your view, you are "riding" on that infinite background actor in one direction.
I don't know, what the furthest coordinates are, except, that they are not infinite.

The game is so good, the player can't stop playing, and plays on and on, and after a
more or less large while, the end of GEs area is reached.

What will happen now, does GE take care of that situation automatically, i.e. limiting
the x/y-values of the view, according to their type ?

Or can you accidentally overload the x-value, and GE crashes,
or does it just start counting from 0 again ?

Even better, is there a kind of automatic wrapping ?


Cheers !

Re: What happens, when the edges of the GE world are reached

PostPosted: Fri Dec 05, 2014 8:12 pm
by MrJolteon
Starting from the center, (0,0), the GE world is 1000000 pixels in every direction, and when you reach the edge it wraps around to the other side.

Re: What happens, when the edges of the GE world are reached

PostPosted: Fri Dec 05, 2014 8:32 pm
by digiot
MrJolteon wrote:Starting from the center, (0,0), the GE world is 1000000 pixels in every direction, and when you reach the edge it wraps around to the other side.

So it does wrap to -1000000 ?
Sounds good, thanks !

Cheers !

Re: What happens, when the edges of the GE world are reached

PostPosted: Tue Dec 09, 2014 4:03 am
by Zivouhr
That would be a giant game if the world appears mostly a flat level horizontally, but if you keep going it eventually would loop to the origin point. I wonder if Game Editor would reach its playable limitations after so many tiles were placed?

Re: What happens, when the edges of the GE world are reached

PostPosted: Wed Dec 10, 2014 7:51 pm
by speckford123
Thats kind of interesting actually
you could make a massive level that automatically loops back onto itself if you were determined enough, haha