Simulating Starfields and 2D Wrapping...

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
i-Silver
Posts: 3
Joined: Mon Mar 22, 2004 9:27 am

Simulating Starfields and 2D Wrapping...

Post by i-Silver »

Hi all, I've started to fiddle around with the engine recently trying to learn enough to build a space game. One question, though: how would I simulate a starfield? Would I randomly draw points all over the game world? I've heard of environment maps, but am not sure what those are - would that help? I want to give my players a sense of motion when they travel through space.

Also, how would I make the player wrap around the world without making things really inefficient? I mean, everytime I check whether or not something is adjacent to an object, I would have to translate everything in memory... Wouldn't that be a bitch?
Post Reply