Monopoly type of game in GE?

Don't know how to make something and can't find a tutorial? Ask for one here.

Monopoly type of game in GE?

Postby slyons904 » Thu Nov 17, 2011 1:00 am

I've created a board game that plays like "monopoly". Is this type of game possible to do in game editor and is there a tutorial that covers the execution of this type of game?

Any info would be a great help.

Thanks!

monopoly_scrnShot02.png


The attachment monopoly_scrnShot01.jpg is no longer available
Attachments
monopoly_scrnShot01.jpg
slyons904
 
Posts: 3
Joined: Tue Nov 15, 2011 8:33 pm
Score: 0 Give a positive score

Re: Monopoly type of game in GE?

Postby skydereign » Thu Nov 17, 2011 1:12 am

This type of game is entirely possible, but there aren't any examples out there. Pretty much though, if you get a feel for gameEditor how to make it should come pretty naturally. The general idea would be you have a certain number of play actors, and a global array to hold their stats. You'd also need an array of property information. Then the last important bit is to have a variable that cycles through the turns of the players, so if it is 0, then it's the first player's turn, 1 for second, and so on. For ease, you'll have all the property information stored in the array, and same for the player info.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Monopoly type of game in GE?

Postby slyons904 » Thu Nov 17, 2011 3:53 am

That is really helpful, how would the dice work though?

Thanks!
slyons904
 
Posts: 3
Joined: Tue Nov 15, 2011 8:33 pm
Score: 0 Give a positive score

Re: Monopoly type of game in GE?

Postby skydereign » Thu Nov 17, 2011 3:56 am

You can use the rand function. Essentially have an animation of a dice rolling, but to determine the result (and which animation to play [probably use animation finish]) you can use this.
Code: Select all
int result = ceil(rand(5));

That will get a random number 1-6.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Monopoly type of game in GE?

Postby slyons904 » Thu Nov 17, 2011 4:02 am

much appreciated! i'll get started.
slyons904
 
Posts: 3
Joined: Tue Nov 15, 2011 8:33 pm
Score: 0 Give a positive score


Return to Tutorial Requests

Who is online

Users browsing this forum: No registered users and 1 guest