So I've been playing around with random world generators and I'd like some tips on it: http://scratch.mit.edu/projects/Magnie/2011626. The display online is messed up, meaning something is wrong with the Flash Player's math functions.
I'm wondering how I would use detection of tiles the player can't walk on/over. Like stone or something.
Also, if you have any ideas on how to increase the display speed, that would be nice.
Keys: WASD
Last edited by Magnie (2011-09-03 22:15:45)
Offline
The easiest way to be use color(either green or black, etc.), or you could try making some kind of array that detects the edges that shouldn't be gone through, that are of a certain tiles.
It would also be easier to just remove the black line as well, and bumping into something would move you 1 backward.
Good project as well. I have also been experiencing some troubles with the Flash Player.
My best suggestion to generate a world would be to generate land and mountains, and randomly put lakes around land not on mountains.
Offline