Trollsplatterer

Help, tutorials and examples for Game Maker

Endurance 3d
click to visit
A survival game with many weapons and enemies.

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.
Paper Flight
click to visit
3D racing game with custom paper airplanes.

The Invention of Life
click to visit
Game for the GameJolt Invention Contest.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Shooting  download now
by Bebop


This GM8.0 example explains how to make a character fire a bullet towards the nearest enemy. It's a platform-game and the system works with GML-code.

Ratings

General Rating
Your Rating*

Images

Firing forward
Firing forward The system automatically selects the closest enemy and fires towards it.
Shooting the other way
Shooting the other way You can fire both ways, left and right. You fire in the direction you're looking at, never backwards, even if the closest enemy is behind you.

Comments/Suggestions

By Comment
Anonymous
2018-04-05
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.