gamemaker 1.4

  1. Y

    Free Run And Fun

    Run And Fun is a fast paced defense game in which you defeat hordes of enemies. upgrade your Robot to more efficiently destroy dozen of enemies. currently features: 1 map 4 different enemy types. features that are coming soon: Leaderbords. A free map pack with 5 additional maps all featuring...
  2. Y

    Legacy GM can't tap virtual key

    so I made 2 virtual keys shown in the following code: if(global.Pausing && !global.In_Store){ draw_set_alpha(0.5) draw_rectangle_colour(0, 0, view_xview + view_wview, view_yview + view_hview,c_gray,c_gray,c_gray,c_gray,false) draw_set_alpha(1) draw_sprite(Spr_BMain, 0...
  3. Y

    Legacy GM enemies ignoring mp_potentials_step

    so for some reason my enemies aren't avoiding obstacles. here is the code: if(!global.Pausing && distance_to_object(Obj_Munna) > 24){ image_angle=point_direction(x,y,Obj_Munna.x,Obj_Munna.y) direction = image_angle mp_potential_step_object(Obj_Munna.x, Obj_Munna.y, 3.5...
  4. Y

    Legacy GM instances not getting created

    hello, first of all bear with me because this is probably going to be long. so I'm trying to make my wave system work. first I've set some variables in the create event: Last_Pause = 0 //how many times the spawner spawned enemies in 1 wave( a wave is split into 5) global.Wave = 0 //current...
  5. Y

    Legacy GM make object invisable in view

    so I'm using 2 views. 1 is the main view and another I use as a minimap. I use 2 controll objects that are currently visable in the minimap. is it possible to make the invisable for only the second view while still being displayed on the first? thanks in advance. im not trying to use surfaces...
  6. Y

    Legacy GM variable not set in irrelevant object

    So gamemaker is saying that I'm not setting a variable in a object that isn't even related to the code. here is the code: with(Obj_Mognorian_Spawner_Forest_1){ switch(global.Selected_Mog){ case 1: MogOne.Hp -= irandom_range(MogOne.Damage_Min_Rec, MogOne.Damage_Max_Rec) case 2...
  7. Y

    Legacy GM game hangs

    So i'm trying to get my wave system to work. but when I start my game it will just hang whenever I press the start button the code for the wave is as followed as I think it's related to the spawning of instances which has caused me same kind of problems before. anyway here is the code maybe...
  8. Y

    Legacy GM instance_create not following players rotation

    so im creating an instance at x + 48, y the direction that my player faces is defined by this: Obj_Munna.direction = point_direction(Obj_OuterRing_Move.x, Obj_OuterRing_Move.y, Obj_Stick_Move.x, Obj_Stick_Move.y) the image_angle is defined by this: image_angle =...
  9. Y

    Legacy GM instance_create not working

    so I'm trying to create bullet instances using this code if(point_in_rectangle(device_mouse_x(0),device_mouse_y(0),view_xview+view_wview/2, view_yview, view_xview+view_wview, view_yview+view_hview) and device_mouse_check_button(0, mb_left)){ self.x = device_mouse_x(0) self.y =...
  10. Y

    Legacy GM point_in_rectangle not working (FIXED)

    if(point_in_rectangle(device_mouse_x(0),device_mouse_y(0),view_xview+view_wview/2, view_hview, view_xview+view_wview, view_yview) or point_in_rectangle(device_mouse_x(1),device_mouse_y(1),view_xview+view_wview/2, view_hview, view_xview+view_wview, view_yview)){ if(device_mouse_check_button(0...
  11. C

    Auto tiling issues

    I have been trying to do an auto tile type thing for a while now, but it hasn't been working. Mainly my corner pieces have been acting wonky. This is my auto tile set, and how it isn't working in my game. Here is my code: ///autotile(obj) var obj, image, tile_size, nUp, nRight, nDown, nLeft...
  12. C

    Collision in the Step Event

    Is there any way to put a collision into the step event? Whenever I try it never works, and my object always gets stuck in a wall, or worse. It's much more difficult to organize when I have to put all the collision in collision events. Thanks!
  13. </iKON1K>

    Timer

    DISCLAIMER:(Bad English knowledge)Hello! Right now I am inventing a new feature in the game and it requires a timer. When certain button is clicked, power up turns on, and timer starts from 14, counting down seconds of how much time you have left to use the abilities that power up gave you. And...
  14. Fixer90

    Legacy GM Expanding a room's size from the center using code?

    Increasing (or decreasing) the size of a room using code is simple, you just say "room_width += 512;", and the right side of the room will be expanded by 512 pixels. What I wondering is if it's possible or not to have it expand the width of the room from the center, meaning instead of adding 512...
  15. Y

    Legacy GM game updates after release

    So i'm planning on using the built in game maker save system for my game (I have to many variables to save in ini files and they aren't as secure as the game maker save files as well) but my question was for example I have a game with a 1 house and 2 missions I save the game what would happen...
  16. peteynunchucks

    Declaring a winner in a game

    Hello Gamemaker Community, I am working on my first project right now which is a 4 player local competitive gathering game. At this point, I am trying to code what happens at the end of the match. When the time runs out the game should declare the winner as the person who gathered the most...
  17. L

    Legacy GM Wrong action when press button

    Hello guys I have a really annoying problem and I don't know how to explain it. For example i have on object which has a switch case of variable "done". And when it changes case it will do different draw_text commands in draw gui event. Here is an example [CREATE EVENT] done = 0; [STEP EVENT]...
  18. L

    cumulative player upgrades -BindingOfIsaac style - 1.4

    I've been able to add stat upgrades like more hp,damage or speed using global variables. However I can't figure out how to add more specific upgrades like homing/piercing shots that can be combined. The main problem is not having a step event code that has an if statement for each upgrade since...
  19. B

    [Solved] Creating a JavaScript Extension

    I'm having trouble getting my JavaScript extension working. It's my first one, so I'm starting off super simple: I want it to print the word "Left" to the compiler window when I hit the left arrow key. The entirety of the JavaScript file is function return_left() { return "Left"; } In the...
  20. O

    Problem turning instanceId into objectId

    So im trying to convert an instanceId into an objectId, i get the instanceId via instance_position and storing it in a variable, example "instanceId". Then i try to convert it into an objectId with storing it in a variable again, example: objectId = object_get_name(instanceId.object_index); Now...
Top