My code compiles, but when I click to fire a bullet (missile in my case) they don't seem to be generated. I have looked at other tutorials, and followed them closely. But I run into the same problem with these tutorials as well. The bullets are not being generated or are invisible.
Attached is my .love file
left mouse click is supposed to generate a new bullet
Any help would be greatly appreciated
Bullets not being generated or invisible
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 2
- Joined: Sat Apr 18, 2015 12:20 pm
Bullets not being generated or invisible
- Attachments
-
- game.love
- (4.42 KiB) Downloaded 95 times
Re: Bullets not being generated or invisible
First of all you've written if button == "1" rather than if button == "l", but there are a lot more problems than that. Here's a new fixed .love with comments so you know what I did.piercegage wrote:My code compiles, but when I click to fire a bullet (missile in my case) they don't seem to be generated. I have looked at other tutorials, and followed them closely. But I run into the same problem with these tutorials as well. The bullets are not being generated or are invisible.
Attached is my .love file
left mouse click is supposed to generate a new bullet
Any help would be greatly appreciated
- Attachments
-
- game.love
- (5.24 KiB) Downloaded 96 times
-
- Prole
- Posts: 2
- Joined: Sat Apr 18, 2015 12:20 pm
Re: Bullets not being generated or invisible
Thanks a bunch for the quick reply, and more so for explaining the changes helps a ton.
Who is online
Users browsing this forum: Google [Bot] and 3 guests