Randomness

For questions about using Classic.

Post » Sun Aug 30, 2009 2:57 am

Is there any way to have a random number between say 10 and 20? (for dammage calcs, and stuf)
Is there a way to randomly generate a topdown shooter level? (and a way to get ai to work with it)
Is there a way to reandomly generate a dungeon?
And most important of all of my questions so far (because i want to try and do it first) is there a way to randomly generate a side view mountain/plain that is destructable?

Off subject, how do you work .Ini handling for saves and such?
B
2
G
3
Posts: 23
Reputation: 896

Post » Sun Aug 30, 2009 3:36 am

1st question Yes Random(10)+10 will return a random value between 10 and 20.
2nd and 3rd Yes but you have to program it if you are looking for dungeon algorithms and such look up rouge.

what are you trying to save in the .ini file? (levels, game state etc...)
B
5
S
2
G
4
Posts: 632
Reputation: 2,829


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests