22import { t } from '@lingui/macro' ;
33import { type MessageDescriptor } from '../Utils/i18n/MessageDescriptor.flow' ;
44import { type AlertMessageIdentifier } from '../MainFrame/Preferences/PreferencesContext' ;
5+ import { getHelpLink } from '../Utils/HelpLink' ;
56
67export type Hint = { |
78 kind : 'warning' | 'info' ,
@@ -12,9 +13,10 @@ export type TutorialHint = {|
1213 kind : 'tutorial' | 'video-tutorial' ,
1314 name : string ,
1415 message : MessageDescriptor ,
15- iconSrc : string ,
16+ iconSrc : ? string ,
1617 link : string ,
1718 identifier : string ,
19+ featuredForGettingStarted ?: boolean ,
1820| } ;
1921
2022export const getDeprecatedBehaviorsInformation = ( ) : {
@@ -132,6 +134,75 @@ export const getExtraInstructionInformation = (type: string): ?Hint => {
132134} ;
133135
134136const tutorialHints = {
137+ 'geometry-monster' : {
138+ kind : 'tutorial' ,
139+ iconSrc : 'res/tutorial_icons/geometry-monster.png' ,
140+ name : 'Geometry Monster Tutorial' ,
141+ message : t `Make a hyper-casual mobile game where the player must grab shapes and avoid bombs.` ,
142+ link : getHelpLink ( '/tutorials/geometry-monster' ) ,
143+ identifier : 'geometry-monster' ,
144+ featuredForGettingStarted : true ,
145+ } ,
146+ platformer : {
147+ kind : 'tutorial' ,
148+ iconSrc : 'res/tutorial_icons/platformer.png' ,
149+ name : 'Platformer Tutorial' ,
150+ message : t `Make a platform game from scratch.` ,
151+ link : getHelpLink ( '/tutorials/platformer/start' ) ,
152+ identifier : 'platformer' ,
153+ featuredForGettingStarted : true ,
154+ } ,
155+ 'space-shooter' : {
156+ kind : 'tutorial' ,
157+ iconSrc : 'res/tutorial_icons/space-shooter.png' ,
158+ name : 'Space Shooter Tutorial' ,
159+ message : t `Make a space shooter game from scratch.` ,
160+ link : getHelpLink ( '/tutorials/space-shooter' ) ,
161+ identifier : 'space-shooter' ,
162+ featuredForGettingStarted : true ,
163+ } ,
164+ 'simple-game-physics-particles' : {
165+ kind : 'video-tutorial' ,
166+ iconSrc : 'res/tutorial_icons/simple-game-physics-particles.jpg' ,
167+ name : 'How to Create a Simple Game with Physics and Particles' ,
168+ message : t `Create a game from scratch using physics and particles.` ,
169+ link : 'https://www.youtube.com/watch?v=w8B84Dpgkjc' ,
170+ identifier : 'simple-game-physics-particles' ,
171+ featuredForGettingStarted : true ,
172+ } ,
173+ 'tank-shooter' : {
174+ kind : 'tutorial' ,
175+ iconSrc : null ,
176+ name : 'Tank Shooter Tutorial' ,
177+ message : t `Make a simple tank shooter game from scratch.` ,
178+ link : getHelpLink ( '/tutorials/tank-shooter' ) ,
179+ identifier : 'tank-shooter' ,
180+ } ,
181+ 'endless-runner' : {
182+ kind : 'tutorial' ,
183+ iconSrc : null ,
184+ name : 'Endless Runner Tutorial' ,
185+ message : t `Make a simple game where the player must jump on platforms for as long as possible.` ,
186+ link : getHelpLink ( '/tutorials/endless-runner' ) ,
187+ identifier : 'endless-runner' ,
188+ } ,
189+ 'endless-car-game' : {
190+ kind : 'tutorial' ,
191+ iconSrc : null ,
192+ name : 'Endless Car Game Tutorial' ,
193+ message : t `Create a simple game where you must dodge the cars on the road.` ,
194+ link : getHelpLink ( '/tutorials/roadrider' ) ,
195+ identifier : 'endless-car-game' ,
196+ } ,
197+ 'breakout-tutorial' : {
198+ kind : 'tutorial' ,
199+ iconSrc : null ,
200+ name : 'Breakout Tutorial' ,
201+ message : t `Create a simple breakout game where you must destroy all the bricks on the screen.` ,
202+ link : getHelpLink ( '/tutorials/breakout' ) ,
203+ identifier : 'breakout-tutorial' ,
204+ } ,
205+
135206 'screen-shake-timer-variables' : {
136207 kind : 'video-tutorial' ,
137208 iconSrc : 'res/tutorial_icons/screen-shake-timer-variables.jpg' ,
0 commit comments