Room size

T

TypicalHog

Guest
I need really big game space, like 100K X 100K or even better, infinite, but I can't have room that big.
Anyone knows some good workaround?

It's a top down space game kind of similar to asteroids.
 

jo-thijs

Member
You can let the views go beyond the room border, if that helps you.
Just don't let the view follow an object, but set the view coordinates yourself in an end step event
by changing view_xview and view_yview.

Also, why can't you have a room that big?
 
T

TypicalHog

Guest
That might be helpful, also I tried creating 192000x108000 room, but game runs out of memory after 10-20 seconds of black screen.
 

Phil Strahl

Member
I need really big game space, like 100K X 100K or even better, infinite, but I can't have room that big.
Anyone knows some good workaround?

It's a top down space game kind of similar to asteroids.
You could have a "grid" of rooms of a smaller size. When the player enters the "edge zone", you switch to the adjacent room and place the player with all necessary properties such as current orientation and speed?
 
T

TypicalHog

Guest
Were you using a view then?
The room size itself doesn't effect memory consumption.
Ok, now I realize, I have just changed numbers in the room properties, and game is set so it shows the whole room.
That might be the cause of the problem.
 
Top