I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: BoshyMan741 on February 13, 2016, 01:42:04 PM

Title: Weird 2x objects appearing
Post by: BoshyMan741 on February 13, 2016, 01:42:04 PM
So I'm making an avoidance for a fangame (not sure if I'm allowed to say) but there's a weird glitch I understand why is happening.

I set code to make 1 random bullet appear from the center of the screen...
https://prnt.sc/a2th8s

But in-game it makes 2 appear
https://prnt.sc/a2thnw

It also does this with any other bullets that appear on screen. It just makes 2 of them.

I tried messing around with room speed to see if that had anything to do with it but that didn't help and I've been using the step event to do avoidance instead of timelines for a while and this never happened before.
Title: Re: Weird 2x objects appearing
Post by: lawatson on February 13, 2016, 08:01:45 PM
are there 2 instances of the spawner in the room?
Title: Re: Weird 2x objects appearing
Post by: BoshyMan741 on February 13, 2016, 08:11:15 PM
heh yeah i could've looked through the code better. Yeah there was.