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

activate

  1. N

    Mac OSX Solved

    https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/instances/deactivating_instances/instance_deactivate_layer.html Per the manual it says" You need to supply the layer ID, which can either be the name of the layer as written in the code editor (as a string) or the actual...
  2. Turbulence421

    GameMaker Is deactivating worth it?

    Hello, I'm have a platformer game in GMS2 that currently deactivates instances outside the view every couple steps in order to help with processing power. However, I have heard that deactivating instances doesn't always help and it might wind up slowing the game even more if you have a lot of...
  3. C

    Can still purchase GM: Studio 1.4 keycode from a digital marketplace?

    Hello, I found a "GM: Studio 1.4 Android" keycode on a digital marketplace which is named "G2A". The thing which is confusing me is the keycodes don't sell on Yoyo Games marketplace, but when you on redeem page there is a tab which is available for GM: Studio 1.4 keycodes. To make the long story...
  4. alexhinton

    GameMaker Order of Instance Deactivation / Reactivation?

    Just as the title says...Is there an order to what instances are deactivated first when using a code like instance_deactivate_region() ? If I had to guess I would think it went by a room's Instance Creation Order? Just curious. Thanks in adavance!
  5. Simon Gust

    Legacy GM [SOLVED] Activating instances not fast enough

    I have a problem with activating instances. I'm using instance_activate_all to activate all deactivated instances. The problem is that it isn't fast enough to activate all instances before they are saved to a file. Somehow a with() loop later in that code isn't able to loop through all instances...
  6. jobjorgos

    Legacy GM why cant I add a marge to instance_activate_region?

    instance_activate_region(view_xview[0], view_yview[0], view_wview[0], view_hview[0], true); Works fine, it is just a little too small. Now I cant add a marge, whatever values I put it, I keep seeing objects dissappear at the edges. instance_activate_region(view_xview[0] - 264, view_yview[0] -...
  7. R

    Legacy GM Can't activate GMS 1.4 Android Module

    Hi! I buy a non-steam android module license on g2a.com along with a Professional license key. I activated the pro key without probem, but I don't know where to activate the module license. everithing suggest to find license tab on my yoyo account, but can't find this tab. If I open up GMS, and...
  8. T

    GameMaker Problem with activating instances?

    In the game I am working on, for some reason, all objects that are children of my enemy object don't get reactivated when deactivated. I can't see what would cause this to happen. //CREATE EVENT depth = 1; mySoulWorth = 10; mySoulDamage = 2 * mySoulWorth; collided = false; collidable = true...
  9. S

    Instance Deactivation and Views

    Hello everyone. I'm having problems in regards of instance activation/deactivation. Back in GM8, I've always done this. I have an instance called "camera" which, in the step event, controls the enemy activation/deactivation. obj_deactivateme is the parent of object for all enemies (it's...
  10. Z

    GameMaker [Solved] Making a laser between two coordinates

    I'm making a platformer and right now I want a laser that can activate a trap when the player collides with it. I have one laser emitter and one laser receiver. My current idea is to have the emitter search for the nearest receiver and then create an instance of a laser object for every 32nd...
  11. Z

    What's the best way of connecting traps to activators?

    I'm making a platformer that has an 'activator' - that is, an object that activates something when the player collides with it. I was wondering what the best way of connecting these activators to their respective traps would be. So far I've made the traps search for the nearest activator within...
  12. S

    GameMaker (Solved) activate and deactivate instance by id

    does anybody know how to deactivate and activate a instance by id? /// @description Insert description here // You can write your code in this editor event_inherited() var dx1 = screen_y; var dy1 = screen_x; var dx2 = screen_y+screen_height/16; var dy2 = screen_x+screen_width/16; for (var...
  13. Ziberteck

    HTML 5 Depth

    So I've been noticing that there is an issue with depth in game maker html5 edition what doesn't exist in the windows version. To reduce lag, as one should, i have a script that limits the objects that are active on the screen. // code ran through the step event of a persistent controller...
  14. codemouse

    GameMaker How to detect active/deactivated instances?

    I know we have instance_activate_object() and instance_deactivate_object() and so on, but is there a way to detect which objects are deactivated (or vice-versa)? Like a variable (.active) or a function (is_active())? I want to use instance_activate_region() but since it doesn't return a list...
  15. A

    GameMaker [SOLVED] Deactivating instances when hidden...

    So in my game, I have an object as part of my lighting engine that is rather CPU intensive. Whenever I have more than 3 in active at any point, my game drops from about 500fps to 40 (my game runs at 60). I've already made it so that when instances of this object are outside of the view, they are...
  16. RyanC

    Legacy GM Instance Deactivation Issue - Enemies Getting Stuck In Floor

    Hi everyone, I'm having some trouble deactivating my floor objects and was wondering if anyone can help? I deactivate the obj_floor before I deactivate the enemies but the enemies are still getting stuck in the floor. I think it's because the enemies bounding boxes could be overlapping the...
  17. S

    3D [Solved] Activating Instances that can be seen by the Camera

    Hi everyone. Nice too see that the GMC is back. Now to my problem: I'm trying to deactivate all instances of a certain object that aren't inside the area visible to the camera (the players field of view). Everything I could think of was the point_in_triangle function, like this: STEP EVENT if...
  18. N

    License Keys

    Hi, I'm Nic / NinjaNic, new to this forum. However, I'm not sure if I should say I'm new to GameMaker. Many years ago I had GameMaker and I had so much fun with it but eventually stopped using it, but never stopped making games. Recently, someone told me about the Humble Bundle deal and I was...
  19. M

    Legacy GM Can't Register An Account

    I've been trying to register an account for an hour now and am having a bit of difficulty. I've been getting this error: Are the servers just experiencing a temporary overload with the influx of humble bundle purchasers? Also is YoYo Games aware of this and working on a fix? Any assistance in...
  20. Nathan Laing

    Legacy GM Which is faster? (Re)create/destroy or Create/(re)deactivate

    Hi all, Regardless of various forseeable consequences, which is faster/most optimal? Create -> Destroy -> Recreate or Create -> Deactivate -> Reactivate
Top