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.

Mini-Game Series for Sandbox

Talk about anything related to Platinum Arts Sandbox here!
Locked
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Mini-Game Series for Sandbox

Post by Runescapedj »

ok, but I start friday, because I have 13 tests this week
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: Mini-Game Series for Sandbox

Post by arcones »

Ahh, well gl!
Image
Want a user bar like this one? PM Leo!
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Mini-Game Series for Sandbox

Post by Runescapedj »

thx, done 5 of them now, maths was easy, but german... I totally (...)ed it up
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: Mini-Game Series for Sandbox

Post by arcones »

Sprechen Sie Deutsch? :D
Image
Want a user bar like this one? PM Leo!
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Mini-Game Series for Sandbox

Post by Runescapedj »

no, I don't =P
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: Mini-Game Series for Sandbox

Post by arcones »

Darn, neither do I :P
Image
Want a user bar like this one? PM Leo!
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: Mini-Game Series for Sandbox

Post by siimvuss »

So finally I´m back again :D, hope theres no unexpected trips anymore :D and if there are then 1 or 2 days trips so its not problem :P

EDIT
@Arcones
I looked at your new codes and there are some things that fail.
1) the list of mini-games maps wont show, instead when you click on mini-games from the mini-games menu it shows regular menu with mini-games UI. I fixed the problem by simply typing minigames instead of mini-games at this place (4th line last word, behind "showgui ):

Code: Select all

newgui mini-games [
    guitext "This is the Mini-Games menu!"
    guibar
    guibutton "Mini-Games"	"showgui mini-games"
    guibutton "About Mini-Games"	"showgui about"
    guibutton "Back"	[showgui main] action
] "Mini-Games"
2)the UI for mini-games only loads If you press back while in mini-games menu (it loaded when pressing mini-games button too before I corrected the map loading). But it disappears when exiting menu and entering menu again.
3)Theres an extra "]" mark somewhere :P, couldn´t find it tho :D

Now to things that we need to figure out.
1) As I wanted and you tried to do the UI now loads with selecting mini-games mode (needs a few fixes I talked about before). That leads to a problem. While you´re in the map the menu won´t count the coins you picked up etc. Also if we want to use variables like "coin" etc then we need to declare them. But if we declare a variable then we need to give it a value. which for example means typing

Code: Select all

coin = 0
to the beginning of the map. But that means we can´t count total amount of coins but only the amount of coins collected in the current map. Now I have 2 solutions in mind, none of them might work.
First would be the use of pointers. We tell that the amount of coins at the beginning of the map is equal to the amount of coins total. That would require local and global variables, local would be the variable for current map and global for whole game. I don´t know if its possible with cubescript and sandbox.
Second and in my mind better would be like this: One variable counts the coins you have so far, excluding the coins collected on the current map. The other variable counts the coins you have on the current map. And when you finish the map your coins will be added to the total amount of coins you had. This would also require global and local variables, but if we want to have the menus connected to mini-games not certain map then global and local variables are necessary anyway.
2) The achievement showing needs to be fixed, and I think that this is better done with the second option, because then we could also have global and local achievements, for example achievement for collecting 20 coins in a level and achievement for collecting 200 coins total.

There are more but In my mind they all need the existence of global and local variables, there are local variables, they are the ones used in maps. Now we need to figure out if there are and how to access global variables.

Looking forward to know if you can found a place or person where or from whom we could learn sth about global variables of cubescript and sandbox.
Siimvuss :P
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: Mini-Game Series for Sandbox

Post by arcones »

That was a masterful post there Siim :)

Part of the stuff you mentioned I've already found and fixed! YAY :P

Now, I had the same problem trying to think of a way to hurdle the coin collecting process. I don't think the first way that you mentioned would be the best. I agree with the second.

But what do you mean by global? Multiplayer stuff?

I'll get going on the stuff you want fixed that I haven't yet :D

@Everyone else: Please pitch in and give us ideas for maps, awards, etc. Or better yet, build maps yourselves :P

Arcones
Image
Want a user bar like this one? PM Leo!
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: Mini-Game Series for Sandbox

Post by siimvuss »

Do you have any experience in programming Arcones? If you do then which language? If you don´t its fine.
I´ll try to explain a bit:
Every program is divided into procedures. There´s the main program, which controls everything and launches procedures. And there are procedures. Amount of procedures depends on the complication level of program. For example displaying HUD is a procedure, loading a map is a procedure etc. (its actually a bit more complicated, but this explanation will be enough :P) Now a local variable is a variable used in a certain procedure. For example in Sandbox a local variable is a variable used in a certain map. Like a variable to count the amount of coins you´ve picked up in this map. A local variable will ONLY be accessable in the procedure it was declared. Now a global variable is a variable used in the main program. And a global variable can be accessed everywhere: In the main program, and all procedures.
That´s why I suggested the usage of pointers. If you don´t know but a pointer is a variable which is told, that it has the same value as the variable it points to.
for example: lets say A is the amount of coins we have collected in total. And lets say B is the amount of coins we use trough the map. So we don´t give B a value, but we tell that B points to A. That would solve the problem with coins, but still the second solution is better.
Anyways, I hope you understand what a global variable is now :P
Siimvuss

EDIT
Just wanted to say that I got the SVN to download :P
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: Mini-Game Series for Sandbox

Post by arcones »

Yes I have some in CS :D I've learned it on my own for the most part. Tried HTML, but that didn't work out... couldn't create anything fun with it :P

Okay now I understand. I had thought that's what you meant but I wanted to clarify :)

I'm thinking it might be a good idea to look thru the configs for Sandbox and see if we can find out what the different global var. are. The menu's must have some sort because they have to register all the maps you build....... there's got to be something. I also pmed Hirato and asked for his help :)
Image
Want a user bar like this one? PM Leo!
Locked