Tagged Questions
-4
votes
4answers
101 views
How to select a random node [closed]
I need to know if it is possible to select a random node or select a node itself because I'm doing a zombie AI and I need him to randomly move, and I wanted to know if it's possible to do it and how.
4
votes
2answers
822 views
Random World Generation [duplicate]
Possible Duplicate:
How are voxel terrain engines made?
I'm making a game like minecraft (although a different idea) but I need a random world generator for a 1024 block wide and 256 block ...
0
votes
2answers
245 views
Shuffle tiles position in the beginning of the game XNA Csharp
I'm trying to create a puzzle game where you move tiles to certain positions to make a whole image. I need help with randomizing the tiles start position so that they don't create the whole image at ...
1
vote
3answers
372 views
Randomly placing items script not working - sometimes items spawn in walls, sometimes items spawn in weird locations
EDIT: I changed some code after getting advice from colleagues. However it still has problems occasionally, though the problems aren't as bad or frequent. Here's the new code I'm actually using: `
...
-1
votes
3answers
1k views
Trying to generate some unique numbers [closed]
I find impossible to get this code to work! I want to generate 10 numbers that are unique, but despite all I change, I get duplictates of numbers in the array! Would really preciate some help to solve ...
3
votes
3answers
306 views
How can multiple clients be out of sync if they use the same RNG seed?
I have been working on a client-server architecture to enable LAN play for my open source game, Aigilas. In its current state, players stay synced in all running instances of the game but enemies and ...
1
vote
1answer
535 views
Having troubles with LibNoise.XNA and generating tileable maps
Following up on my previous post, I found a wonderful port of LibNoise for XNA. I've been working with it for about 8 hours straight and I'm tearing my hair out - I just can not get maps to tile, I ...
5
votes
3answers
442 views
Random monsters move in-sync instead of individually
I am making a game in which monsters spawn randomly and begin to move around randomly. I am fairly new at programming but not at game development. Through using a few tutorials I was able to make 1 ...
11
votes
3answers
632 views
Biased, conservative random walk
I have a sprite which has Velocity and Position, either stored as Vector2. At each Update cycle, velocity is added to the position.
I would like to give the sprite a third vector, Target. New targets ...