collision detection problem

Discussion in 'Programming' started by Creedith, Oct 3, 2019.

  1. Creedith

    Creedith Member

    Joined:
    Oct 2, 2019
    Posts:
    2
    I'm having a problem with collision detecting in drag and drop, whenever my spacecraft shoots at an asteroid it creates a white "blob". Also, I'm not sure how to make the different DnD blocks branch off into different area's but I could just not be moving them around correctly, that could be the source of my problem, but I can't be sure. I'm new to GameMaker Studio 2

    If anyone could help me, that would be greatly appreciated!


    I'm following this tutorial series:

    https://drive.google.com/open?id=1lObbPqaGbY46i4mbYg2nMudgyRY0FPtL
    https://drive.google.com/open?id=1gVJq5eFda1Pc3DUVv_QsLF7bhTplVC_V
     
  2. TsukaYuriko

    TsukaYuriko Q&A Spawn Camper Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,643
    Please elaborate on what a "white blob" is.

    The links lead to pages that complain about lacking permissions.
     
  3. Creedith

    Creedith Member

    Joined:
    Oct 2, 2019
    Posts:
    2
    SpaceBlocks Photo.PNG
    Here's a better image

    whenever I shoot the asteroids, a "white blob" (is the best way I can describe it) stacks up whenever I shoot it more and more.
     
  4. Yal

    Yal GMC Memer GMC Elder

    Joined:
    Jun 20, 2016
    Posts:
    3,742
    What is the blob? You added it, right? Or did aliens randomly inject stuff into your project?
    (Hint: if you use the Debug Mode, you can view a list of all objects in the game room; wait until you get a bunch of those blobs and then it should be obvious from the list what they are)


    My guess is that you forgot to destroy the asteroids when shot (or something similar), so the collision between the bullet and the asteroid keeps going forever and it creates more and more blobs.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice