7
votes
8answers
466 views

Randomly spawning objects so they don't intersect [duplicate]

I've got this code for spawning enemy objects in random places: for (int i = 0; i < 7; i++){ enemyObject = new Enemy((r.nextInt(Main.WINDOW_WIDTH), r.nextInt(Main.WINDOW_HEIGHT)); } The ...
10
votes
3answers
665 views

Random map generation - strategies for scattering/clustering random nodes

I am doing a simple 4X strategy game in space where each node is a point-of-interest (a planet, an asteroid and etc.). To randomly generate a map, I would follow the steps below Decide how many ...
5
votes
1answer
1k views

Should I use procedural animation?

I have started to make a fantasy 3d fps swordplay game and I want to add animations. I don't want to animate everything by hand because it would take a lot of time, so I decided to use procedural ...
5
votes
1answer
677 views

Random generation of interesting puzzle levels?

I'm making a Sokoban-like game i.e. there's a grid that has some crates on it you can push and you have to get the crates on crosses to win the level (although I'm going to add some extra elements to ...