usbtypec's Recent Forum Activity

  • So I may making a bullet-dodging game and I have enemies that are supposed to shoot bullets that after about a second split into more bullets, but there is an issue.

    So my code summed up is that when the enemy spawns the bullet instance, it then sets the bullets angle and a instance variable called splitTimer. When splitTimer reaches 0, the bullet slows down and then spawns smaller normal bullets in 6 directions (0, 60, 120, etc).

    The issue is that when the bullets split, all of them go the same direction, and that direction is always the same as the splitting Bullet, and I have no idea why. My guess is that when I am using Bullet > Set Angle > X degrees, it's changing all bullets and not one, so how can I fix this?

    Thanks

  • Okay, I found the issue. It works just fine, but it just slowly goes back to normal position if my finger is outside the joystick outline.

  • Hmm. Maybe it is just the mobile touch? I've only been testing the game on my phone. I looked back at the video and have no idea what I missed.

    Guess I'll keep looking.

  • If you need a link to the vid here it is:

    youtu.be/Szsaa00TkhE

  • Here it is. I followed a video I found on YT and it just does that, unless I missed something.

    (Also sorry for mobile screenshot I don't have access to a computer rn)

  • So I'm asking a very small game that uses touch to interact with a joystick. The problem is that when dragging the joystick, if the touch hasn't moved in a bit, the joystick slowly returns back to normal position, and I don't know why.

    MY guess is that it considers the touch a "hold" and that does something with the drag and drop, but I have no idea.

    Does anyone know why?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • After messing around for a bit, I think you only need to have one instance in the entire project to spawn a clone of it. I tested what happened when I deleted the asteroids, and then they didn't spawn. It doesn't have to be on the same layout, there just needs to be one in the project (I think).

    Hopefully this helped.

  • One thing I have been wondering (sorry if this is a dumb question) is that on the Construct website, below the game categories, there is a GameJam button, but when I click it, nothing happens. Why is this? Is it just because there aren't any active jams?

  • thank you!

  • I am making a game that can be best summed up as ripoff Peggle, and I need help making aim dots for the ball before shooting. I have no idea how to make this, especially since it would have to take into account the arc of the ball from gravity.

    How would I make this?

  • This should leave the buttons with 0 or 1 for variable2.

    It worked! Thank you.

  • can you elaborate on this part

    Yeah. On the event sheet that the layout uses, I have an event that has the array check "If SkinButton.id = 1" If it is true, then reset the color, if not, make it black. The array itself is 35 x 1 x 1, meaning I just use Check X. Since each SkinButton instance has a different value for the ID variable, it checks the slot that matches with that ID. (So Skin #3 would check slot 3)

    Did this explain it well enough?

usbtypec's avatar

usbtypec

Member since 25 Sep, 2022

Twitter
usbtypec has 2 followers

Trophy Case

  • 2-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies