© Ben Tyers 2018
Ben TyersPractical GameMaker Projectshttps://doi.org/10.1007/978-1-4842-3745-8_4

4. Rock, Paper, Scissors

Ben Tyers1 
(1)
Worthing, West Sussex, UK
 

This chapter is a remake of the classic game of Rock, Paper, Scissors. This chapter will reinforce what you learned in the first three chapters and will introduce new concepts and coding.

This game has a very basic AI system that randomly allows the computer to choose either rock, paper, or scissors. The aim of this game is to outwit the computer by making a play that defeats it.

This game uses just three sprites:
  • spr_rock

  • spr_paper

  • spr_scissors

Load them in now and set the origin of each to middle center.

This game uses four sounds:
  • snd_arr

  • snd_ouch

  • snd_prefect

  • snd_yeah

You can go ahead ...

Get Practical GameMaker Projects: Build Games with GameMaker Studio 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.