Ok folks I'm having a problem with tilemap collisions.
I was following a quick tutorial (linked below) and looks SUPER simple.
He is using move_and_collide() and the player object just seamlessly walks up tiles that are ramps.
friggin' magic.
However, when I try to implement something like...
Hey everyone, this problem has been plaguing my project for a while now. I'm essentially making a top-down shooter with a 3D viewpoint, similar to Wolfenstein 3D. While I was able to figure out how to stop the player from moving through walls, moving along them is very jittery and I want to make...
Hi, everyone!
I'm currently working on a top-down game and I have moving enemies that follow paths.
I wanted to make so that the player can be damaged only if it's in front of the enemies when a collision occurs. If the player walks against the enemies on a side, he stops but takes no damage as...
Hello, if anyone else has been using the Beat'em Up Engine at Beat'em Up Engine have you been having issues with the enemies walking through the oBgCollider? This seems to happen when they are hit.
This also looks like it happens in the Beat'em Up Engine's demo game as well.
The asset publisher...
This one might be hard to troubleshoot without replicating the problem, but I figured I'd give it a shot and ask the question anyway.
I'm basically making an Onitama (Or Chess, Shogi, etc) type game, so I want the player to click individual pieces then click valid spots on the grid to move...
Greetings to all:
I am basing myself on some tutorials to make slopes for my platform game, the problem is that the tutorials are made in GMS 1.4 and I am doing it in GMS 2, and there are boxes in the GMS 1.4 sprite editor that are not in GMS2 and when my character passes or jumps over the...
Hello I have oCollision and everything prepared but it just gives me this error when I try to run it and Idk what to do please help I did everything properly and the red signal error doesn't show up it shows as it works but then it gives me this error telling me it's wrong please help...
Hi guys! I am newbie and I need your help. Recently I started making a game in GMS2 and ran into a couple of questions that I couldn’t find answers to:
1.There is an object that moves along the platform, reaches the edge and turns around in the opposite direction. it works like this:
var hspd =...
Hi
Fledgeling developer here! I'm just starting to learn Gamemaker studio 2 but I am interested in learning how to optimize my games from the getgo! I have been reading the basic stuff in the manual about binary operations and bitwise operations (bitwise and, or, not and EOR).
As the manual...
Working on a simple 2d platformer, with a mechanic where enemies can be grappled. So far all going well, though I made it so that if while the player is grappling an enemy and they take a hit from another enemy, they're supposed to be knocked back and release the enemy. With how this currently...
Hey! I´ve been having a headache meanwhile i was trying to resolve the code to do this: the videogame am making is told in the view of the three principal characters, despite the lineal story. I cant make the player object change their sprites (because they have a lot) and also, the mecanics...
Hi, I'm working on a platformer (if you saw my posts i'm always working on a platformer :rolleyes:). Currently I'm looking the best way to perform some collisions without running the place_meeting and instance_place function constantly. I coded a moving platform using the next lines of code...
Hello!
I am making a game and I was wondering how to code a collision system with that is compatible with the code for my Movement system. Any help would be greatly appreciated!
hInput = keyboard_check(ord("D")) - keyboard_check(ord("A"));
vInput = keyboard_check(ord("S")) -...
So I have a beginner-style collision code set up and I either want to improve it to avoid bugs or develop some sort of work-around so that if bugs occur the player isn't perpetually stuck in a collision object. I kind of need some help brainstorming a solution.
Due to dealing with a scope...
Hello, I am currently in the process of creating an enemy AI while following a youtube tutorial. The enemy AI is a simple track the player and over take them. However, after placing a collide script onto the enemy object the enemy object still overtakes and encompasses the player rendering them...
So I've recently started getting into Gamemaker Studio 2 and was following videos by a youtuber called FunBox. I ran into some problems when play testing the code. Whenever I moved the player toward an object with collision the player would eventually get stuck and would not be able to move...
Hey guys, needing some help. How can I find the exact collision point between the fire object and the wall object? Both are separate objects and I want to make some animation on that point when the fire touches the wall. The fire rotates every step. I tried to use place_meeting and...
Im relatively new to gms (1.4) so please forgive the "noobism".
My issue is this:
I am attempting to create a platformer. Unnecessary details asside, i have a player object and several wall objects. All wall objects share a parent object that (i think) will allow me to reference all wall...
Hello, I'm very new to GameMaker DnD and programming in general. I'm creating an object that spawns an instance of a different object above it, but I would like the instance it creates to destroy itself once the player walks away. How would I go about this? I can only get the instance to create...
Hi,
I'm having a lot of difficulty getting a particular collision detection to work properly, but only for HMTL5, and only when the player is colliding with the object from above.
The object is a block that can be pushed in four directions, as long as it's along a rail. The player in this code...