-
Book Overview & Buying
-
Table Of Contents
Construct Game Development Beginners Guide
By :
We are now ready to add in a small distortion effect to the explosion of our grenades. This will provide a nice visual for players and teach us the basics of using effects.
1. On the Effects layer, create a Sprite in the same way we created the GrenadeExplosion image, and then name it ExplosionDistort and size it to 32 by 32.
2. In the Effects group of the objects properties, click on Add and select the Distort Normal effect to add it to our object, as shown in the following screenshot. The object will now appear invisible, but magnify any objects it overlaps.

3. Now add another effect called Warp, and have the two set up to match the following screenshot:

4. Set both the GrenadeExplosion and ExplosionDistort objects to be destroyed on startup, and switch over to the Event Sheet Editor.
5. In the Grenades event group Always event, add actions to set the Height of ExplosionDistort by ExplosionDistort.Height + 24, and the Width to ExplosionDistort.Width...
Change the font size
Change margin width
Change background colour