Skip to Main Content
Practical GameMaker Projects: Build Games with GameMaker Studio 2
book

Practical GameMaker Projects: Build Games with GameMaker Studio 2

by Ben Tyers
July 2018
Beginner to intermediate content levelBeginner to intermediate
258 pages
4h 38m
English
Apress
Content preview from Practical GameMaker Projects: Build Games with GameMaker Studio 2
© 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with GameMaker Studio 2: Make Your Own Games with GameMaker Language

Game Development with GameMaker Studio 2: Make Your Own Games with GameMaker Language

Sebastiano M. Cossu

Publisher Resources

ISBN: 9781484237458Purchase LinkPublisher Website