Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Looking for help writing a script?

just_in_case
Moderator
Quote
2016-02-22 07:33:16

Here is the link to Coppercube Tutorials that i have created. and sorry for my bad english, I have also uploaded some prefabs, some tutorials are not yet completed gonna complete them soon.
Hope it will help You guys...
http://m.drookshed.com/tutorials...


somet
Registered User
Quote
2016-02-23 01:19:40

54newstar that would be good especially the load and save system please?


somet
Registered User
Quote
2016-02-23 01:20:30

Please can we stay on topic it was not looking so much for the tutorials but more developing a decent load and save system or an example of how to create one.


somet
Registered User
Quote
2016-02-23 01:21:50

Or could you point me to which tutorials have the load and save system please? There are to many.


somet
Registered User
Quote
2016-03-01 18:28:40

This thread died


just_in_case
Moderator
Quote
2016-03-02 15:02:49

I also want to know that how to load or save game?

May be Niko will add a savestate and loadstate behaviour to CopperCube in future which will capture all the variables and scene.


somet
Registered User
Quote
2016-03-06 18:29:11

Hopefully...?


somet
Registered User
Quote
2016-03-16 17:55:58

Still nothing


just_in_case
Moderator
Quote
2016-03-16 19:10:23

This will probably gonna help you....Just implement it ,with help of coppercube scripting reference...

http://www.thebotanistgame.com/b...


somet
Registered User
Quote
2016-03-18 01:53:42

I can try, I am still a beginner with Javascript though


just_in_case
Moderator
Quote
2016-03-18 18:21:20

Me too.... I don't know programming... i know a little bit of python..


somet
Registered User
Quote
2016-03-19 02:44:53

I just hope someone can help me achieve a decent save and loading system for this engine....?


somet
Registered User
Quote
2016-04-30 14:57:33

Is making a load and save system any easier in the latest version?

I still have no clue how to achieve this.

I could never find anything of relevance on youtube.


tim12345
Guest
Quote
2016-04-30 23:15:33

no, saving and loading can be very complicated. in it's most simple form for example, lets say you want to have save points at each level/scene. well... when you reach level 2, have something trigger the action 'set a variable' action, and in the variable box put "level" then in the value box, put 2. then use the 'save a variable to disk' action, put "level" into the box. now it has saved the variable 'level' to a value of 2. now when you start your game up again, and click a load game button... have that button 'load a variable' from disk, put "level" in that box. now when you click the button it loads the variable, then maybe put a 'do later' action 1 second later that says 'if a variable has a value do something' and in there put "level" and "2" and switch to scene 2. that's it in its most simplest form saying if the variable "level" that you saved equals 2, then switch to scene/level 2. the more details you want to save, i.e. ammo, health...the more variables you'll have to add, and there are more efficient ways to do it with a nice script, but i havn't studied that yet.


somet
Registered User
Quote
2016-05-02 21:15:29

You would not have to save things individually like that, you would define classes/events/groups type of thing... I think?


Create reply:


Posted by: (you are not logged in)


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