≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Load and store a variable explanation?
Posted by:
(you are not logged in)
Enter the missing letter in: "Internat?onal"
(you are not logged in)
Text:
[quote][b][/b] wrote: I just want a clear explanation on what I have to do: I didn't want to say what I wanted to do (it was a secret) but this is my idea: At the end of each level you will be taken to an item shop where you can purchase what I call "player skins". This allows you to choose a different character. My idea is you collect a specific coin for a specific character. For instance, here is what I have (as an idea; the names and such are different so I don't give away what this project is based on / about) level1-to-level2 - This is set to 0 when the level starts. This signifies that you are going from level 1 to level 2, and it's set to 1 when the level ends. Once taken to the item shop, it will load this variable and do a check: Does this equal 1? if so, unhide the item shop 2D overlay for the next level. so, if you beat level 1, an item store overlay shows up for items which can be used for level 2. Say if i have a character named Green and I want to play as him for the next level. When the first level starts, the variable "green-coin-level2" is set to false and this will be set to true when you pick up a specially colored coin. Upon the level's completion, the item shop will load the variable and do a check: does this equal true? if so, unhide the "BUY" button. When the player clicks the buy button, it will save the variable (is this correct?) and fade the screen and then load the next level. It will also save another variable called "green-level2" and set that to true When the next level loads, it will do a check: Does "green-level2" equal true? If so, delete the normal player and then make "green" visible and set the camera to one which follows this character. otherwise it defaults to the normal player.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact