Author Topic: Menus from SCRATCH  (Read 1540 times)

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Menus from SCRATCH
« on: August 04, 2019, 03:19:41 AM »
Making things from scratch can be better. It's even better to have something pre-made which you can edit. This is basically a repeat of this topic. https://theplatformbuilder.com/forums/index.php?topic=1053.0

But, it's a little different. I created this image as an example.
 

It's basically working the same way as the suggestion mentioned above. The reason for this suggestion being "repeated" is because, I want to add a few things. First, more commands. A command to bring up command prompt. In the image above, it's running a command to freeze the game. Not in steps, but as in true and false. It does a grey overlay. Command. And it spawns sprites. The buttons are sprites. And the sprites do things when hovered over with the mouse. And run commands. The reason for this repeat, is that I want to be able to create a fully customizable pause menu, from scratch. We already have a command to return to the title screen. But, another command I would like to suggest is actually a conditional.

If Testing.

This can be useful if we need to do specials. Like test items. Only, it's run by commands. When the pause menu is brought up, we can run this conditional which brings up the command prompt sprite which when clicked on, brings up the command prompt. The command prompt command could be written like this:
Command Prompt
Of course, we'll need a command that brings up the options.
Of course, we'll need an exit test command which can only be used when testing.

If spawning sprites that follow the view that can be spawned using x and y coordinates, and sprites doing commands when being hovered over, and clicked on, and a command to freeze the game (not the view stuff) NOT using game steps, then custom pause menus are possible. But there are 2 more vital things that need to be added. To disable the pre-made pause menu, and also a way to check when the enter key is pressed to create all of this stuff. I want to see this in 7.0. Something from scratch. Not pre-made.




War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Menus from SCRATCH
« Reply #1 on: August 04, 2019, 11:02:49 AM »
Its really important to add this in 7.0 it will be still easier than code them on the upe.
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Menus from SCRATCH
« Reply #2 on: August 05, 2019, 03:58:55 PM »
True. I WANT THIS SO BAD!

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: Menus from SCRATCH
« Reply #3 on: August 05, 2019, 08:40:53 PM »
This pause menu is beautiful
I could stay looking at him all the day
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Menus from SCRATCH
« Reply #4 on: August 05, 2019, 08:49:14 PM »
Spent about an hour messing with colors.