O'Reilly logo

GameMaker Cookbook by Brandon Gardiner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Light 'em up! – Enhancing Your Game with Lighting Techniques

In this recipe, we'll cover the following topics:

  • Creating a room with a light switch
  • Lighting objects with a spot light
  • Changing day to night
  • Creating a flashlight
  • Making a flickering torch

Introduction

Game design trends, much like trends in fashion and music, are quite cyclical. There is currently a trend in game art, especially in indie circles, to give games a pixilated, retro feel but with modern game mechanics and effects. Many developers are trying to capture the look and feel of classic 8-bit and 16-bit games while simultaneously keeping the games modern using certain special effects. One of these effects is to give games lighting systems that can produce, in a way, realistic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required