Gun (Tutorial)

Upload your games here. Download other people's games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
sheamkennedy
Liquid Metal Slime
Posts: 1110
Joined: Mon Sep 16, 2013 9:29 pm
Location: Tama-shi, Tokyo, Japan
Contact:

Gun (Tutorial)

Post by sheamkennedy »

Image

After a great deal of questioning Slime Salad users in the forums I have finally come up with a simple gun game. Hopefully this little game can help show others how they can make a gun game of their own.

I have commented lots within the games code so everyone should be able to understand how the code works as they read through it.

I will be using the coding shown in this game for my own game. I hope everyone is able to see how the ideas in this game can be expanded in to other things like Zelda-esque swords and stuff like that with a bit of tweaking.

Thank you everyone who helped me to finally get this thing working.

Known Bugs:
-If you are shooting your gun as you walk through a door the gun will not work properly in the next room. I have asked about this in the forum, if anyone has a solution please reply here: http://www.slimesalad.com/forum/viewtopic.php?t=6469
-Due to bullet alignment, if your too close to the top walls the bullet will be destroyed upon firing thus you will not see a bullet when firing.
Download

Gun (Version 2).zip (2.58MB; 473 downloads) This new version has: -2 rooms -Embiggened sprites -Walls which stop bullets (Note: due to bullet alignment the walls will destroy the bullet if your hero is aligned over the wall. Sorry I didn't take the time to change this).

Gun.zip (2.49MB; 474 downloads) This is a simple shooting game to help show how to make a gun game of your own.

Reviews

No reviews. Be the first to review Gun (Tutorial)!

Last edited by sheamkennedy on Fri Jan 23, 2015 4:04 am, edited 7 times in total.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Post Reply