HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

PowerPoint Tutorial (VBA): How to make a Shooting Game

54,031 views November 14, 2014 12:56

Watch on YouTube
ChannelGammogamez

Description from the creator

In this tutorial I show you how to make a shooting game in powerpoint, using animation and some simple VBA coding. If you have any questions, just ask me down in the comment section :D

Code:
Slide2:

Sub Green()
Label1.Caption = (Label1.Caption) + 1
End Sub

Sub Yellow()
Label1.Caption = (Label1.Caption) + 2
End Sub

Sub Red()
Label1.Caption = (Label1.Caption) - 1
End Sub

Slide3:

Sub Score()
Slide3.Label2.Caption = Slide2.Label1.Caption
End Sub

Sub Reset()
Slide2.Label1.Caption = 0
Slide3.Label2.Caption = ""
ActivePresentation.SlideShowWindow.View.Exit
End Sub


-------------------------------------------------
Thanks for watching! If you have any questions or wish to request a game or tutorial for me to play/do then just comment below, or message me on twitter!
-------------------------------------------------
Twitter: twitter.com/Gammogames
-------------------------------------------------

About this tutorial

Gammogamez published this 12:56 video tutorial on November 14, 2014. It has been watched 54,031 times on YouTube.

Channel
Gammogamez
Duration
12:56
Published
November 14, 2014
Views
54,031
Likes
370

Share

This tutorial in other languages