noob

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. D

    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...
  10. D

    GMS 2 [Fixed]Glitching in walls. Heartbeast platformer tutorial

    I used heartbeasts tutorial for platforms and it works but alot of the times you will glitch in walls and unable to move. If any one has used the tutorial before, have you found a solution for this? and if not have you used a better tutorial that works in gms2?
  11. F

    Enemy Death Direction

    So in my platform shooter, when i kill an enemy, the death animation is the same every time (When i kill him from the right, the blood splat stays on the left). I just want to know what to do because honestly I'm stuck. Thanks in advanced!
  12. S

    Collision help

    Hi, Ive set up movement and need help with collision at a wall. Im new to this and would appreciate the help, thanks! the error im getting is: "In Script scr_player_step at line 59 : malformed if statement" Im trying to use place_meeting to detect when the player touches a wall and set...
  13. V

    direction+5?

    Hello, you know how you can for example make instance_create(x+5,y,obj_test) Is it possible to make +5 for direction, to be 5 pixels in front of the direction of player. If yes, how? Thank you!
  14. V

    Whats wrong with this code?

    Hello, this code isnt working (there are no errors etc, its just not working) any idea why? CODE STEP EVENT: with obj_pickup1 { if instance_count < 1 { with self { instance_destroy(); } } }
  15. V

    Alarm not working!

    Hello, so i have my caracter that can dash and when he dashes through enemy i set room speed to 10, just to give a little bit of "jucie" to game by having time slow down for a split second, and then i set alarm[1]=2; and on that event it sets back the room speed to 30 again, for some reason it's...
  16. S

    Variable problem

    I'm a bit new to this so sorry for any newbie mistakes but i really need help with this, so i made a variable that SHOULD make my character's shots more inaccurate. But this doesn't really work, in my understanding it should add to the value of X and Y the value between -50 and 50, but this...
  17. F

    Question - D&D collision

    how do i make a collision for my player to run into using drag and drop with no programing?
  18. C

    [Beginner] How do I find the value of a variable?

    I don't know how to actually check if a code is causing a value to go strange. For instance, I'm getting an error I shouldn't be getting when following PixelatedPope's Resolution-Aspect Ratio tutorial and can't test if one line or another is changing the value before it gets to the end. In...
  19. G

    Create event messing up my spawning objects? [SOLVED]

    So I'm having an issue and maybe somebody here can help out... I have a platform with a parent to object solid which all my collision code is on. The obj solid has chance to spawn chest on create above it. I have auto-tile draw code setup on the actual platform to draw edges when another solid...
  20. S

    Legacy GM Keeping sprite from disappearing after "check pressed" event ends

    I'm trying to build a menu where when a user selects an option, a sub menu appears to the right of the first set of options. Attached is a picture of what I have so far. The problem I'm having right now is that when use the following code to draw the next section of the menu - switch(mpos) {...
Top