#programming

  1. Wupporulz(forever)ok

    GameMaker sprite appearing when the space bar is pressed

    I want to make something similar to pizza tower's taunt system, the only problem is that the image/sprite is playing for like a single second and then it goes away, how do I make it stay on screen for a longer period of time?
  2. E

    GameMaker Hi! I would like some help.

    Hello, I'm really really (really) new to GameMaker and I encountered an issue that I'm not quite sure how to solve. Basically I'm working on this mini project of mine and the thing is I always had an issue with walking animations. Firstly it worked perfectly then I noticed that if I walk...
  3. J

    SOLVED timer countdown

    Hi I am new to Game maker and I am making a game where you play as a spaceship while destroying enemies. And I need a timer for how fast a enemy will spawn but I cant find out how. I need the enemy to spawn at 0.5 seconds.
  4. Josi Craft's

    shader dosent work

    hi i made a shader with my small nolege of shaders its a nomal map shader but it just draws a black box that some time turns gray //draw //draw shader_set(sha_nomal); shader_set_uniform_f(shader_get_uniform(sha_nomal,"u_lightDir"),mouse_x,mouse_y)...
  5. F

    SOLVED RPG Party problem (8 direction move)

    Hi, its me again I will be as specific as I can i'm using game maker studio 2 v2022.2.0.625 and i've the next problem: I'm doing an RGP, and I'm trying to implement 8-direction movement with smooth collisions. everything is fine until the point where I will add another 4 characters that are...
  6. BellaNovella

    object movement problem with letters key pressed

    I am trying to make my character(obj) move by programing it so that whan WASD is pressed the character(obj) moves UP,RIGHT,DOWN,LEFT, but the problem is that you have to press the letters continuously so that it will move, but when I program the arrow keys instead of WASD, it works perfectly...
  7. Ta2erNeverOff

    I need help for a project im thinking of!!

    Hello Game Makers! To start things off I am very very new to game development, especially with game maker studio. I have a game idea that I would like to make and already stated creating it, but I have ran in to an issue.... I have this idea where I have a jail cell and it has two different...
  8. P

    Portfolio - Programming Ready to code your small game for rev-share

    Hi everybody. My name is Tim Petrik and I'm young student with passion to game development. I have been learning GMS for 2.5 years and keep extending my knowledge. So, though I'm a student in my home country's state university at the moment, I wish to apply for the foreign one. But the...
  9. king_frnk

    How do you rotate a Game Object around a specified point?

    I was working on a small game to get my experience up and I wanted to remake a game called "Pick the Lock". Fast forward>> I wanted to know how to rotate the player object around a specific point in the room; So it would look like it's going in circles? Any help? This is the code I have so far...
  10. V

    Objects not showing Up! (beginner)

    Hi guys. In my game, ive created some cutscenes. The cutscenes are just sprites and i convert them to object and just paste it in the room for many other cutscenes. However, i've just created 2 new cutscenes and i did the same with the rest of the other cutscenes by just makign them as object...
  11. V

    NPC TextBox. How to destroy? (beginner question)

    so this code is in my step event for my NPC if(keyboard_check_pressed(ord("E"))) && (distance_to_object(obj_shield_idle)) < 1 { open = 1; } if (open = 1) { instance_create (200,440,obj_textbox); } else { if(distance_to_object(obj_shield_idle)) > 1 with(obj_textbox)...
  12. V

    Need help to make invincible box.

    So i have a player and an enemy. I want to make a mechanic whereby the enemy which is a frog, will jump towards the player when detected in a certain range. Then when it reach the player at a certain range. It will spawn crystals which will hurt the player. After that it will countdown for 3...
  13. V

    Spawning Crystal on ground (Need help)

    so here is my code: //grounded if(hspeed == 0 && vspeed == 0) { image_speed = 0.1; sprite_index = spr_crystalFrog_idle_L; } if instance_exists(obj_shield_idle) { with(instance_create(obj_crystalFrog_idle_L.x,y,obj_crystal)) { speed = -2; if(obj_crystal >=...
  14. V

    Key press problem? (Beginner's question)

    so this is my code for animation transitioning _keyL = keyboard_check_pressed(ord("L")); _keyD = keyboard_check(ord("D")); _keyA = keyboard_check(ord("A")); _keySpace = keyboard_check_pressed(vk_space); if (_keyL == true) { image_speed = 0.6; sprite_index = spr_shield_combo1_R; }...
  15. V

    Help! Player goes missing ! [SOLVED]

    this code is in my creation code of my player < //HP _hp = 10; healthbar_width = 285; healthbar_height = 48; healthbar_x = 40; healthbar_y = 0; //100 pixels above the player /> so i created a draw event, then i made a script like this if (_hp == 9 ) {...
  16. V

    Animation transitioning (Need Help!)

    Ive been trying to make my player from idle to attack animation when he is grounded and when he press the L key but it just wont work since my idle is overwriting it? Here is my code < _keyL = keyboard_check_pressed(ord("L")); _keyD = keyboard_check(ord("D")); _keyA = keyboard_check(ord("A"))...
  17. conman06

    GameMaker Programming a thwomp-like enemy?

    Hey, just wondering if anyone has scripts for a thwomp or if anyone know how to program a thwomp. If you could share it with me I would greatly appreciate it. Thanks!
  18. D

    This loop keeps setting objects to same x coordinate or it does not even create them all expect the first one pls help.

    -I want to make save system for my buildings but it wont work so here are the codes. name = obj_const_wall; for(var i = 0; i < obj_stats.maxstructures; i++) { if(obj_stats.structure[i, 0] == -1 and obj_stats.structure[i, 1] == -1) { obj_stats.structure[i, 0] = name...
  19. conman06

    GameMaker Floating character

    Okay, so I'm trying to program the player's vertical collision. My problem is that the player hovers over the ground, yet it says that it is on the floor. I can assure you that it is not a hitbox problem. Below is the code for vertical collision. //Gravity if (!place_meeting(x,bbox_bottom +...
  20. Bulldrome

    Local Multiplayer

    Hello I'm currently working on a top down, spaceship arena game and have a few questions about getting local multiplayer working. I have a menu set up for selecting your ship and color as well as a stage select. After player 1 has selected a ship, is there a way to return to the ship...
Top