Re: Secert Project "Unnammed Title"
Posted: July 30th, 2010, 3:52 pm
...........................................
No bad language. Kids must have parental permission!
http://forum.sandboxgamemaker.com/
Please do no post unless you have something to say.InHumanUnit wrote:...........................................
Code: Select all
apples = 0
"level_trigger_#" = [ echo "You picked up an apple!"]
newgui main [
guibutton "Inventory" "showgui inventory"
]
newgui inventory [
guitext (format "You have %1 apples." $apples)
guibutton "Back" "showgui main"
]
Code: Select all
apples = 0
"level_trigger_#" = [ echo "You picked up an apple!"; apples = (+ $apples 1)]
newgui main [
guibutton "Inventory" "showgui inventory"
]
newgui inventory [
guitext (format "You have %1 apples." $apples)
guibutton "Back" "showgui main"
]Code: Select all
chests = 0
"level_trigger_#" = [ echo "You found a Chest!"; chests = (+ $chests 1)]
newgui main [
guibutton "Inventory" "showgui inventory"
]
newgui inventory [
guitext (format "You have %1 chests." $chests)
guibutton "Back" "showgui main"
]Code: Select all
read name.cfgCode: Select all
exec "name.cfg"I didn't know what the code was, I was only guessing :pLeo_V117 wrote:Would be useful If you used the correct code... Especially when its in the GUI Menus Tutorial...Code: Select all
exec "name.cfg"
Leo_V117 wrote:Would be useful If you used the correct code... Especially when its in the GUI Menus Tutorial...Code: Select all
exec "name.cfg"