Unity 3D : Can someone help me wit a few things?

foozball3000

Executive Member
Joined
Oct 28, 2008
Messages
5,929
Reaction score
1,738
Location
Kyalami
We're making a simple car game, our first Unity game. You'll start with 5 cars, then you'll be able to purchase additional cars from the main menu.

I'm assuming that this is what AssetBundles are used for. But how does the process work? Where do I upload the bundles to? How does it get purchased, and how does it get back into the app again?

Any help will be much appreciated. :)
 
Last edited:
The Unity asset store isn't really for unlockables; it's targeted more for assets you use to make games with.

The easiest way for you is to make one build which includes all the cars, then the players can buy unlock codes via your game/Steam/website or wherever which will unlock the extra cars.

For example: You'll have them make an account on your website (which can be created from in-game). When they click purchase in-game you open a browser, log them in and direct them to the correct place with the selected car added to their basket (/allow them to add more cars, provide discount packs for multiple cars etc).
Direct the payment to a proper CC provider, get the result and store it. Redirect back to your game which picks up if the authorisation went through or not. If it did then allow them to use the new cars.

You can also use semaphore's solution/links, it's a bit more involved but is also slightly more pirate-proof. When the player buys the new car (as above from your website) then you stream/download it as a resource from the website into his game and then dynamically load it at runtime. This solution is obviously also better since when the player goes to his in-game car list/store then the game browses the current selection, allowing you to add extra content after launch (without having to update the game).
 
Thanks guys, I really appreciate it. This is more than enough to get me started in the right direction. :)
 
Top
Sign up to the MyBroadband newsletter
X