- Title: Ultimate Weapon Arsenal V3.5
- Description: Shows how multiple bullets are fired in different directions at once, plus enemy AI that uses it, and comes with other weapons that can be used in a platform shooter.
- GM Version: GM7
- Registered: No
- File Type: .gmk
- File Size: 33 KB
- File Link: http://www.mediafire...e0sv4evtnxjvac1
Ever wanted to make a gun that actually shoots multiple bullets at a time in different directions, just like a shotgun or a machine gun? Have you also ever wanted to see enemy AI use it? It's all here. Now, make guns that work just about like a shotgun/machine gun that shoot bullets all in different directions.
No credit is required, but is very appreciated. But please do not claim this example as your own.
Best of all, this can work with the Lite edition.
V1: First release
V1.2: Simplified some sloppy coding. Added features:
-made it so that the ai and the player draw their own health
-shotgun bullets disappear after going a certain distance(so it won't be a long-ranged weapon)
-the ai faces the player after it has been shot(who wouldn't turn around if they've been hit?)
-AI is completely different. Instead of patrolling around 'goomba style', it will follow and shoot the player if it sees it and jump over any obstacles in the way.
-bullets spread in more various ways, rather than in an absolute direction.
-shotgun code is now a script, so it is easier to implement the shotgun code.
-you can set the number of shotgun bullets to fire!(don't abuse it, or your game may lag.)
-made AI patrol until it sees the player
-added a machine gun
-renamed the example
-let the user aim the mouse to throw the grenade with right-click
-made the grenade's speed depending on how long the user holds right-click
-added detonate packs
-AI now runs away from grenades
Any comments or critique are appreciated. Please comment after you have downloaded and tried this example.
Edited by daman123125, 19 January 2012 - 09:12 PM.