begginer

  1. Purple_Shy_Guy

    SOLVED I need to make the character blink after taking damage using a shader

    Hello everyone, I'm working on my first project and I need some help. I wanted to make the character blink (in white) during his invincibility time after taking damage. I created a shader for it and it kinda works. The only problem is that the character becomes white during the whole...
  2. face

    GML Programming basics in 20 minutes. (cheat sheet)

    GM Version: Studio 2.3 Target Platform: Windows Download: see code below Links: n/a Summary: In this tread I will teach you the basics of programing with GML. Attention: Useful information will be available here but you will need to use this regularly to get decent at it. What not to expect...
  3. Purple_Shy_Guy

    I wanna do a megaman like knockback in my top down game

    This is my first project, so I'm having a bad time trying to figure out how to do it. My knockback wasn't working somedays ago, and the community helped me, so it's working now. But I want to make a knockback just like the one in megaman, because I think it's really dynamic. This is the code I'm...
  4. Purple_Shy_Guy

    SOLVED My Character's knockback is only half working and I don't know how to fix it.

    I'm trying to program a knockback for when the caracther is hit by an enemy, but it's olny half working. if (place_meeting(x+sign(move_speed), y, Obj_Slug)) { x-=move_speed*15; } if (place_meeting(x-sign(move_speed), y, Obj_Slug)) { x+=move_speed*15; } if (place_meeting(x...
  5. kapaqw

    Instance Collision

    Is there anyway to find the specific instance that collided with a object and put it in a variable? Would you use instance_find?
  6. netscaped

    Camera panning not working

    Hey all, I'm very, very new to gml, but what I tried to do here was to slowly move my camera to the desired coordinates (It's a very uh, pixelated game, so 1px per loop wouldn't be too slow), but it doesn't seem to do anything except freezing the game up. I've tinkered with it for a while now...
  7. Null-Z

    Tips for a 2D artist starting 3D modeling.

    while I wait for the final parts to upgrade my computer, I wanted to gather some tips to help me swiftly understand how to model in 3D. what advise do you have? anything you wish you knew when you began 3D modeling? what tutorials do you you suggest work the best? advise is appreciated!
  8. FiftyFive

    GMS 2 I'm new in GameMaker studio, what should I do to improve myself?

    I'm new in GameMaker studio, what should I do to improve myself? I bought training from Udemy but i learned the basics (I really really want to make a game like "Katana Zero") : - )
  9. FoufaDjo

    SOLVED collision,friction and accel problems

    i followed a tuto on yt about movement and the dont use the speed var so i cant use the friction function can someone help me: hspd = (rkey-lkey); vspd = (dkey-ukey); if (hspd != 0 or vspd != 0){ dir = point_direction(0,0,hspd,vspd); hmove = lengthdir_x(spd,dir)...
  10. Michael Franklin

    Player not moving

    My character does not move when I run the program. I only have a step event: //input left = keyboard_check(ord("A")); right = keyboard_check(ord("D")); jump = keyboard_check_pressed(vk_space); //Movement var move = right - left; hsp = move * walksp; vsp = vsp + grv; //Horrizontal collision...
  11. D

    Beginner Coding

    I'm new at GML but I enjoy the way coding makes you think, so the first picture the highlighted line works fine. All I want is to right click to destroy crops, I made it so I left click to plant crops and it works out fine. I thought all I had to do was the opposite but I got stuck. I just need...
  12. O

    Is there an code arcive where you can download complete examples to work from?

    This would really help beginners like me
  13. Joky

    GMS 2 [SOLVED] I'm kinda new and i'm not sure what to do here.

    I might sound pretty stupid asking this so sorry about that. But I'm trying to do this: Player obj walks to vault obj and presses z and it changes (escapedoorlocked = true) - (escapedoorlocked = false) But it doesn't work for me. So can someone help me? I'll post code if needed.
  14. G

    need help with tile collisions

    I have a sprite with a collision box that is rectangular shaped but it seems to teleport or push itself downwards then snap to a grid and can sometimes go through walls. Please i need someone to help me i am using the code in Tilemap Collisions in GMS 2 - GMWolf var dx = moveSpeed *...
Top