Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Just a Resource comparison question.
I am making a Menu.
What is faster, making each button move to a new Layout. Or changing the Layout on Button Pressed ?
Edit: I would think Making new Layouts if Faster and Better because then i don't have to import so many Sprites for every Button
H???? <img src="smileys/smiley5.gif" border="0" align="middle" />
I make a Menu.
If you press a Button, it will move you to another Menu Screen.
Better with Layout per Menu Screen and (move to layout) or by changing the layout by for example Make visible / invisible or Move stuff arround
I think it's easier and even "faster" to just change Layouts - that's what they are for
Better for you than changing layout would be to make one big layout with seperate windows menu and then just scroll around the layout...but it's still a crazy idea :D
but for menus there are a lot of options. For example make sprite with different frames setups - frame 1 - help, frame 2 - exit...
You could even make objects visible/invisible depends on their actual state. But changing layout it's not a good idea.
Ok :p
Changing Layout = Bad and Good... xD
There's no problem in recreating the GUI objects on each layout.
Oh yeah i know :p
That's the point, with different layouts i might be able to reuse more Sprites.
But i was not sure if changing the layout or something else is best for the performance.
It's up to you, neither is faster/slower, but you might find it more convenient to use different layouts.
Develop games in your browser. Powerful, performant & highly capable.
Hm.. and why should i belive you?
lol JK<img src="smileys/smiley17.gif" border="0" align="middle" />
Allright Solved i think :)
I decided to use both btw. Since i have a inventory <- Visible / invisible
And i have Menu <- Layouts