Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Can anyone help me with JS?

eminem100
Guest
Quote
2017-03-29 16:10:34

I'm working on a game, where the game keep a track of its current level. Can anyone help me with ccbReadFileContent and ccbWriteFileContent JS functions?


monoray
Registered User
Quote
2017-03-30 00:56:05

I'm not sure about those commands, but have you tried the save/load variable to disk behavior? You can use that to save pretty much everything with an "if variable is equal to" script. You should be able to use it no problem to keep track of level.


monoray
Registered User
Quote
2017-03-30 00:59:46

For example I have it set up on the level select screen (after loading all the variables) as ;

every few seconds
if level1 = 1, show select option for level1
if level2 = 1, show select option for level2

etc.

hope this helps.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

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