Author Topic: Weird 2x objects appearing  (Read 1125 times)

BoshyMan741

  • Wannabe
  • Posts: 29
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 48.0.2564.109 Chrome 48.0.2564.109
    • View Profile
  • Playstyle: Keyboard
Weird 2x objects appearing
« 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.

lawatson

  • The Kid
  • Posts: 331
  • I do things and I make things.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 48.0.2564.109 Chrome 48.0.2564.109
    • View Profile
  • Playstyle: Keyboard
Re: Weird 2x objects appearing
« Reply #1 on: February 13, 2016, 08:01:45 PM »
are there 2 instances of the spawner in the room?
(click to show/hide)

smoke weed everyday

BoshyMan741

  • Wannabe
  • Posts: 29
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 48.0.2564.109 Chrome 48.0.2564.109
    • View Profile
  • Playstyle: Keyboard
Re: Weird 2x objects appearing
« Reply #2 on: February 13, 2016, 08:11:15 PM »
heh yeah i could've looked through the code better. Yeah there was.