how to make a game with randomly genarating map
Crossbones+ - Reputation: 15101
Posted 16 December 2012 - 08:19 AM
Moderators - Reputation: 9491
Members - Reputation: 157
Posted 18 December 2012 - 12:34 AM
mostly people use block to matching each others..
^^ but I need more detail
Beauty is only skin deep , ugly goes to bones
World's only 3D engine tunner and 3D engine guru.
and real genius inventor but very kind warm heart .. and having serious depression for suffering in Korea
www.polygonart.co.kr ( currently out dated and only Korean will change to English and new stuff when I get better condition sorry for that)
Members - Reputation: 566
Posted 19 December 2012 - 01:01 AM
Members - Reputation: 160
Posted 19 December 2012 - 05:55 AM
Edited by darkhaven3, 19 December 2012 - 05:55 AM.
Crossbones+ - Reputation: 2799
Posted 19 December 2012 - 09:50 AM
Crossbones+ - Reputation: 3389
Posted 19 December 2012 - 12:45 PM
If you want to be lazy, and if you're using a language like C or C++, you could use rand() or an equivalent if you really wanted, but that's not a particularly robust way to do it. One possible way I've found is to use pseudo-random number generation and just iterate through a fixed-size array that way, but you may or may not need that kind of implementation depending on your uses. Good part about that kind of thing is that it's blazing fast, and it's virtually random as far as the user cares since you're not revealing the deterministic logic to them directly.
FWIW, rand() is a pseudo-random number generator. When used with the same seed, it will generate the same random numbers over and over. However, in saying that, I still don't think your post makes any sense at all and doesn't cover how to create a random world at all.
---(Old Blog, still has good info): 2dGameMaking
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)
Moderators - Reputation: 27640
Posted 19 December 2012 - 01:18 PM
@coletastic, feel free to start another thread with a more detailed question.
Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.
Also check out my personal website at bryanwagstaff.com, where I write about assorted stuff.