Modify

Ticket #152 (new enhancement)

Opened 10 years ago

Last modified 9 years ago

Implement animated main menu

Reported by: Q_x Owned by: parpg
Priority: minor Milestone: Release: Techdemo 2
Component: scripts Version: trunk
Keywords: newbie, main menu, pychan Cc:
Blocked By: Blocking:
Department:

Description (last modified by barra_parpg) (diff)

Implement an animated main menu that supports the following states for buttons:

  • plain: button state when none of the states below apply
  • hovered: button state when either the mouse hovers over it or the button is selected via the keyboard (only one button can be selected at a time)
  • pressed: button state when it's pressed
  • disabled: button state when you can't press the button for whatever reason there may be; e.g. the continue button can't be pressed if you fire up PARPG for the first time

Use case

  • The main manu should be show when PARPG is started.
  • Furthermore it should be displayed whenever the user presses <ESC>. Right now a placeholder menu is shown when <ESC> is pressed.

Attachments

README.txt (1.1 KB) - added by Q_x 10 years ago.
mainmenu.zip (5.9 MB) - added by luke 10 years ago.
all needed graphics

Change History

Changed 10 years ago by Q_x

comment:1 Changed 10 years ago by Q_x

One more thing: Nice if a priviliged person change Component value to "graphics", as I'm not allowed to do it. First ticket in my life. Errare humanum est. Detailed description went to README.txt

Thanks, Luke

comment:2 Changed 10 years ago by eliedebrauwer

  • Owner changed from parpg to sirren_parpg
  • Component changed from scripts to graphics

comment:3 Changed 10 years ago by eliedebrauwer

  • Owner changed from sirren_parpg to parpg

comment:4 Changed 10 years ago by Q_x

menu.2.png should replace menu.png. Please note I was unable to do it on m own :) It looks much better now and tis 120 pix taller. Also new button "Continue" (6 n/c/h .png) was added as discussed at forums.

comment:5 Changed 10 years ago by luke

  • Owner changed from parpg to luke

comment:6 Changed 10 years ago by barra_parpg

  • Keywords main menu, pychan added
  • Owner changed from luke to parpg
  • Component changed from graphics to scripts
  • Description modified (diff)
  • Summary changed from Main Menu to Implement animated main menu

comment:7 Changed 10 years ago by barra_parpg

  • Description modified (diff)

Changed 10 years ago by luke

all needed graphics

comment:8 Changed 10 years ago by b0rland_parpg

  • Keywords newbie, added

comment:9 Changed 9 years ago by luke

  • Priority changed from major to minor
  • tt_spent 1d deleted
  • Type changed from task to enhancement
  • tt_remaining 1d deleted
  • tt_estimated 1d deleted

The menu is implemented. There is only a need for making a picture as the background.

comment:10 Changed 9 years ago by barra_parpg

As pointed out by Q_x (aka luke): the main menu has been already partially implemented into PARPG. Two tasks still need to be tackled at this point:

Replace placeholder ingame menu

If you press the ESC key while ingame, the placeholder main menu will be brought up instead of the animated version that you see when PARPG is fired up; the placeholder menu should be replaced with the animated version

Add background graphic to main menu that is shown when PARPG is started

The main menu when PARPG is started is still missing the intended background that is shown in this mockup: http://wiki.parpg.net/images/7/74/Mockup.png

The actual background can be already found in SVN though: source:trunk/game/gui/main_menu/main_menu_background.png / source:trunk/game/gui/main_menu/main_menu_background2.png

We would like to center the background both vertically and horizontally but it needs to be investigated first how well pychan handles this. Right now the background graphic is 1920*1200px in size. We're not sure what happens if you try to display this background graphic while FIFE / PARPG is running at a lower resolution than 1920*1200px.

comment:11 Changed 9 years ago by barra_parpg

  • Milestone changed from Demo 1 to Techdemo 2
View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.