Fangames > Programming Questions

Weird 2x objects appearing

(1/1)

BoshyMan741:
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.

lawatson:
are there 2 instances of the spawner in the room?

BoshyMan741:
heh yeah i could've looked through the code better. Yeah there was.

Navigation

[0] Message Index

Go to full version