timeline

  1. Sargonnas

    Boolean variable seems to be ignored

    I.D.E. 2.2.5.481 Runtime 2.2.5.378 I'm having an issue where my Puppeted variable is not getting updated by a timeline. I have confirmed that the Puppeted variable is not being set to true by the timeline by printing debug messages and printing its status on screen while playing. Other moments...
  2. ShadowLenz

    Windows Sound doesn't play in the moment that it needs [Solved by myself, dont worry ouo]

    Quick perspective: have a street, in there 3 cars appears, each car have a timeline sequence that i prepared. first i did the sound and the vertical speed (-30) into the same time moment, and did not work, the first time it sounds at the time specifed, but at the moment to repite the secuence...
  3. Diamond Hunter Zero

    How To Repeat Timeline Moments! [SOLVED]

    This is a call out for assistance on how to effectively repeatedly execute moments within a single timeline within GML. As part of a game I'm working on, I want to employ a cut-scene mechanic where distinct stages of cut-scenes are all written as a sequence of timeline moments. This means that...
  4. Megax60

    Bullet collides but not at the same time

    i set a certain type of bullet stop when it collides with a wall, but for some reason in the next step its not colliding with it, this happens randomly but i never use rng(except for visual effects) obj_bullet step event: var block; block = instance_place(x,y,obj_solid); if (block != noone){...
  5. Suzaku

    "other" keyword in timelines?

    Im trying to use the other keyword inside of a timeline which is used by a object. The timeline is called in a colision event between 2 objects, but the other keyword doesnt seem to point at the other object involved in the colision event, I dont know why. I even tried the with statement inside...
  6. M

    stack frame and undefined error

    i have created a timeline that makes a fireball move forward, but it says it is undefined and i have a "stack frame" my code is "obj_fireball.phy_position_y -= 3" i haven't used this website before, so sorry if this is posted in the wrong place or not worded well. if anyone has any idea , please...
  7. E

    GMS 2 [Solved] How to run a large number of repetitive step events in a timeline?

    I want to set up a timeline in my shmup that will: - Spawn an obstacle - Move that obstacle around the screen for a few seconds - De-spawn the obstacle and announce that a new obstacle can now be spawned I know how to get everything but the second point working. I don't want to add movement...
  8. M

    Randomness in timelines

    So I've been making some kind of randomized-Bullet-Hell type of game, and not too complex of course since it is my first time using code and GameMaker. I'm using a timeline to create all of the bullets and the instances, which work well, except for one detail: No many times how I restart my...
  9. Vinsane

    GMS 2 (SOLVED) Building a Pause Game code

    Hey there, I'm currently stuck on creating a pause system for my game. My game currently runs on a timeline based system and because of this it is causing me a bit of grief when allowing the player to pause the game. I would like to know if there is a way I can pause an individual timelines...
  10. B

    Legacy GM Timeline Not Working [RESOLVED]

    I have this code to create a timeline and add these 4 scripts to moments 10, 20, 30, 40. global.tl = timeline_add(); timeline_moment_add_script(global.tl,10,scr_leftsensor()); timeline_moment_add_script(global.tl,20,scr_upsensor()); timeline_moment_add_script(global.tl,30,scr_downsensor())...
  11. Bladevampirek

    I need my character to come on screen every 5 minutes.

    Hey guys, I am designing a point & click interface program, It is currently mostly built with drag & drop functions, but I wouldn't mind using some codes if it's necessary, it's fixed where users can flip through it and read a lot of information. Every 5 minutes, I want my character to run...
  12. S

    How to make the timeline work?

    Hello! The timeline I put together is a cutscene for my game. I made it so that every action in each moment is just to move into the next room. I use this code: room_goto ( rm_sample) To activate the timeline I created an object and used this code: timeline_index = tml_cutscene1...
  13. P

    Legacy GM Timeline stuck on step 0?

    Hello, i have no idea why this is happening so i have my object which runs the timeline so in the step event: timeline_index = tl_cutscene1; timeline_position = 0; timeline_running = true; timeline_loop = false; then the timeline actually runs but only the code in step 0 of the...
  14. M

    Problem when grabbing several items

    Hey everybody. My skills with game maker have been improving considerably, but I still have some doubts and I'll be very grateful if you help me. I've want to create items with which the player can "call" special strikes against the enemy. For example, the first item I made is for calling a...
  15. A

    GML Typewriter style text not drawing correctly via Timeline

    All that follows is executed via a timeline So I have a cutscene type thing, that flips between two rooms, seven times (then flips to new room the eighth time). On the 1, 3, 5, 7th time, I want text to write (in typewriter style). Now I've mostly achieved this but the text only writes on 1...
  16. BlakeNBitz

    [NOOB Q] How to start a timeline upon collision?

    Hey y'all, I'm pretty new to game maker and programming so apologies in advance.. I want to have my obj_Exit, to run a timeline upon collision with obj_Player. I set up a timeline that would wait say... 120 steps then switch to next level. Is my code wrong? Is there an easier way to do this...
  17. A

    GML [SOLVED] Problem with variable used in array. Incorrect dialog displayed.

    I'm having quite a weird problem (from my perspective at least). I'm using a variable "writing" to store a value to use in an array dail_in[writing]. But what happens now is that in the first two sentences the dialogue reads "0" and only at line 3, and onward, does it start displaying the...
  18. M

    GMS 2 Question about timeline usage

    I did this: 1. create a object 2. create a room and place the object before into the room 3. create a script named it with src_test, typed code with show_debug_message("test") 4. add event the type of create for the object, and typed the flowing code show_debug_message("bbbbb") global.tl =...
  19. D

    Legacy GM Timeline doesn't set the object's variable.

    I have this code in my timeline: with(obj_chaser_snare) { beat=20; } It should change the value of beat for every chaser object. It doesn't. Why? How to iterate through objects in timeline?
  20. zendraw

    Legacy GM Q:Instance_deactivate/activate and timelines

    how does instance deactivate affect a timeline that is dynamically created with timeline_add? yestarday as i was testing i wuld set a timeline to destroy the a instance i dont want, also as theplayer moves he activates/deactivates an area around him but one instance didnt get destroyed for some...
Top