Professional Documents
Culture Documents
Laporan Pembuatan Game Tower Bloxx
Laporan Pembuatan Game Tower Bloxx
Laporan Pembuatan Game Tower Bloxx
Disusun Oleh :
Alam Prasetyo Aji 170103014
Agung Hadi Utomo 170103006
Muh Naufal W 170103130
Di konsep permainan “Tower Bloxx” menggunakan konsep stack suatu tumpukan dari benda, susunlah
15 kotak kotakmu serapi mungkin, jangan sampai kotak yang akan disusun meleset / jatuh agar
mencapai skor yang baik, tellitilah untuk menjatuhkan untuk memainkan game inikotaknya, perlu
ketelitian .
Untuk memainkan game ini tap tombol space untuk menjatuhkan kotak tersebut agar tersusun yang
rapi.
FLOWCHART
STAR
SCORE
STAR
Tampilan form
Tampilan Game Play
Script
Dim rev As Boolean, Lastone As Boolean, noanim As Boolean
Dim TWrong As Byte, TCorrect As Byte, TBlocks As Byte, TRemain As Byte, Goal As Byte
Case 0
PLand_T.ForeColor = vbBlack
Case 1
PLand_T.ForeColor = vbBlue
Case 2
PLand_T.ForeColor = vbRed
Case 3
PLand_T.ForeColor = vbBlack
cmdU.Visible = True
cmdD.Visible = True
End Select
PLand_T.Visible = True
PLand.Enabled = True
End Sub
Sub DropBlock()
If TRemain - 1 = 0 Then
'stop crane
CCMove.Enabled = False
Block(0).Visible = False
CraneCable.Visible = False
Lastone = True
Call Annoy(3)
End If
CBLOCK = CBLOCK + 1
Block(CBLOCK).ZOrder
Block(CBLOCK).Visible = True
BlockLever.Enabled = True
'set total
TBlocks = CBLOCK
lbTotal.Caption = TBlocks
'show remaining
lbRemain.Caption = TRemain
End Sub
If CBLOCK = 1 Then
BlockLever.Enabled = False
BAlive(CBLOCK) = True
LastLand = 1
TCorrect = TCorrect + 1
lbCorrect.Caption = TCorrect
End If
Else
BlockLever.Enabled = False
BAlive(CBLOCK) = True
Block(CBLOCK).Left = Block(LastLand).Left
'Perfect Land!
Call Annoy(1)
End If
LastLand = CBLOCK
'increment corrects
TCorrect = TCorrect + 1
lbCorrect.Caption = TCorrect
'last block
If TRemain = 1 Then
End If
End If
End If
'if out
TWrong = TWrong + 1
lbWrong.Caption = TWrong
'last block
If TRemain = 1 Then
End If
Call Annoy(2)
End If
End Sub
If rev Then
'go right
Else
'go left
'Me.Caption = rev
End Sub
ScreenAnim.Enabled = True
End Sub
noanim = True
ScreenAnim.Enabled = True
End Sub
Unload Me
End If
End Sub
If KeyCode = vbKeySpace Then Call DropBlock 'drop the block when space key is hit
End Sub
CBLOCK = 0
End Sub
End Sub
SYC = SYC + 1
jump = 225
For i = 1 To CBLOCK
Next i
If SYC = 10 Then
noanim = False
SYC = 0
ScreenAnim.Enabled = False
End If
End Sub