Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Beter scripting soruce?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
kentl
Member
Member
Posts: 9
Joined: October 17th, 2010, 2:18 am
Name: shawn

Beter scripting soruce?

Post by kentl »

I need help but I'm not sure if this is the right place for this

It may just be me but the wiki seems to just "dabble" on it and really only explain it to those who know something about scripting already

so with that two thing
1. Is there a better more in depth thing some where?
2. did anyone else besides me have problems getting this language down?

since this is for kids I would think we would have a more "simple" way of describing things and go in to more details


then again maybe it is me I learn by seeing not reading
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Beter scripting soruce?

Post by chocolatepie33 »

Well, there's not much on Cubescript anywhere I think, if you want to make a tut I'll help, but you'll have to say what's first (and easiest), and then on... OK? However, I only know about 2.5 scripting...
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
kentl
Member
Member
Posts: 9
Joined: October 17th, 2010, 2:18 am
Name: shawn

Re: Beter scripting soruce?

Post by kentl »

chocolatepie33 wrote:Well, there's not much on Cubescript anywhere I think, if you want to make a tut I'll help, but you'll have to say what's first (and easiest), and then on... OK? However, I only know about 2.5 scripting...
I'm no where good enough to teach everything there is but the basics I could give it a shot.
I'd say some of us can try to "clean it up" and try to make it more kid\people who don't know what they are doing friendly :mrgreen:

as for whats basic a order thats close enough
where to write scripts, believe me when i say many people don't know its F6
how to put the scripts to things (whats the point of the scripts if you don't know how to use them?)
Level triggers (See above)
Trigger types (i think thats what they are called) for an example you need to put 12 to pick up the item
Brackets (its explained but using big words that young people may not get
show something like

Code: Select all

 Level_trigger_1 =  [ action goes here
and here  and here
] in till the action is done then you put a ] to end the action "

then a script that works

Code: Select all

Level_trigger_1 = [ Coin = (+ $coins 1)
Echo "you picked up one coin"
] 

that explains what the brackets do
the level_trigger = an action, a bracket is the the start of an action [, and the end of an action ]
Ex
the level trigger causes an action the action is the "Coin" will = + a pre set amount in this case 1
so it = one coin
then the echo will tell you that it added it EX "you picked up one coin"


I may have scripted that wrong I just put what ever
if nothing eels take the scripts form the maps like the village as an example (they did it with the princess one already)

form what i seen anything you had on 2.5 will work on 2.6 so your information is as good as mine if not better (more then likely better)
I've been using scripts you guys wrote on the forums and besides the fact that I make mistakes they all work.



the forums are a great source but the forums are not like the wiki the threads get "buried" in the older pages


one thing we could do is add the scripts people write to the wiki (like many say in the threads but we don't seem to do)
I'm not sure if we "have to" ask them if they would let us but it would be nice
and maybe give credit

anyways for instance in the cubescipt part of the wiki it has the "ideas" but no real script that you can test
http://sandboxgamemaker.com/wiki/index. ... Cubescript

we should put the apple quest, mainly because its a quest that involves the two basic things,
talks, and picking up items.

just some thoughts, I'm a pretty smart teen, if I have a hard time understanding it there is a good chances others will to.
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Beter scripting soruce?

Post by chocolatepie33 »

well, I guess I could start working on the ultimate simple Cubescripting guide soon... You should join the wiki.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
kentl
Member
Member
Posts: 9
Joined: October 17th, 2010, 2:18 am
Name: shawn

Re: Beter scripting soruce?

Post by kentl »

chocolatepie33 wrote:well, I guess I could start working on the ultimate simple Cubescripting guide soon... You should join the wiki.
Thats just a AWESOME name for a guide ;)

I just might join the wiki.
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Beter scripting soruce?

Post by chocolatepie33 »

I've already started it; it's under text tutorials -> scripting, last one.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
kentl
Member
Member
Posts: 9
Joined: October 17th, 2010, 2:18 am
Name: shawn

Re: Beter scripting soruce?

Post by kentl »

chocolatepie33 wrote:I've already started it; it's under text tutorials -> scripting, last one.
It looks great but by far the best part

"Created by Chocolatepie33 (aka CP) with assistance from Kentl"

:ugeek:


anyways that is what I was wanted to see :D




unlike the other ones it seems to be more kid\new guy friendly which is what i think we should aim for
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Beter scripting soruce?

Post by chocolatepie33 »

sorry, it's actually under NPCs, there is no scripting part, it's gonna be multiple parts though, it's gonna be big... :shock:
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Beter scripting soruce?

Post by arcones »

Here are some good sites for learning:
Link to multiple tutorials
List of scripting commands
GUI Menu Commands

Leo and I worked on the last site, Venima the second. I found multiple tutorials and they are in the first link.
They all are very simple and instructive, have fun!

Arcones
Image
Want a user bar like this one? PM Leo!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Beter scripting soruce?

Post by chocolatepie33 »

alright, thanks Arc, I'll try to integrate these into the tutorial.

EDIT: Does ANYONE know if/how values can be carried from map to map? This knowledge would be VERY useful for the tutorial. If you know, please answer here, or here: viewtopic.php?f=15&t=1871
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked