Game Development Community

Cube/Hypercube code

by Evan Salas · in General Discussion · 08/31/2009 (11:47 pm) · 3 replies

I'm looking to do a Hypercube game within TGEA, but I do not know how to set up a script that can simulate infinite amount of rooms. If anyone has seen the movies they will know what I'm talking about in terms what to simulate. Instead of creating countless rooms/areas within the editor I would rather use code/script to simulate the infinite amount of rooms.

If anyone can help me with this I would truly be grateful!! Thx...

#1
09/04/2009 (8:20 am)
Instead of creating infinite amounts of rooms for a game, why not create one or two rooms and make it so that their layouts change when the player enters, effectively making it seem like it's infinite, but all it really is is sort of playing "shell game" with two rooms (the two rooms being the one the player is currently in, and then swapping to the one the player wants to go into, moving/sizing/rearranging as needed, and then vice versa with the other). Hope that helps.
#2
09/08/2009 (3:29 pm)
Wouldn't you be better waiting for T4D
#3
09/08/2009 (3:36 pm)
Yeah, or perhaps T11D :P

Ted's method is best when limited to three dimensions faked on a 2D screen, though. It's what I'd use.