Platform Builder Forums

Main => Suggestions => Topic started by: McPopato on September 11, 2018, 03:31:41 PM

Title: Custom Variables?
Post by: McPopato on September 11, 2018, 03:31:41 PM
There's the stars, the money, the points... But what if there would be a way to do better?

I don't know how hard this would be to implement, but a suggestion is a suggestion anyway!

Custom variables would be numbers the game would remember, and could be called and modified with commands. What would these be good for?

Imagine you have a minigame of collecting chickens, as an example. You could create a variable named "Chickens", and have the game keep track of the amount of chickens you've got.

To take it even further, you could make the game ask "if" the player has collected 10 or more chickens, in which case something would happen.

This would make for a lot of new possibilities, mostly in the forms of collectibles, but the possibilities would literally be infinite!
Title: Re: Custom Variables?
Post by: Antikore on September 11, 2018, 03:36:25 PM
Also, I want to suggest something about this. Instead of an if command, condition manager for an easy way for players.

Condition manager will have 2 sides. Commands and conditions, conditions have a brand new code line to detect stuff, between them, variable detecting.
Title: Re: Custom Variables?
Post by: CGM on September 11, 2018, 03:39:22 PM
Both excellent ideas! I don't think it would make PB commands very hard for beginners... Sounds great!
Title: Re: Custom Variables?
Post by: McPopato on September 11, 2018, 03:41:53 PM
I'd like to think a manager would be good for people learning the stuff, but the command prompt would allow for more flexibility using the commands provided by PB
Title: Re: Custom Variables?
Post by: Antikore on September 11, 2018, 03:46:07 PM
Yes, but Ting Thing wants PB simple and useful, not very complicated and useful xD.
Title: Re: Custom Variables?
Post by: McPopato on September 11, 2018, 03:51:36 PM
With the current way commands work, it wouldn't become too complicated, it would just a layer of depth to commands and allow conditions to be set through them, which in itself would probably be confusing at first, but not too hard to figure out
Title: Re: Custom Variables?
Post by: Antikore on September 11, 2018, 03:54:22 PM
Ok, probably you have the reason!