collision circle

  1. Z

    GML "Mount" collision circles to objects?

    Hi, I am creating traffic AI, and would like to make it so I can have "sensors" on the front corners of the car for it to be able to turn around other objects. Right now, when the car turns, the collision circle does not turn with the car...
  2. J

    [solved] Collision Code Not Working

    Collision code not working how I want it to.. Maybe I'm doing it all wrong? What I'm trying to do: 1) when player enters an outer range, increase boost by +2 2) when player enters an inner range, increase boost by +2 (now total of +4) 3) when moving from inner range to outer range, back to +2...
  3. Deadly Serious Media

    GML Help needed: Custom Collision and Walking of Ledges [SOLVED]

    Hey everyone, We are still new to GameMaker and have only released one game featuring simple rectangular collisions for player and platforms. We are working on a new game though that needs some different collision shapes. I'm sure a solution to this has to be somewhere but, after spending most...
  4. 6

    Line connected dots

    Hello! I'm trying to reproduce something i saw on a cool website (check it out anotalk.hu to understand(it's the background)) So I made a few dots (like 200) and gave them random direction and speed. Now to connect them i used a collision circle but collision circle is dumb and picks 1 instance...
  5. W

    Legacy GM Collision shape comparison[solved]

    Is there any way to compare when one collision circle is in contact with another? I think it's the fix I need for my attacking setup if it's possible but I wouldn't know how to express it since last time I tried assigning collision shapes to a variable and checking if that var was true it didn't...
  6. R

    GML [SOLVED] Help Detecting solids

    Im doing a sideview platformer, trying to get the character to walk up a slope, but the issue im having with the place_free command, if im testing for collisions on the right side of the play, place_free(x+1,y) checks the entire players right side, from top to bottom, so i decided to use the...
  7. W

    [solved]Collision Circle not registering right

    Okay so this is the nice sphere I get when I use thsses values to make one around my attacking player 100x100 sprite dimensions. if not(attacking){ exit; } else //when you collide with the enemy if(image_xscale == 1) and(attacking == true) and( collision_circle(x+sprite_width/2, y, 100...
  8. J

    How to change between 2 pixel animations? [Solved]

    Hello everyone! I'm just starting out making my own little practice project, new to the forums. I'm having trouble with an animation. I've made a simple 16X16 chicken, with 8 frames. The first image is the chicken laying down, will be the idle. Using a collision_circle, if the player comes...
  9. R

    Circle Collisions(v1.4.1757) SOLVED

    What's up you all:) i've been watching lots of tuts about all types of collision, but all of them tell me to lower the objects speed to 0 if it collides. But on the type of game i'm making, that's not useful. It's kinda like a top down race and all objects are circles(players and obstacles). So...
Top