© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.