Make Video Games 2018 ►
In this video we start our menu system for our game. If you have any questions then be sure to leave a comment or contact me on twitter; realtutsgml. If you learned something then be sure to leave a like, comment, and favorite.
I’m the founder of codingmadesimple.com that hosts high quality, fun to learn and straight to the point course material for game developers. I’d really appreciate it if you’d check out my content.
Twitter ►
Google+ ►
Patreon ►
Have fun learning!
Nguồn: https://ecotown-phumy.com/
Xem thêm bài viết khác: https://ecotown-phumy.com/game/
I'm 'bouta' destroy Persona 5's UI design.
Will this tutorial work with your other tutorials like the wizard one because I am running into a few errors
But you are creating new fonts every tick in the render method, maybe the fonts should be created in the constructor?
what if i want a picture as a button?
When I put the rectangle thingy on the menu, error occurs. It says "Cannot find symbol. What am I missing?
so quick question, should i not worry about the menu first, and then start the coding on my game? I figured, since the menu would be the first thing a player would see, that should be the first thing i create? Also, it SEEMS pretty easy to create a simple menu.
Is the full source code available anywhere?
Why does it need to be graphics 2d? Why can't it just be graphics?
Exception in thread "Display" java.lang.NullPointerException
at net.Name.Main.render(Main.java:99)
at net.Name.Name.Main.run(Main.java:69)
at java.lang.Thread.run(Unknown Source)
Line 99 is menu.render(g); inside the
if(State == STATE.MENU) {
menu.render(g);
}
and Line 69 is render(); inside the run Method.
My contentpane says I need to surround it with a try catch and it becomes a blank screen. Is there any way to fix this?
why I get this error java.lang.CharSequence cannot be resolved.
Why do you add 120 to the width variable?
new Rectangle(Game.WIDTH / 2 + 120, 150, 100, 50);
what does adding 120 do to it?
Why does my text not appear in the centre? I haven't been following this tutorial series but a different one but wanted to implement a menu into my game.
What is the WIDTH variable set to?
Can you by any chance show us or link us a video showing us how to make use of the help button? It would be greatly apreciated! Thnx
Hey man, how would you have a menu and have animated background, not scrolling right to left etc. Just an animated background? Is there any tutorials on it?
how would you add music?
Why are you not using JButtons?
waited so long for the menu system. Nice!
That's cool. I like those videos. they gave me more idea on my game. Thanks a lot.
awesome =) please finish this game, i would be so happy 😀 Im starting to develop my own game, so this videos are very helpful , thanks for them
Haha exactly 40 likes! gr8 job man!
Hey man, Thanks for all your help! I appreciate it. It would be awesome if you would complete the series 🙂
Great tutorials, can't wait for the next installment. Share the knowledge 🙂
Please more tutorials!!