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

Non-platform specific questions.

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

Postby digiot » Fri Dec 05, 2014 8:02 pm

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 !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

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

Postby MrJolteon » Fri Dec 05, 2014 8:12 pm

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.
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

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

Postby digiot » Fri Dec 05, 2014 8:32 pm

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 !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

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

Postby Zivouhr » Tue Dec 09, 2014 4:03 am

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?
City of Rott Game created on Game Editor http://cityofrott.wordpress.com/
User avatar
Zivouhr
 
Posts: 549
Joined: Sat May 17, 2014 2:12 pm
Score: 59 Give a positive score

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

Postby speckford123 » Wed Dec 10, 2014 7:51 pm

Thats kind of interesting actually
you could make a massive level that automatically loops back onto itself if you were determined enough, haha
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron