• 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!

noob

  1. R

    Help me with a new object instance

    First of all, sorry for my English. Isn't my first language and I'm still learning. And i'm a starter dev in game maker, so ignore the amount of confusing codes. Well, i trying to make a new instance of a object have a different variable value. How do i make the new island have the...
  2. DragonPup

    Problems with move_and_collide and TileMaps

    Ok folks I'm having a problem with tilemap collisions. I was following a quick tutorial (linked below) and looks SUPER simple. He is using move_and_collide() and the player object just seamlessly walks up tiles that are ramps. friggin' magic. However, when I try to implement something like...
  3. nates.not.cool

    GML my textbox isn't displaying :( I keep getting this error message

    var _txtb_x = textbox_x + text_x_offset[page]; /// <--- this is the line its talking about /// var _txtb_y = textbox_y + text_x_offset[page] ; txtb_img += txtb_img_spd; txtb_spr_w = sprite_get_width(txtb_spr[page]); txtb_spr_h = sprite_get_height(txtb_spr[page]); // draw the speaker if...
  4. ShortSoufie

    GameMaker Problem with Chest sprite index

    Hi, im new to gamemaker and cant figure something out. So i have a chest, it has randomized loot in it to give some sort of "rarity" to other items with a random function. I want to give this sort of glow effect to the rarity types, so when the chest opens, a "Common" item will give off a green...
  5. J

    SOLVED enemy come from the top

    Hi i am new to gamemaker and i need something from my game I need where the enemys are coming from the top of the screen.
  6. T

    Having trouble with this.

    I am trying to make it so that a projectile can follow a shooting line. The shooting line has a triangular shape, is an object and can be stretched based on mouse position. I decided to make a path just like the shooting line object, but can't make it stretch and make it so that one point is on...
  7. T

    Need help with making random attacks.

    I am trying to make this boss be able to jump on different platforms and be able to drop down from those platforms. The jumping works but for some reason the drop down code rarely works. if place_meeting(x,y,BBLeftJumpObj) and place_meeting(x,y,BBDropDown) { state =...
  8. T

    How do i position a sprite at the start of a text?

    I am trying to make it so that when the text becomes longer, the sprite becomes longer. It works, i centered the text, but i don't know how to position the sprite at the start of the text. It has to be at the start because the sprite streches to the right side.
  9. T

    Problem with adding custom controls.

    I followed this youtube tutorial: But when i try to test it, this error shows up: global variable name 'key_up' index not set before reading it. How do i fix this?
  10. T

    I keep getting stuck.

    For a couple of days i have been trying to make a spinning platform around a center point, i finally found a video about making that and tested it. When the player jumps on the platform, it carries him, but when the platform is descending, the player starts changing from his idle animation to...
  11. T

    Need help with falling through spinning platform.

    My player keeps falling through the platform and i don't know how to fix it. //RotatingBlock3 //Create radius = point_distance(RotatingBlock.x + 85, RotatingBlock.y + 85, x, y); phase = point_direction(-RotatingBlock.x, -RotatingBlock.y, x, y); //Step phase += 1.5; x = RotatingBlock.x - 12...
  12. T

    Why am i struggling with this?

    I keep trying to find a way to make one of those fire bars in Mario, i keep trying but it doesn't seem to work. //create spin_angle = 0; fireballs = 8; //step spin_angle += 0; direction += 1.5; depth = 1; var coll_X = lengthdir_x( 16 * fireballs, image_angle); var coll_Y = lengthdir_y( 16...
  13. Utility

    [NOOB QUESTION] I don't understand collisions?

    Hello there! :) I am VERY new to GameMaker Studio 2 (I have lots of experience with other engines), and I just can't understand exactly what this chunk of code does: // Horizontal collision if (place_meeting(x + horizontalSpeed, y, obj_Wall)) { while (!place_meeting(x +...
  14. M

    SOLVED Problem that's busting my brain

    Here we go: Im developing a backpack and inventory system for a Text Based Rpg i've been working on. The code im talking about specifically here is one under the Enter key ( You are using a chatbox at the bottom to give commands to the game , in this instance choosing a backpack slot, ( 1-9 )...
  15. ThePlayerEden

    Alpha Death By Bacon - RPG

    Hello All! First, thanks a lot for all of your help when I have questions (and I have lots of them. Anyways, I have this game I've been working on for a bit now, I originally started making his game on Construct but recently switched over to GMS 2 and I like it much better, I'm pretty new to...
  16. R

    Two sprites have changed roles

    So I tried making a wall(obj_WALL) like this video said "GameMaker Studio 2: Complete Platformer Tutorial" and it worked wonders, but when I tried to put a second object the code broke(or I did something dumb) and the collision system only worked with that second object("obj_CHIMNEY") and when I...
  17. netoxinaa

    SOLVED Sorting an array of structs by struct's variable

    I initialized an array of 5 spaces, filling each index with none value. So I have this: [0] = -4; [1] = -4; [2] = -4; [3] = -4; [4] = -4; I also have different constructors, each one has a name variable with a string value. Now then, I add some structs to the array and now it looks like this...
  18. hitch55

    Generate random request in minigame

    Hey. I'm creating a drink making mini-game and wondering how to generate random requests. Like where do I store the recipes, and then how do I have the game pull one of the drink names to request from the player - then after they make the drinks, have the game check the ingredients to make sure...
  19. N

    Obj_Player Not Set Before Reading

    am new to Gms2 and i cant find how to fix this. I keep Getting Obj_Player Not Set Before Reading But I have Obj_Player At The Top of the list MY Code is this Obj_PLayer P_Stats = { Hp : 100, HpMax : 100, }; Obj_camera On Draw Gui draw_text(View_Camera_Width - 300, View_Camera_Height -...
  20. T

    Fighting Game Feasibility For A New Game Dev?

    Hi! I just downloaded the 30-day trial of Game Maker Studio 2 so I can investigate its features. Before I go any further, I thought I would ask: are there any good tutorials for this software that are specific to fighting game development? I have some cool ideas and am willing to put in the...
Top