Help, tutorials and examples for Game Maker

Infinite Stick War of Death V3
click to visit
The third remake of the epic, endless war God has started.

Guliseo Spirit
click to visit
Battle your way through 15 action-packed worlds!
The Invention of Life
click to visit
Game for the GameJolt Invention Contest.

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Area Of Effect  download now

This example shows how to create a blast radius (or Area Of Effect) to hit multiple objects in the proximity of an explosion. The example assumes that the origin of your sprite is located at the centre, so that the distance between the blast and the items can be measured as the distance between the two objects.


General Rating
Your Rating*


Firing a ball
Firing a ball This example uses circles to show the effect. The blue ball is fired into the other balls and explodes when it hits one.
Preparing to fire
Preparing to fire Before the ball is fired at the collection of yellow pillars, several of them have already been hit by previous attacks.
Explosion When the blue ball hits a yellow ball, it explodes. Upon the explosion, all pillars in the vicinity are hit.
Multi-hit After the explosion you can see the devastating effect. All nearby pillars have been hit. Those closest to the explosion have been hit hardest.


By Comment
JSgOyQfJzV WhHmzTQluU PpBAvolaov SduraCbpkr aTQizaOaNz SHXWgwRzZE EZwEYOngYN RNQkcJlBrt JkcNVvfzpB siVLidkihZ

* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.