-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame15.monkey
75 lines (60 loc) · 1.35 KB
/
game15.monkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#Rem
header:
[quote]
[b]File Name :[/b] Game15Screen
[b]Author :[/b] firstname "alias" lastname
[b]About :[/b]
what it is..
[/quote]
#end
Import main
#Rem
summary:Title Screen Class.
Used to manage and deal with all Tital Page stuff.
#End
Class Game15Screen Extends Screen
Method New()
name = "Game 15 Screen"
Local gameid:Int = 15
GameList[gameid - 1] = New miniGame
GameList[gameid - 1].id = gameid - 1
GameList[gameid - 1].name = "????"
GameList[gameid - 1].iconname = "game" + gameid + "_icon"
GameList[gameid - 1].thumbnail = "game" + gameid + "_thumb"
GameList[gameid - 1].author = "????"
GameList[gameid - 1].authorurl = "????"
GameList[gameid - 1].info = "????"
End
#Rem
summary:Start Screen
Start the Title Screen.
#End
Method Start:Void()
diddyGame.screenFade.Start(50, False)
End
#Rem
summary:Render Title Screen
Renders all the Screen Elements.
#End
Method Render:Void()
Cls
TitleFont.DrawText(self.name, 320, 240, 2)
End
#Rem
sumary:Update Title Screen
Will update all screen objects, handles mouse, keys
and all use input.
#End
Method Update:Void()
'
if KeyHit(KEY_ESCAPE)
FadeToScreen(TitleScr)
EndIf
End method
End
#Rem
footer:
[quote]
[a Http://www.monkeycoder.co.nz]Monkey Coder[/a]
[/quote]
#end