New help menu (#3322)
* Add vertical tabs to ribbon widget types * Update GUI engine for vertical tabs * New icons for the help menu The slipstream icon is not great, it's here to have something now. It should be replaced by something better looking and more in STK's visual style. * Updated help GUI The git changelog is a bit misleading here, because the order of the items in the help menu has been revised too. 1)General (same) 2)Game modes (before : 3) 3)Powerups (before : 2) 4)Bananas (before : 5) 5)Story Mode 6)Kart classes 7)Multiplayer * Update help screen code to handle the additional tabs The hugely repetitive structure of one cpp/hpp per tab is kept here. * Optimized version of new icons Except for the slipstreaming one, as it should be replaced by a better one anyway.
This commit is contained in:
parent
e6a0f821a9
commit
1025bfe298
BIN
data/gui/bomb_icon.png
Normal file
BIN
data/gui/bomb_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
@ -1,69 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header align="center" width="80%" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="15" width="10"/>
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<tabs id="category" height="10%" max_height="110" x="2%" width="98%" align="center">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Weapons"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
</tabs>
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<box proportion="1" width="100%" layout="vertical-row">
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="5" height="15"/>
|
||||
<button id="startTutorial" text="Start the tutorial" align="center"/>
|
||||
<spacer width="5" height="15"/>
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/gift.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="6" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Collect blue boxes. They will give you weapons or other powerups."/>
|
||||
<spacer width="25" height="25"/>
|
||||
<icon align="center" width="64" height="64" icon="gui/banana.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="4" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Avoid bananas!"/>
|
||||
</div>
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
|
||||
<div width="100%" proportion="3" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/nitro.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="3" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Collecting nitro allows you to get speed boosts whenever you wish by pressing the appropriate key. You can see your current level of nitro in the bar at the right of the game screen."/>
|
||||
<spacer width="5" height="1%"/>
|
||||
<div width="50%" proportion="2" align="center" layout="horizontal-row">
|
||||
<icon id="tutorialIcon" width="64" height="64" align="center" icon="gui/tutorial.png"/>
|
||||
<button id="startTutorial" align="center" text="Start the tutorial"/>
|
||||
</div>
|
||||
<spacer width="5" height="1%"/>
|
||||
|
||||
<div width="100%" proportion="5" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/gift.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="7" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Collect blue gift boxes, they will give you powerups."/>
|
||||
<spacer width="25" height="25"/>
|
||||
<icon align="center" width="64" height="64" icon="gui/banana.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="3" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Avoid bananas!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/gui_lock.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="2" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="If you see a button with a lock like this one, you need to complete a challenge to unlock it."/>
|
||||
</div>
|
||||
<div width="100%" proportion="6" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/nitro.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="3" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="Collecting nitro allows you to get speed boosts whenever you wish by pressing the appropriate key. You can see your current level of nitro in the gauge at the bottom-right of the race screen."/>
|
||||
</div>
|
||||
|
||||
<bubble align="left" word_wrap="true" width="100%" proportion="1"
|
||||
I18N="in the help menu"
|
||||
text="The 'skidding' key allows you to skid in sharp turns and get a boost."/>
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/gui_lock.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="2" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="If you see a button with a lock like this one, you need to complete a challenge to unlock it."/>
|
||||
</div>
|
||||
|
||||
<spacer height="10" width="10"/>
|
||||
<div width="100%" proportion="6" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/android/drift.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="2" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="The 'skidding' key allows you to skid. Short skids help to take sharp turns. If you skid long enough, you will get a boost. You can't stop turning while skidding, so orient your kart carefully before !"/>
|
||||
</div>
|
||||
|
||||
<label align="center" I18N="in the help screen" text="* Current key bindings can be seen/changed in menu Options"/>
|
||||
<spacer height="10" width="10"/>
|
||||
<spacer height="3%" width="10"/>
|
||||
|
||||
</box>
|
||||
<label align="center" word_wrap="true" I18N="in the help screen" text="* Current key bindings can be seen/changed in menu Options"/>
|
||||
<spacer height="1%" width="10"/>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
</stkgui>
|
||||
|
@ -1,77 +1,95 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header align="center" width="80%" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="15" width="10"/>
|
||||
|
||||
<tabs id="category" height="10%" max_height="110" x="2%" width="98%" align="center">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Weapons"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
</tabs>
|
||||
|
||||
<box proportion="1" width="100%" layout="vertical-row">
|
||||
<label align="center" I18N="In the help menu" text="To help you win, there are some powerups you can collect:"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/bubblegum-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="BubbleGum - protect yourself with a shield, or use while looking back to leave a sticky pink puddle behind you."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/cake-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
text="Cake - thrown at the closest rival, best on short ranges and long straights."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/plunger-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Plunger - throw straight to pull an opponent back, or throw while looking back to make one lose sight."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/bowling-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
text="Bowling Ball - bounces off walls. If you are looking back, it will be thrown backwards."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/parachute-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Parachute - slows down all karts in a better position."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/swap-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Swapper - gift boxes are transformed into bananas and vice versa for a short time."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/rubber_ball-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Basket Ball - bounces after the leader, and might squash and slow down karts down on the way."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/swatter-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Swatter - will squash karts close by, slowing them down."/>
|
||||
</div>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<spacer height="1%" width="10"/>
|
||||
<label align="center" word_wrap="true" text="SuperTuxKart features several game modes:"/>
|
||||
<spacer height="2%" width="10"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_normal.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Regular Race: All blows allowed, so collect powerups and use them smartly!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_tt.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Time Trial: Contains no powerups, so only your driving skills matter!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_ftl.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Follow the leader: Run for second place, as the last kart will be disqualified every time the counter hits zero. Beware: going in front of the leader will get you eliminated too!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_3strikes.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="3 Strikes Battle: Hit others with weapons until they lose all their lives."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_soccer.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Soccer: Use your kart to push the ball into the goal."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_easter.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Egg hunt: Explore tracks to find all hidden eggs."/>
|
||||
</div>
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_ghost.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Ghost replay: Race against ghost replays in time-trial or egg hunt mode, and record your own!"/>
|
||||
</div>
|
||||
|
||||
<bubble proportion="4" width="100%" I18N="In the help menu"
|
||||
text="* Most of these game modes can also be played in a Grand Prix fashion: instead of playing a single race, you play many in a row. The better you rank, the more points you get. In the end, the player with the most points wins the cup."/>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
||||
|
@ -1,78 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header align="center" width="80%" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="15" width="10"/>
|
||||
|
||||
<tabs id="category" height="10%" max_height="110" x="2%" width="98%" align="center">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Weapons"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
</tabs>
|
||||
|
||||
<box proportion="1" width="100%" layout="vertical-row">
|
||||
<label align="center" text="SuperTuxKart features several game modes"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_normal.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Regular Race: All blows allowed, so catch weapons and make clever use of them!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_tt.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Time Trial: Contains no powerups, so only your driving skills matter! This mode allows you to record the race for replaying."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_ftl.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Follow the leader: Run for second place, as the last kart will be disqualified every time the counter hits zero. Beware: going in front of the leader will get you eliminated too!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_3strikes.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="3 Strikes Battle: Hit others with weapons until they lose all their lives."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_soccer.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Soccer: Use your kart to push the ball into the goal."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mode_easter.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Egg hunt: Explore tracks to find all hidden eggs."/>
|
||||
</div>
|
||||
|
||||
<bubble proportion="3" width="100%" I18N="In the help menu"
|
||||
text="* Most of these game modes can also be played in a Grand Prix fashion: instead of playing a single race, you play many in a row. The better you rank, the more points you get. In the end, the player with the most points wins the cup."/>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<spacer height="1%" width="10"/>
|
||||
<label align="center" word_wrap="true" I18N="In the help menu" text="To help you win, there are some powerups you can collect:"/>
|
||||
<spacer height="2%" width="10"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/bubblegum-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="BubbleGum - protect yourself with a shield, or use while looking back to leave a sticky pink puddle behind you."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/zipper_collect.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Zipper - will give you a strong speed boost. But beware of not losing control of your kart !"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/cake-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
text="Cake - thrown at the closest rival, best on short ranges and long straights. It also affects other karts close to the explosion."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/plunger-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Plunger - throw straight to pull an opponent back, or throw while looking back to make one lose sight."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/bowling-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
text="Bowling Ball - goes straight until it strikes, it can bounce off walls. If you are looking back, it will be thrown backwards."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/parachute-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Parachute - slows down all karts in a better position."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/swap-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Swapper - gift boxes are transformed into bananas, nitro cans into bubblegums, and vice versa for a short time."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/rubber_ball-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Basket Ball - bounces after the leader, and might squash and slow down karts down on the way."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/swatter-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" text="Swatter - will squash karts close by, slowing them down. Can also be used to remove parachutes and bombs."/>
|
||||
</div>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
||||
|
@ -1,44 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header align="center" width="80%" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="15" width="10"/>
|
||||
|
||||
<tabs id="category" height="10%" max_height="110" x="2%" width="98%" align="center">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Weapons"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
</tabs>
|
||||
|
||||
<box proportion="1" width="100%" layout="vertical-row">
|
||||
<label align="center" text="SuperTuxKart can be played in multiplayer mode on the same computer"/>
|
||||
<label align="center" text="(network play is not yet available)"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/options_input.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="First, you will need several input devices (having multiple gamepads or joysticks is the best way to play with several people). Go in the input configuration screen and setup the gamepads. It is also possible to play on keyboard(s), however each player will need a different set of keys, and keep in mind that most keyboards are not appropriate for multiplayer gameplay because they do not support large number of keypresses."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/random_kart.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="When input devices are configured, you are ready to play. Select the 'multiplayer race' icon in the main menu. When it is time to choose a kart, each player can press on the 'fire' key of their gamepad or keyboard to join the game. Each player can use their input device to select their kart. The game continues when everyone selected their kart. Note that the mouse may not be used for this operation."/>
|
||||
</div>
|
||||
<spacer width="50" height="25" />
|
||||
</box>
|
||||
</div>
|
||||
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<spacer height="1%" width="10"/>
|
||||
<label align="center" word_wrap="true" text="Hitting a banana can result in one of the following being attached to the kart:"/>
|
||||
<spacer height="2%" width="10"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/anchor-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Anchor - slows down the kart suddenly."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/parachute-icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Parachute - slows down the kart, more progressively than the anchor. The faster you go, the stronger it slows you down."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/bomb_icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Bomb - detonates after some amount of time, throwing the kart up in the air. Bump into another kart to transfer the bomb to it."/>
|
||||
</div>
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
||||
|
@ -1,49 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header align="center" width="80%" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="15" width="10"/>
|
||||
|
||||
<tabs id="category" height="10%" max_height="110" x="2%" width="98%" align="center">
|
||||
<icon-button id="page1" width="100" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="100" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Weapons"/>
|
||||
<icon-button id="page3" width="100" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page4" width="100" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
<icon-button id="page5" width="100" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
</tabs>
|
||||
|
||||
<box proportion="1" width="100%" layout="vertical-row">
|
||||
<label align="center" text="Hitting a banana can result in one of the following being attached to the kart:"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/anchor-icon.png"/>
|
||||
<spacer width="64" height="64"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Anchor - slows down the kart."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="models/parachute-icon.png"/>
|
||||
<spacer width="64" height="64"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Parachute - slows down the kart less than the anchor."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="128" height="128" icon="models/bomb-attach-icon.png"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Bomb - detonates after a short amount of time to throw the kart up in the air. Bump into another kart to transfer the bomb to another player."/>
|
||||
</div>
|
||||
</box>
|
||||
</div>
|
||||
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<spacer height="1%" width="10"/>
|
||||
<label align="center" word_wrap="true" text="The evil Nolok has captured Gnu! Here are a few tips to help you:"/>
|
||||
<spacer height="2%" width="10"/>
|
||||
|
||||
<div width="100%" proportion="5" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/challenge.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="This icon on the minimap shows the available challenges you've not completed. In the top-right of the screen, it also tells you how many points you currently have. Complete as many challenges as possible, and Nolok will accept to race against you. Win to liberate Gnu!"/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/cup_gold.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="When you complete a challenge, you get a cup. Each cup is worth several points. The higher the difficulty you completed the challenge in, the better the cup and the more points it is worth."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="3" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mystery_unlock.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="When you get the number of points indicated below this icon, you'll be gifted a surprise. There are several to collect."/>
|
||||
</div>
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
||||
|
77
data/gui/help6.stkgui
Normal file
77
data/gui/help6.stkgui
Normal file
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<spacer height="1%" width="10"/>
|
||||
<label align="center" word_wrap="true" text="Not all karts drive the same! They belong to classes with several differences:"/>
|
||||
<spacer height="2%" width="10"/>
|
||||
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/mass.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Mass - there are three classes of karts, depending of their mass: light, medium and heavy. Heavier karts are less affected by parachutes and are more resistant to explosions."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/power.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Acceleration - especially useful at start, after an accident, or in tracks with a lot of sharp curves. The lighter the kart, the faster it accelerates, especially at low speeds."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/speed.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Max speed - the higher it is, the faster the kart can go. Especially useful in tracks with straight lines and gentle curves. Heavier karts have a higher top speed."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="3" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/nitro.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Nitro consumption - the lower it is, the more speed you can get from a can of nitro. The lighter the kart, the lower its nitro consumption."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="4" layout="horizontal-row">
|
||||
<icon align="center" width="128" height="128" icon="gui/slipstream_icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%" word_wrap="true"
|
||||
I18N="In the help menu"
|
||||
text="If you follow closely another kart for a few seconds, you'll get a slipstream speed bonus when you overtake it. The lighter your kart, the easier it is."/>
|
||||
</div>
|
||||
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
69
data/gui/help7.stkgui
Normal file
69
data/gui/help7.stkgui
Normal file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
||||
<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
|
||||
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
||||
<spacer height="1%" width="100%"/>
|
||||
|
||||
<div width="100%" height="92%" layout="horizontal-row" >
|
||||
|
||||
<vertical-tabs id="category" height="100%" width="18%">
|
||||
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
||||
I18N="Tab in help menu" text="General"/>
|
||||
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
||||
I18N="Tab in help menu" text="Game Modes"/>
|
||||
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
||||
I18N="Tab in help menu" text="Powerups"/>
|
||||
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
||||
I18N="Tab in help menu" text="Bananas"/>
|
||||
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
||||
I18N="Tab in help menu" text="Story Mode"/>
|
||||
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
||||
I18N="Tab in help menu" text="Kart classes"/>
|
||||
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
||||
I18N="Tab in help menu" text="Multi-player"/>
|
||||
</vertical-tabs>
|
||||
|
||||
<spacer width="2%" height="100%"/>
|
||||
|
||||
<box width="80%" height="100%" layout="vertical-row">
|
||||
<label align="center" text="SuperTuxKart can be played in multiplayer mode online...:"/>
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/networking_icon.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="First, select the 'online' icon in the main menu. Choose either local networking, or global networking (requires internet to be enabled in the options). Then, you can either create your own server with custom options, or search among a list of existing servers to join. Some of them are official servers with ranked races."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/crown.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="Once in a server, a race will begin once its owner (symbolized with the crown) decide so. Official servers auto-start races when there is enough players. Then, you can choose your kart and vote for the next track to race on. An addon kart or track is allowed only if all players connected to the server have it."/>
|
||||
</div>
|
||||
|
||||
<label align="center" text="... or on the same computer:"/>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/options_input.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="First, you will need several input devices. Use the input configuration screen to set them up. Multiple gamepads or joysticks are ideal: on keyboard(s), each player will need a different set of keys, and most keyboards are not appropriate for multiplayer because they don't support multiple simultaneous keypresses."/>
|
||||
</div>
|
||||
|
||||
<div width="100%" proportion="2" layout="horizontal-row">
|
||||
<icon align="center" width="64" height="64" icon="gui/random_kart.png"/>
|
||||
<spacer width="25" height="25"/>
|
||||
<bubble proportion="1" height="100%"
|
||||
I18N="In the help menu"
|
||||
text="When input devices are configured, select the 'multiplayer race' icon in the main menu. Each player can press the 'fire' key of their gamepad or keyboard to join the game, and use their input device to select their kart. The game continues when everyone selected their kart. Note that the mouse may not be used for this operation."/>
|
||||
</div>
|
||||
<spacer width="50" height="25" />
|
||||
</box>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
BIN
data/gui/networking_icon.png
Normal file
BIN
data/gui/networking_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
BIN
data/gui/slipstream_icon.png
Normal file
BIN
data/gui/slipstream_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
data/gui/story_mode_book.png
Normal file
BIN
data/gui/story_mode_book.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
@ -32,10 +32,15 @@
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
|
||||
// FIXME : it's hugely repetitive to have one class per help screen when
|
||||
// THEY ALL DO THE SAME THING
|
||||
// (the specialized test of this first screen is a tiny exception)
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
HelpScreen1::HelpScreen1() : Screen("help1.stkgui")
|
||||
@ -102,6 +107,10 @@ void HelpScreen1::eventCallback(Widget* widget, const std::string& name, const i
|
||||
screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
@ -122,7 +131,11 @@ void HelpScreen1::init()
|
||||
tutorial->setActive(StateManager::get()->getGameState() !=
|
||||
GUIEngine::INGAME_MENU);
|
||||
|
||||
if (w != NULL) w->select( "page1", PLAYER_ID_GAME_MASTER );
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page1", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} //init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
@ -58,6 +60,10 @@ void HelpScreen2::eventCallback(Widget* widget, const std::string& name, const i
|
||||
screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
@ -74,7 +80,11 @@ void HelpScreen2::init()
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL) w->select( "page2", PLAYER_ID_GAME_MASTER );
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page2", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include "states_screens/help_screen_2.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
@ -60,6 +62,10 @@ void HelpScreen3::eventCallback(Widget* widget, const std::string& name, const i
|
||||
screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
@ -76,7 +82,11 @@ void HelpScreen3::init()
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL) w->select( "page3", PLAYER_ID_GAME_MASTER );
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page3", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include "states_screens/help_screen_2.hpp"
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
@ -60,6 +62,10 @@ void HelpScreen4::eventCallback(Widget* widget, const std::string& name, const i
|
||||
// screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
@ -76,7 +82,11 @@ void HelpScreen4::init()
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL) w->select( "page4", PLAYER_ID_GAME_MASTER );
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page4", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "states_screens/help_screen_2.hpp"
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
@ -59,6 +61,10 @@ void HelpScreen5::eventCallback(Widget* widget, const std::string& name, const i
|
||||
screen = HelpScreen4::getInstance();
|
||||
//else if (selection == "page5")
|
||||
// screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
@ -75,7 +81,11 @@ void HelpScreen5::init()
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL) w->select( "page5", PLAYER_ID_GAME_MASTER );
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page5", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
91
src/states_screens/help_screen_6.cpp
Normal file
91
src/states_screens/help_screen_6.cpp
Normal file
@ -0,0 +1,91 @@
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Copyright (C) 2016 C. Michael Murphey
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 3
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
|
||||
#include "guiengine/widget.hpp"
|
||||
#include "guiengine/widgets/ribbon_widget.hpp"
|
||||
#include "states_screens/help_screen_1.hpp"
|
||||
#include "states_screens/help_screen_2.hpp"
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
HelpScreen6::HelpScreen6() : Screen("help6.stkgui")
|
||||
{
|
||||
} // HelpScreen6
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen6::loadedFromFile()
|
||||
{
|
||||
} // loadedFromFile
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen6::eventCallback(Widget* widget, const std::string& name, const int playerID)
|
||||
{
|
||||
if (name == "category")
|
||||
{
|
||||
|
||||
std::string selection = ((RibbonWidget*)widget)->getSelectionIDString(PLAYER_ID_GAME_MASTER);
|
||||
|
||||
Screen *screen = NULL;
|
||||
if (selection == "page1")
|
||||
screen = HelpScreen1::getInstance();
|
||||
else if (selection == "page2")
|
||||
screen = HelpScreen2::getInstance();
|
||||
else if (selection == "page3")
|
||||
screen = HelpScreen3::getInstance();
|
||||
else if (selection == "page4")
|
||||
screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
//else if (selection == "page6")
|
||||
// screen = HelpScreen6::getInstance();
|
||||
else if (selection == "page7")
|
||||
screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
else if (name == "back")
|
||||
{
|
||||
StateManager::get()->escapePressed();
|
||||
}
|
||||
} // eventCallback
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen6::init()
|
||||
{
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page6", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
49
src/states_screens/help_screen_6.hpp
Normal file
49
src/states_screens/help_screen_6.hpp
Normal file
@ -0,0 +1,49 @@
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Copyright (C) 2016 C. Michael Murphey
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 3
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#ifndef HEADER_HELP_SCREEN_6_HPP
|
||||
#define HEADER_HELP_SCREEN_6_HPP
|
||||
|
||||
#include "guiengine/screen.hpp"
|
||||
|
||||
namespace GUIEngine { class Widget; }
|
||||
|
||||
/**
|
||||
* \brief Help screen, part 6
|
||||
* \ingroup states_screens
|
||||
*/
|
||||
class HelpScreen6 : public GUIEngine::Screen, public GUIEngine::ScreenSingleton<HelpScreen6>
|
||||
{
|
||||
friend class GUIEngine::ScreenSingleton<HelpScreen6>;
|
||||
|
||||
HelpScreen6();
|
||||
|
||||
public:
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void loadedFromFile() OVERRIDE;
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void eventCallback(GUIEngine::Widget* widget, const std::string& name,
|
||||
const int playerID) OVERRIDE;
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void init() OVERRIDE;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
91
src/states_screens/help_screen_7.cpp
Normal file
91
src/states_screens/help_screen_7.cpp
Normal file
@ -0,0 +1,91 @@
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Copyright (C) 2016 C. Michael Murphey
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 3
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "states_screens/help_screen_7.hpp"
|
||||
|
||||
#include "guiengine/widget.hpp"
|
||||
#include "guiengine/widgets/ribbon_widget.hpp"
|
||||
#include "states_screens/help_screen_1.hpp"
|
||||
#include "states_screens/help_screen_2.hpp"
|
||||
#include "states_screens/help_screen_3.hpp"
|
||||
#include "states_screens/help_screen_4.hpp"
|
||||
#include "states_screens/help_screen_5.hpp"
|
||||
#include "states_screens/help_screen_6.hpp"
|
||||
#include "states_screens/state_manager.hpp"
|
||||
|
||||
using namespace GUIEngine;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
HelpScreen7::HelpScreen7() : Screen("help7.stkgui")
|
||||
{
|
||||
} // HelpScreen7
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen7::loadedFromFile()
|
||||
{
|
||||
} // loadedFromFile
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen7::eventCallback(Widget* widget, const std::string& name, const int playerID)
|
||||
{
|
||||
if (name == "category")
|
||||
{
|
||||
|
||||
std::string selection = ((RibbonWidget*)widget)->getSelectionIDString(PLAYER_ID_GAME_MASTER);
|
||||
|
||||
Screen *screen = NULL;
|
||||
if (selection == "page1")
|
||||
screen = HelpScreen1::getInstance();
|
||||
else if (selection == "page2")
|
||||
screen = HelpScreen2::getInstance();
|
||||
else if (selection == "page3")
|
||||
screen = HelpScreen3::getInstance();
|
||||
else if (selection == "page4")
|
||||
screen = HelpScreen4::getInstance();
|
||||
else if (selection == "page5")
|
||||
screen = HelpScreen5::getInstance();
|
||||
else if (selection == "page6")
|
||||
screen = HelpScreen6::getInstance();
|
||||
//else if (selection == "page7")
|
||||
// screen = HelpScreen7::getInstance();
|
||||
if(screen)
|
||||
StateManager::get()->replaceTopMostScreen(screen);
|
||||
}
|
||||
else if (name == "back")
|
||||
{
|
||||
StateManager::get()->escapePressed();
|
||||
}
|
||||
} // eventCallback
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void HelpScreen7::init()
|
||||
{
|
||||
Screen::init();
|
||||
RibbonWidget* w = this->getWidget<RibbonWidget>("category");
|
||||
|
||||
if (w != NULL)
|
||||
{
|
||||
w->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
w->select( "page7", PLAYER_ID_GAME_MASTER );
|
||||
}
|
||||
} // init
|
||||
|
||||
// -----------------------------------------------------------------------------
|
49
src/states_screens/help_screen_7.hpp
Normal file
49
src/states_screens/help_screen_7.hpp
Normal file
@ -0,0 +1,49 @@
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Copyright (C) 2016 C. Michael Murphey
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 3
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#ifndef HEADER_HELP_SCREEN_7_HPP
|
||||
#define HEADER_HELP_SCREEN_7_HPP
|
||||
|
||||
#include "guiengine/screen.hpp"
|
||||
|
||||
namespace GUIEngine { class Widget; }
|
||||
|
||||
/**
|
||||
* \brief Help screen, part 7
|
||||
* \ingroup states_screens
|
||||
*/
|
||||
class HelpScreen7 : public GUIEngine::Screen, public GUIEngine::ScreenSingleton<HelpScreen7>
|
||||
{
|
||||
friend class GUIEngine::ScreenSingleton<HelpScreen7>;
|
||||
|
||||
HelpScreen7();
|
||||
|
||||
public:
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void loadedFromFile() OVERRIDE;
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void eventCallback(GUIEngine::Widget* widget, const std::string& name,
|
||||
const int playerID) OVERRIDE;
|
||||
|
||||
/** \brief implement callback from parent class GUIEngine::Screen */
|
||||
virtual void init() OVERRIDE;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user