• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

noob

  1. S

    Legacy GM [SOLVED] Having gun in hand!

    I'm making ragdoll game and guns in ground are visible but if i pick them up they can't be seen... o_O code in object player step event: with Hand_R{ if (mouse_check_button_pressed(mb_right)) { if (gun == -1) { with (instance_place(x, y, oGunPickup)) { other.gun =...
  2. S

    Legacy GM !Ragdoll rotation towards mouse

    Hi! I want my ragdolls head to point at mouse but actually the right side of the ragdoll points towards mouse. What can I do? :( I think this is happening because the sprites are not pointing up..... Code For Direction: direction =...
  3. theraje3

    Fullscreen for view and camera diferent? help please

    The regular window_set_fullscreen function dont work for me... the game crash and i have to restart everything.. why this could happen? i have viewports and cameras enables. it only happens in my current proyect. im desesperated pls help >.<
  4. E

    Unwanted Sprite Trail PLEASE HELP!

    Hello, I am very new to coding and I watched a tutorial on the basics. Everything was going fine until I did something without knowing that is now causing my object to leave a continuous trail of itself in-game. Also, my player will no longer shoot or it just doesn't show up. I was hoping...
  5. 2

    GMS 2 'Noob question' my variables are not tuning blue =(

    Hi total noob so please be gentle. I'm following a 'spelunky' style level gen tutorial and im currently making a script. my issue is when i try to set some variables in the IDE they do not turn blue, also some of the other parts of the code do not change to the colours of the tutorial. so my...
  6. P

    script works when its not a script but doesnt when it is a script

    Hey guys facing a pretty stupid problem, sorry im quite new to gamemaker So my code works when it is in my step event: but when i copied and pasted it into scr_create_prox_menu, and replaced all the obj_proximity_test with argument0 and all the prox_MENU with argument1, and put it back into my...
  7. EricPB

    GMS 2 Camera and Physics Conflict?

    Here is a problem, I am trying to make a physics based game for GMS2. As such I enabled physics for the one test room I have and the appropriate objects, and try to set up the camera. The problem comes that when I have the rooms boxed ticked off as using physics, the camera doesnt display the...
  8. S

    GML General GMS-Noobie question about hit animations [SOLVED]

    Hello! I've been trying to get into gamemaker studio by making a simple character that will point towards my mouse and hit on click. everything worked out fine except that i seem to have chosen an inefficient way of doing that: i created 2 objects: 1. char 2. hit i programmed it so that when...
  9. C

    GMS 2 How to set up a joystick

    Hey guys, so i recently bought a simple eight-way joystick, with some extra buttons. I want to control my player with the joystick as seen in the picture and i want to shoot with one of the buttons. So this may be be simple for pros but i dont know how to start and do this. :confused::( Maybe...
  10. E

    Passive Ai Help

    I very new to gml and my problem is I am making a game that consists of passive ai and enemies. I am trying to make a chicken that moves to a random position, stops for a few seconds, then moves to another random position. I have attempted to do this for a while and haven't figured it out...
  11. K

    Drag And Drop Sprite drawing problem

    Hi everyone! I'm new here and in GMS2 I'm trying to follow along a tutorial, but ran into a problem. My sprite reacts to events up down left and right. That works! But it gets drawn every step of the movement. I drew the sprite myself, assinged it to an object. Theres nothing but four events...
  12. S

    Windows (Zero Experience) Tried to make super simple program but game window wont show up after compileing

    Was following a guys tutorial on youtube and tried to make my background move from left to right, real simple. But once i followed the grand total of three steps he showed and clicked play/pressf5, nothing happens, a compiler screen pops up at the bottom, finishes, and nothing else. Here is...
  13. J

    Enemy Spawning randomly between set locations & Waves {Please help a Noob trying to learn!}

    Hello, I am creating a top-down space shooter, much like asteroids meets space invaders. I have all the movement mechanics, firing, collisions, sounds, menus, point system, etc nailed down and am moving on to the finals stages: Enemy Spawning, Wave Generation, and Enemy AI. Between multiple...
  14. M

    Unable to find instance?

    I'm attempting to create something similar to a teleport ability in a game, but this keeps happening after completing the function. ___________________________________________ ############################################################################################ FATAL ERROR in action...
  15. Just a game programmer

    Better moving

    I'm currently making a game on Game Maker Pro. I've only just started and I'm still doing the moving code for the character.I'm using tiles to add graphics to my game. I use invisible object to control where the player can and can't go. I'll put up code, screenshots etc. if you need it. This is...
  16. V

    GML Smooth mouse-following cam & smooth player-following cam

    (sorry weird english) First time posting here, working on a classic top-down shooter with GMS2. An invisible object "obj_smoothcamera" reads on a step event if (instance_exists(obj_player)) { x += (obj_player.x - x) * 0.1 y += (obj_player.y - y) * 0.1 } So when obj_player moves...
  17. B

    Legacy GM mp_potential_step error

    alright so, I've been using GML for a little bit now and I've only been making little one or two button games that I only put a couple of hours into but I recently started a game I want to put more time into and I've encountered a problem. I'm using the mp_potential_step to move and I made it to...
  18. Zuurix

     Buying game currency with real life money: Where to start?

    Hey, all! While I'm not working on my main project I am tinkering with my side project, a singleplayer CCG. It's almost for the alpha release, so it's about time to think about monetization. Since I have already tried selling game on Steam, I'm thinking about making game free-to-play this...
  19. K

    GML [Solved]Problem: Same Type Objects not all being affected by script/instance_exist check

    So the issue is that when I create an object called obj_slow_time, it is supposed to slow all enemies down to 20% then reset them back to their original speed when the obj_slow_time destroys itself. However, when obj_slow_time is created in the room, it only slows down a single (first enemy of...
  20. Dylaniza

    GMS 2 [Found A different way]How do I check when obj is not colliding with other obj?

    I am trying to make it so when player isn't colliding with ground it will set a varible grav to 1. I tried if place_meeting(x,y,obj_collision) then { grav = 0; }else{ grav = 1; } But it doesn't seem to be turning it to 1 when it is collided with obj_collision because player isn't able to move...
Top