• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need your help with 2048 gamemenu

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys
I hope you can help me with this problem:
I would like to create the game 2048 with JavaFX and I have a problem with the menu. I implemented this menu:



By press the button btn_start the game should start on a new stage with the new size. Is it a good idea to create a absolute new stage or ca I resize the current stage and hide the buttons?

I hope you can help me!

Thanks a lot!

 
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It doesn't really matter if you reuse the same window or create a new one, the behavior is just a personal styling decision for your application.

If it were me, I would favor using an existing window (e.g. menu displays in a window and is replaced by the game content in the same window).

The reason for this is that people are quite used to a browser based model which is very flat and a self-contained with internal navigation and no pop-up windows, so stick with that simplistic design wherever possible and it will likely be more familiar for your users.

Additionally if you port your application to mobile devices, they usually run pretty simplistic OSes and don't have popups and multiple windows, so sticking with one window for the entire application will make it easier to port your app.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic