Love randomly deciding not to draw things
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 3
- Joined: Sun May 18, 2014 8:41 am
Love randomly deciding not to draw things
So I'm working on an asteroids game and my bullets are sometimes being drawn and sometimes not. It's different every time I start up the game. Very rarely all five bullets will be drawn. I really have no idea what's wrong so I've attached what I have so far. There's no collision yet and no bullet movement yet since I can't get them all to draw most of the time. Any help would be greatly appreciated.
- Attachments
-
- VectorAsteroids.love
- (4.54 KiB) Downloaded 157 times
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Love randomly deciding not to draw things
I added some prints, and it turns out your "pews" are just way offscreen if they're not drawing.
-
- Prole
- Posts: 3
- Joined: Sun May 18, 2014 8:41 am
Re: Love randomly deciding not to draw things
Thanks a lot! Now I just have to find out why they're spawning offscreen... EDIT: Found it!
Who is online
Users browsing this forum: Nikki and 5 guests