Okay I read the HUMP and i am totally lost
for beginners that's like (I AM DONE) its kind of difficult makes you want to quit but for sure here I can get a better help!
So.. is it possible IF someone could .ZIP me a small and super simple way to do gamestate?
GameState help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
GameState help
Last edited by pielago on Wed Oct 02, 2013 5:36 am, edited 2 times in total.
Re: GameState help
http://vrld.github.io/hump/
seems to have some good examples for hump.
If you wondered about buttons and stuff you would probably want to create a table of buttons like.
then loop through it in menu:mousepressed to see what button is pressed.
seems to have some good examples for hump.
If you wondered about buttons and stuff you would probably want to create a table of buttons like.
Code: Select all
buttons = {
{
n="Play", -- name
x=300,
y=250,
w=200, -- width
h=100, -- height
f=function() Gamestate.switch(game) end,
},
}
If you can't fix it, Kill it with fire. ( Preferably before it lays eggs. )
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 3 guests