No video

How to add POINTS and TIMER in PowerPoint Quiz Game | PowerPoint Tutorial

  Рет қаралды 36,577

Bhavesh Shaha - PowerPoint Games

Bhavesh Shaha - PowerPoint Games

2 жыл бұрын

Let's make a PowerPoint Quiz Game that calculates points (correct & wrong answers) and has a time-limit countdown timer for each question!
Copy Quiz Game VBA Code: pptvba.com/how...
Download Free Quiz Game Templates: pptvba.com/fre...
00:00 Demonstration
00:24 Quiz Game with Points
03:00 Quiz Game with Timer
Step 1: Adding Timer
Let's add 10 seconds timer for each question! Add a rectangle shape on the slide and add the Exit: Wipe Animation from the right. Change the animation duration to 10 seconds.
Now, go to Transition | Advance Slide, and check After: 00:00:00. The next slide will automatically be shown once the exit animation is complete. However, our next slide is the 'Correct Answer', we would not be needing that as we'll be now calculating the number of correct and wrong answers given by the player in the next step!
Step 2: Scoring Points
Delete all the slides except the first title slide, and one question slide. Create another slide to display your scores. Have 3 shapes: nCorrect, nWrong, nPoints. The text within them would change based on the clicks on the answers.
You can enable your developer tab as it is not shown by default and add the following VBA Code by Developer | Visual Basic | Insert | Module. Then, run these macros on click of the shapes: Select Shape | Insert | Action | Run Macro.
Slide 1: Next Shape → StartGame
Slide 2: Correct Answer → CorrectAnswer
Slide 2: Wrong Answer → WrongAnswer
You will have to remove your custom sound effects if you choose to have a MsgBox to tell your player if their answer was correct or wrong. However, you can use the default Windows Sound Effect through vbInformation and vbCritical in the code.
----------------------------------------------------------------------------------
Music: Outside Visitors · Sarah, The Illstrumentalist
Thumbnail by Vani Agrawal
#PowerPoint #PowerPointTutorial #PPTVBA
I also do freelancing.
🟥 Bhavesh Shaha,
📧 bhavshaha@gmail.com
🌐 www.pptvba.com
🎥 / bhaveshshaha
📷 basicallybhavesh (DMs are open)

Пікірлер: 57
@rerehss
@rerehss 2 жыл бұрын
I like your ideas 👍🏻👍🏻
@PPTVBA
@PPTVBA 2 жыл бұрын
Thank you very much! I really appreciate it!
@rebm7505
@rebm7505 2 ай бұрын
I cannot believe you were able to explain such an amazing project within 5 minutes. Jesus Christ thank yooouu!!
@user-bm8gr6zz1f
@user-bm8gr6zz1f 10 ай бұрын
This videos are really very cool! Learnt something new today! Thanks so much!!
@user-oj3mq2tf7d
@user-oj3mq2tf7d Жыл бұрын
Very helpful video. Thankyou for this!
@apostol7
@apostol7 2 жыл бұрын
Hello, very interesting, I wish you could help me in my project, with the creation of a game. It is a game that carries macros. I'm struggling to get the game to take lives (a heart-shaped shape simulating life disappearing), after removing a certain number of points on a label that is the score counter, on each wrong answer. Let's say it would be a macro that you can add to every wrong answer shape. So when you press the answer and it is wrong, then, the macro removes for example 10 points and also removes or disappears the heart that simulates life, at the end, let's say the 3 lives, a Game Over message appears, and restart the game. Well, maybe you could, do a tutorial where you could explain how to achieve that. Something brief but practical. Or maybe, you could orient me with a macro, similar. Anyway, thank you!!!!
@PPTVBA
@PPTVBA 2 жыл бұрын
Do you have multiple hearts and you need to hide each of them based on the points in the counter? Or do you have only one heart shape?
@apostol7
@apostol7 2 жыл бұрын
​@@PPTVBAI have multiple hearts and I need to hide each of them based on the points on the counter, let's say three hearts, and they are hidden when you answer badly, which are also subtracted let's say 50 points, while by correct answer you receive, let's say 30.
@khristynesponilla448
@khristynesponilla448 3 ай бұрын
Sir do you a timer the is continuous? example the whole quiz is set for 5 minutes
@user-wo3wp8hw4u
@user-wo3wp8hw4u 6 ай бұрын
hi! i shared the powerpoint with a class but it seems like none of the buttons work (even from the “game start” button). how to fix this? thank you!
@user-em8ty4qg8j
@user-em8ty4qg8j 6 ай бұрын
Why the VBA keeps losing whenever I close the ppt? Can I do something to make it automatically there whenever I open the ppt?
@PPTVBA
@PPTVBA 6 ай бұрын
Save it as .PPTM and not .PPTX Make sure your macros are enabled.
@user-qb3ci3dg8h
@user-qb3ci3dg8h Жыл бұрын
Hi! Thanks for your tutorial. I have a question. After the end of quizz and when I reopen the presentation report card doesn't update. I mean the numbers of correct answers, wrong and point are saved. Is it real to fix?
@PPTVBA
@PPTVBA Жыл бұрын
When the "Start Game" button is clicked, it resets all the numbers because it runs the following code: Sub StartGame() nCorrect = 0 nWrong = 0 nPoints = 0 ActivePresentation.SlideShowWindow.View.Next End Sub
@ghadeermath2066
@ghadeermath2066 Жыл бұрын
can i make timer using text box which user put how many time he need ...... to chalange to solve multiplication question for example....
@PPTVBA
@PPTVBA Жыл бұрын
If you want to change the countdown value directly in Slide Show Mode without touching the VBA Code, we can add an ActiveX Element Textbox named TextBox1 in our slide. We can type the number of seconds we would want the countdown to occur within it. This input is going to be the value of the variable count. We can read the input using the following code: count = ActivePresentation.Slides(1).Shapes("TextBox1").OLEFormat.Object.Value More information: kzbin.info/www/bejne/q2PadauhedKkmLc
@Belryan
@Belryan Жыл бұрын
Hi Bhavesh, any idea what would be causing my slides not to advance? The first slide (Start Quiz) slide advances fine, but my questions don't advance after the MsgBox appears
@PPTVBA
@PPTVBA Жыл бұрын
Hi! It might be because of the name of the shape might not be matching the name mentioned in the code. Can you share your file via email? I'd be happy to have a look!
@alexiswhatley3409
@alexiswhatley3409 11 ай бұрын
Hello, i am not able to save the video. it keeps giving me an error about the marco i put in (the following cannot be saved in marco free presentation) what do i do?
@PPTVBA
@PPTVBA 11 ай бұрын
As shown at 3:58, please save the file as a .PPTM file instead of your usual .PPTX file.
@bellarafols246
@bellarafols246 Жыл бұрын
hello i like this vid but i need help bc i cant seem to make the scores appear, it's all zero ty^^
@PPTVBA
@PPTVBA Жыл бұрын
Hi Bella! Can you send me the PowerPoint file you've made to my email? I'll have a look and share the fix. Do note that shape names are case-sensitive in VBA programming.
@bellarafols246
@bellarafols246 Жыл бұрын
@@PPTVBA sure! may i ask for your email?
@PPTVBA
@PPTVBA Жыл бұрын
bhavshaha@gmail.com
@bellarafols246
@bellarafols246 Жыл бұрын
@@PPTVBA ty ^^
@PPTVBA
@PPTVBA Жыл бұрын
I checked the code you had sent: "With ActivePresentation.Slides(ActivePresentation.Slides.Count)" This is referring to the last slide of the Presentation. Your scoreboard is in Slide 18 and not Side 43 (your last slide). So, change it to: "With ActivePresentation.Slides(18)"
@ranajoydas9507
@ranajoydas9507 2 жыл бұрын
Pls help I cant print certificate nor send result to excel nor time limit it shows errors. The same occurs when I copy paste code from your website or follow tutorial I need immediate help Pls
@PPTVBA
@PPTVBA 2 жыл бұрын
This is a common error. The VBA features don't work if your macros are disabled. Make sure that your macros are enabled by going to the developer tab, macro security and enable macros. However, as you say some errors are being shown, please share the specifics of the error. You can also screenrecord the same and share that via email.
@iconixtv7004
@iconixtv7004 Жыл бұрын
I followed all the step but it's not showing me the totally score please help me out with that
@PPTVBA
@PPTVBA Жыл бұрын
Cross-check if the name of the shape is exactly the name mentioned in the code (note: they're case-sensitive), if issues persist, you can send me your file on my email and I can have a look, else, you can also download our free template and reverse-engineer it!
@iconixtv7004
@iconixtv7004 Жыл бұрын
@@PPTVBA ok thank you.. let me check again
@Mochi-hh3sv
@Mochi-hh3sv Жыл бұрын
do you have a code to add time penalty if they put the wrong answer? Say -10 secs for each wrong answers!
@PPTVBA
@PPTVBA Жыл бұрын
This is certainly possible for an earlier version of the PowerPoint Quiz Game that was created: pptvba.com/ppt-quiz-timer/ Here, we had an overall timer. The variable `time` stored the time-limit, and that could be manipulated by `time = DateAdd("s", 10, time)` to add a penalty of 10 seconds (make sure `time` is declared as a global variable too!)
@kangacooley3367
@kangacooley3367 2 ай бұрын
how does the count add up???
@PPTVBA
@PPTVBA 2 ай бұрын
pptvba.com/how-to-make-powerpoint-quiz-game/ Explained in this blog article!
@markusvillame4422
@markusvillame4422 Жыл бұрын
Hello sir, can you help me with how can the score be detected when not being clicked by the students? The score will just leave as it is when used by the previous student.
@PPTVBA
@PPTVBA Жыл бұрын
When the game is played from starting, the scores of the last student are reset!
@markusvillame4422
@markusvillame4422 Жыл бұрын
@@PPTVBA What I mean sir is when they don't click any of the choices from each questions, it never label 0 points.
@PPTVBA
@PPTVBA Жыл бұрын
@@markusvillame4422 ah got it! Use the following code: Sub StartGame() nCorrect = 0 nWrong = 0 nPoints = 0 ActivePresentation.SlideShowWindow.View.Next UpdatePoints End Sub
@markusvillame4422
@markusvillame4422 Жыл бұрын
@@PPTVBA thank you so much sir.
@markusvillame4422
@markusvillame4422 Жыл бұрын
@@PPTVBA Sir the code is not working
@dariuskri3514
@dariuskri3514 6 ай бұрын
The game always crashes around the 10th or 11th slide. How come? Doesn't the code allow for more than 10 questions?
@PPTVBA
@PPTVBA 6 ай бұрын
Can you email me your file? Will have a look! I've played this with 100 questions without an issue.
@dariuskri3514
@dariuskri3514 6 ай бұрын
@@PPTVBA What email can I send it to? In fact, I think there is something blocking the presentation but I don't understand what. I hope you can help me.
@PPTVBA
@PPTVBA 6 ай бұрын
The email is in the video description: bhavshaha@gmail.com Please make sure that your macros are enabled: pptvba.com/faq
@dariuskri3514
@dariuskri3514 6 ай бұрын
@@PPTVBA Thanks, I'll send you everything later. My presentation also includes background music but I don't think that's the problem. There is something that creates conflict.
@dariuskri3514
@dariuskri3514 6 ай бұрын
@@PPTVBA I sent you the file. I hope you can help me.
@Jackjackens
@Jackjackens 6 ай бұрын
The scores are not being counted properly how to fix??
@PPTVBA
@PPTVBA 6 ай бұрын
Send over your file on email, will have a look!
How to insert Countdown Timer in PowerPoint (Across Multiple Slides)
2:52
Bhavesh Shaha - PowerPoint Games
Рет қаралды 148 М.
How to Make a Trivia Game in PowerPoint with SCORING!
8:30
ClassPoint
Рет қаралды 17 М.
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 54 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 22 МЛН
Алексей Щербаков разнес ВДВшников
00:47
Addictive PowerPoint Word Scramble Game with Countdown Timer
6:44
Presentation Process
Рет қаралды 21 М.
How to make PowerPoint Interactive Quiz Game | Points/Percentages/Score | PPT VBA Macro Tutorial
12:34
10.Countdown Timer Animation 5s PowerPoint | Timer Countdown
6:13
PowerUP with POWERPOINT
Рет қаралды 550 М.
Convert Boring Slide to INTERACTIVE QUIZ GAME in PowerPoint
11:21
Presentation Process
Рет қаралды 109 М.
How to make Connect 4 PowerPoint Educational Game Template - Tutorial
10:51
Bhavesh Shaha - PowerPoint Games
Рет қаралды 7 М.
How to create a Countdown Timer in PowerPoint | PowerPoint Tutorials
6:12
PowerPoint With Ahmer
Рет қаралды 112 М.
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 54 МЛН