• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

collisions

  1. K

    Legacy GM My Collision Mask won't work??

    Pretty sure I'm just brain farting here, I'm wondering why my Collision Mask isn't working. I have Precise Collision Checking enabled. Here's what I have for the Mask Properties: In the room using this wall collision mask, I have an object with the creation code of: 'sprite_index =...
  2. A

    x-y independent move speeds, problems with collisions.

    So In my project, I have the x and the y move speeds Independent, and when either is triggers, it takes half a second or so to get up to speed. The problem is, My collisions are TERRIBLE because I cannot find a way to accurately predict how many pixels ahead of the player to check for objects...
  3. H

    Translating hspeed to x?

    In my game I decided to replace my hspeed (and vspeed) to an increasing value of x. However, in my collisions, I can't find a way to change hspeed and vspeed to x and y. Here is my code: if hspeed!=0 if !place_free(x+hspeed,y) { if hspeed > 0 move_contact_solid(0,hspeed) if hspeed < 0...
  4. K

    Legacy GM Point&Click Movement & Collisions

    Hello! I'm developing a 2D point and click andventure and I am having trouble visualizing how the best way to approach movement and collisions is. What I am looking for is the ability to click in any place on the room, and have the character moving to the closest free location on the ground and...
  5. P

    efficient collisions...all on player or on each enemy?

    Hi all, For game efficiency, is it best practice to code all the 'kill player' collisions on the player for each enemy OR on each enemy for the player? *given there are more enemies on screen than players e.g: player > collision > enemy1 player > collision > enemy2 player > collision > enemy3...
  6. S

    GameMaker Collision events without collision events: Help!

    Hi there, So I am currently in the process of recoding my game's collision system, and I am mostly done, save one issue. I essentially need two separate collision events to be working (don't ask, it's complicated). I can do this with user events obviously, and I have everything worked out...
  7. G

    Legacy GM Collision System for TDS [SOLVED]

    Hello, fellow Game Makers, Currently, I am having issues with a (probably simple) collision detection system for a TDS project I am working on. Let me (try to) explain.... The character has an 8-point movement system (WASD) and also rotates according to the mouse_x and mouse_y position. It can...
  8. S

    Isometric 2.5D platformer moving problems

    Hello there! My name is Alice and I am new in the forum. ^____^ First of all I would like to thank you all for having such a nice forum with so many guidelines and threads helping people – that were very helpful for me as well, though now I am stuck (this is why I am posting here). The point...
  9. S

    GameMaker Any *real* guides for top down collision out there?

    Hi there, So I am to the point in my programming journey where I acutely feel the need for more control over how my collisions behave, but I am not smart enough to code my own system and feel good about it. I have been using the physics engine, and the more I try to do interesting things with...
  10. A

    GameMaker Adding tilemap collisions to mp_grid (SOLVED)

    Hello! I've been toying with GMS 2 for a month or two now. I'm making a game where player presses the mouse button somewhere on the level and the player character moves to that location using mp_grid_path -functions. It works fairly well and I know how to add instances that should be avoided...
  11. 2

    Legacy GM Old Collsions vs. Fast Collsions vs. Fast Collsions Compatibilty Mode

    In Gm Studio 1.4.1767 there's a "use fast collision system" option you can tick, but also a "use fast collision system compatibility mode." What does the compatibility mode do differently than the first one? Something more specific than makes it more compatible please. Also what sort of things...
  12. S

    GameMaker zelda 4 style collision in a platformer game

    can somebody tell me how to achieve zelda 4 style collision in a mario game? basicly that way zelda 4 collision worked is it only stopped if the player from walking into solid walls if there was a collision right next to him so something like this...
  13. P

    COLLECTING OBJECTS

    Hello everyone, I am new to Game Maker but I know basic commands and functions that I've learnt from my previous small platform game. For this project I wanted to make a game where the player follows the mouse pointer (I have done this already) and picking up trash from the grass. I want the...
  14. Pfap

    gameplay power up with collision

    In my game there are obstacles the player has to avoid, but there is also a power up that lets the player pass through the obstacles. I have that working fine, but if the player stops while over an obstacle or if the power up runs out they become trapped inside the obstacle. Has anyone dealt...
  15. D

    Could anyone help with this? running out of ideas here

    So basically I have a door system set up (code below) and I'm trying to make my player open and shut doors by pressing my "Interact key" but I cant seem to come up with a way to shut the door that actually works I have tried using a switch statement so the image_index only changes when the...
  16. D

    I'm not sure if this is possible but could someone help

    So I'm trying to make my enemy open and shut my door object, so basically as the enemy walks through the door open and once is has walked through, the door closes. This is pretty easy to do but I have multi pal doors in my levels so I'm using instance_place to get the id of the door the enemy is...
  17. S

    Speculative Contact Collision

    I use repeat loops for my movement code to get pixel perfect collisions, (ex. x += sign(xSpeed)) but I've come to realize that this is actually pretty taxing for the CPU since I have to collision check a lot more than necessary. I've been looking into how to get pixel perfect collisions working...
  18. P

    Move towards mouse collisions

    Hi, I have problem with game maker 1.4, I have simple move_towards_point(mouse_x,mouse_y) and I don't know, how to make pixel perfect collisions with walls like while loop collisions but here it doeas not work, so I'll be glad if you will help me, THANKS
  19. S

    Best Kinds of Collisions

    I'm making a New Super Mario Bros. style platformer. I've heard that using objects for walls/ground eats up a lot of CPU, so I was looking into replacing them as much as possible. I know of tile collisions, grid collisions, and vector collisions (vector collisions are basically collisions with...
  20. F

    GameMaker Stopping only if feet are touching the ground.

    Am still very new to Game Maker Studios, and have minimal experience with programming altogther, but thought i would give it a try. I'm Currently trying to make a game similar to Mario (something i know that can show me a lot of the basics), but have come across a problem with my collisions on...
Top