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!
In the hit game SUPER MARIO BROTHERS when you are running and you press the opposite direction you do a little skid on the ground and you come to a complete stop faster. Similarly, in pizza tower when you turn around at a high speed you do a little turn animation then continue in the other...
I've used this code for quite some time now in a separate engine, and found it works flawlessly. However, when I use the same concept in GMS2, I seem to have trouble with where the object accelerates.
Basically, I want an object to change it's x and y position based on the direction it's pointed...
I'm using GML on GameMaker Studio 2 IDE v2.3.0.529
I apologize if this issue has been discussed elsewhere, but after prowling forums and Google and YouTube, I still cannot find a satisfactory answer to explain why the bullets will not shoot straight out of the end of my ship while it's in...
I'm relatively new to gamemaker but know the basics and how it all works. While making a game I ran into an issue where the player character (playergrounded) goes from being affected by gravity then by the press of space not being affected (playerfly) so the player can fly. I decided to go down...
Hello,I'm currently having fun optimizing a game that has massive usage of soft particles;
I've noticed physics_particle_draw(typemask, category, sprite, subimg) documentation states:
"The drawn particle will use the colour and alpha values set when you created it, and will rotate with the...
Hello,
Making a top down space shooter and not using the physics engine in game maker studio 2.
I have movement code that is mostly nice and smooth for turning speeds / acceleration / deceleration figured out but when I release a direction key (key_up or key_down) and start rotating the sprite...
I'm currently trying to make a bullet-hell style game where bullets rain down and the player must guard the target using a shield. Instead of just having the bullets disappear when hit by the shield I'm trying to make it so they'll pick up some of the shields vertical/horizontal momentum...
As the title says, I quite suck at doing collision, mainly because my movement code includes accelerating and decelerating hspeed and vspeed and all the fixes i've looked for rely on the fact that the movement speed is fixed and doesn't change.
In the step command of obj_player:
maxspeed = 6...
Hey so I'm fairly new to gamemaker (using for about 2 weeks now) and my friend and I are working on making 2D platformer right now. We were trying to add in momentum but we couldn't figure out how to get it to work. Heres the code we currently have:
(Oh and as a side note this is the entire...
Hello everyone, my friend and I are trying to develop a simple game in which a square moves through a floor and jumps through ramps, just to begin to familiarize with the IDE and all. So, we're stuck to a problem with the ramp collision it kinda works but, when it starts to move on top of the...
I want to make the player swing from a fixed object. I have lengthdir set up and can make them rotate around it using the D and A keys but would like to add a form of physics to the whole system. i,e: Add the speed that they're travelling in a direction to when the grab onto the object and use...
Hi, I'm trying to figure out the best way to have my top-down player lag when changing opposite direction (180 degrees) before moving the other direction to give the appearance of momentum. So when you're running left and the move the gamepad right, I want my player to stumble and cutback left...
I'm making a racing game, and this is my first game I'm trying to make without YouTube tutorial help. I had a problem with getting the object to move in the direction it was facing, but after coming here my problem was solved pretty fast.
So, I have a new problem. My player object moves...
Long post, but I've been doing some experimenting and it's a conversation I've been wanting to have for a while.
I've been scrambling together bits of code recently and testing out momentum based movement. Mostly by theory-crafting how movement can be fun on it's own if it's intuitive and...
GM Version: Game Maker Studio 1 (should work in v.2)
Target Platform: PC (should work for HTML5 and mobile modules)
Description: character movement with momentum, wall sliding, and wall jumping
After a bit of work, I've created a version of Shaun Spalding's player code that includes momentum...
Hi, Im trying to program a trajectory plotting script for a 2D space game. The trajectory is the combination of two thrusters and a cannon that add to the momentum of a ship over time. Example
right now the plot circles update over time the same way the ship would using motion_add
if(hold)
{...
Hello GMC! Today I have a question about acceleration and momentum using GameMaker's physics. I'm making a car racing game, and I'd like there to be bigger and heavier vehicles that accelerate slower but can hold up some steady momentum and don't get thrown off their path as easily as the little...
Hey, so I've been working on my own physics for a game and I am currently working on making hitting spikes feel more like actually hitting spikes so far falling onto spikes looks great since you will stop and then slowly slide down but I'm having issues with spikes on a ceiling or on a wall...
Hello everyone, I'm mostly new to coding and completely new to GameMaker, so I want to stress immediately that I'm not attempting to get anyone to build my game for me or anything like that. This is my first thread, and I want to (in some minor way) make something useful for other beginners like...
For a while I have been having trouble to create a fully functional crouching animation for my player character. Just recently I have found a bit of a solution but it is a bit buggy, I'll get to that later.
Right now I have a very important question. How do I properly implement friction in my...