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!
Hey guys,
I have taken a break from GM2 for about 6 months or so. Inside the editor the room cannot be moved left/right as you can move windows in a workspace. If I remember correctly by holding down middle mouse button you could move the scene around. Now that just moves up down.
Help, this...
I made the controls but will I need to make 3 "ifs"? Is there any way to do this with a single if? Because for the gamepad it is a different command and for digits and letters it is another code!
if keyboard_check(ord(global.shot))
{
hspeed = -5;
}
if keyboard_check(global.shot)
{...
There are few examples of the "input 5" extension for controls on the internet. I would like to know how to get the name and functionality of the pressed key and button.
For Mouse, Keyboard and Gamepad.
How do I code?
Is it necessary to specify the device?
global.control1 =...
Good Day
I made a space shooter yesterday. You can control it with the help of the point_direction function. (The ship follows the mouse cursor). It works almost flawlessly. The problem is, when I move the mouse cursor all the way up to the last pixel of the screen, the ship starts to freeze...
Hi, i'm deep newbie in game making stuff, and i need help in solving my issue:
I need to change my walk sprite animation, when releasing gamepad stick, to idle animation, but in right direction (top down view)
For now, it's works fine with keyboard control, but when releasing any axis in...
I don't know how to explain it exactly. But I have a problem when I upload my web exports to places like Itch.io
What happens is, after the game first loads, sometimes you can't play/control it until after you refresh the page. Also if you click outside the game window, clicking inside the game...
How to make a character move independently (after pressing a button), and I use only buttons to change its horizontal and vertical directions? Help me please :)
I'm able to control both the first and third character using a variable called global.character = [number] in obj_control
but not the second character for whatever reason
I thought at first it was because global character is strictly a binary statement but i can successfully switch between 1 and 3
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...
GM Version: Studio 2
Target Platform: Windows
Download: see code below
Links: NA
Summary:
I've noticed pretty much no platformer tutorials account for tweaking control feel, input buffering, air control, etc. So I'm tossing it here hoping it will be of help to someone.
Features:
* Move...
Hi developers. :)
I recently solved the problem with playing sounds, coming from enemies = sound direction,
where and how distant the enemy is from the player. Now I want the same effect with moving
enemies.
For example:
I created a patrolling knight with rusty amour. That makes sounds with...
Hi Folks,
I`m an interested beginner in programming and using GMS2. I´ve already seen different
YT-Tutorials, f.e. making a Jump`N`Run game. I can follow all codes and steps. But I
hang up on a simple weapon behaviour. Maybe there is somebody can gimme a hint!?
I have a fully functional...
Hi, I am not sure what is the correct name, for what I am looking for. :rolleyes:
You might all know this controls on a device (smartphone) that you can use
on screen to move the player around (up,down,left,right) with your thumb.
I am looking for a way (or an extension if such exists) to...
I like to use game maker to make personal helpful programs besides games. Me and a friend wanted to make a solution for playing local coop games online using networking and forced key presses. I understand this may not be the original intent for these functions, but after making some progress I...
I have a project that is a git repository. I manage it using Git GUI, so I don't use GMS2 for the source control. It still shows the icons:
How can I remove those? I couldn't find a related option in the preferences.
I have not enabled SCM in GMS2, it automatically detected the git...
Presently, I am undertaking Gm2 course and hitherto this is the movement code:
/// movePlayerState()
// if player in the air
if (!place_meeting(x, y+1, Solid)) {
velV += accelG;
//Control player jump sprite
sprite_index = sPlayerJump;
image_speed = 0;
image_index =...
I want to introduce the controls to the player so he/she knows how the controls work.
What is the best way to do that?
Having a text pop up for one time only?
Make an extra room with sprites where you can see the controls explained and after that walk into a portal to begin the game?
Or...
I'm using the code from this video,
I tried searching all throughout the internet for a good tutorial for 2d platformer knockback, however the ones i could find allowed the player to move after being hit, or were for other genres of videogames,like topdown shooters.
Could anyone please either...
hi i am having a similar problem and could use a new set of eyes as well as help.
///the square with the turn is the issue
///the code works some of the time depending on the speed of car witch is in alarm 0
///left pressed starts alarm 0
if speed < 10
{
direction = direction
speed += .5...