Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Save game using variables?

doomtucan
Registered User
Quote
2019-08-27 17:55:11

is it possible to save game using nothing but variables and player position and any buildings they have built?


doomtucan
Registered User
Quote
2019-08-27 23:05:58

i created a var called playpos for player position and set it to 1 and when press save it saves the var but when i test it out by publishing my game it does not save the player pos


count2rfeit
Registered User
Quote
2019-08-27 23:10:53

not many people log on to the forum these days.... but I find help sometimes searching the forum

https://www.ambiera.com/forum.ph...

just type in a word or phase you are needing help with...


doomtucan
Registered User
Quote
2019-08-27 23:51:24

wrote:
not many people log on to the forum these days.... but I find help sometimes searching the forum

https://www.ambiera.com/forum.ph...

just type in a word or phase you are needing help with...


Did that and did not find anything helpful to aid in my situation! But thanks for showing me that will come in handy i can bet on that haha


Robo
Guest
Quote
2019-08-28 02:29:11

wrote:
wrote:
not many people log on to the forum these days.... but I find help sometimes searching the forum

https://www.ambiera.com/forum.ph...

just type in a word or phase you are needing help with...


Did that and did not find anything helpful to aid in my situation! But thanks for showing me that will come in handy i can bet on that haha


Try this: https://www.ambiera.com/forum.php?t=7234


just_in_case
Moderator
Quote
2019-08-29 18:07:23

As you have asked me to provide sample file or tutorial on how to save and load game using variables... here are 2 example demo which was lying in my coppercube projects folder... from years ago...

one is really good and another one is simply the example demo file which saves the position of the player ...

one uses the scripted javascript method and another one uses variables to save and load number of enemies, health or time of death and all...

hope these two will help you out still if you don't understand how to use them....then don't hesitate to ask me here... i wanted to make a video tutorial on this one ... but i don't get much time ...


here is the link to download the files:-

https://drive.google.com/file/d/...





doomtucan
Registered User
Quote
2019-08-29 22:21:51

wrote:
As you have asked me to provide sample file or tutorial on how to save and load game using variables... here are 2 example demo which was lying in my coppercube projects folder... from years ago...

one is really good and another one is simply the example demo file which saves the position of the player ...

one uses the scripted javascript method and another one uses variables to save and load number of enemies, health or time of death and all...

hope these two will help you out still if you don't understand how to use them....then don't hesitate to ask me here... i wanted to make a video tutorial on this one ... but i don't get much time ...


here is the link to download the files:-

https://drive.google.com/file/d/18xjzzDjIWcT3tEr8tXtned7kEj6SELxu/view?usp=sharing




Hey thanks man this will help out very much so! Again thanks!


celik12256
Registered User
Quote
2019-08-31 21:34:46

very nice.
So how does it load the last scene?


edkeyte
Registered User
Quote
2022-02-20 03:51:18

Hi, I'm trying to add in a save/load game feature into my game using this great way but wondering how to save cloned scene nodes that have been cloned and not only the original scene node itself?

When I try this it just saves the original scene node and not the clones.

Is there a way to do this?

Thanks.


wrote:
As you have asked me to provide sample file or tutorial on how to save and load game using variables... here are 2 example demo which was lying in my coppercube projects folder... from years ago...

one is really good and another one is simply the example demo file which saves the position of the player ...

one uses the scripted javascript method and another one uses variables to save and load number of enemies, health or time of death and all...

hope these two will help you out still if you don't understand how to use them....then don't hesitate to ask me here... i wanted to make a video tutorial on this one ... but i don't get much time ...


here is the link to download the files:-

https://drive.google.com/file/d/...





DouweDabbe
Guest
Quote
2022-02-20 14:58:20

a - think critical about your search keys
b - you can also use google to search the forum like this:

google: "variable" site:https://www.ambiera.com/forum


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (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