studio 1.4

  1. M

    [SOLVED] Decreasing all existing and incoming audio's volume to half?

    So I want to have an object decrease volume for all (save for one sound) sounds in the game, both ones currently playing and ones that might start playing, to half; in other words to have all audio in-game to play at half volume until this effect wears off. How to implement? I tried having a...
  2. M

    [SOLVED] help with save/load

    Hey, so Im implementing a save/load system for the first time, Im pretty lost. At the end of my game, upon completion, it saves into a different save file than where your process during the story is saved, because you unlock stuff for the game after completing the story once. so at the very end...
  3. skeddles

    Legacy GM How to wait until surface is resized before screenshotting (Studio 1.4)

    I'm trying to take a screenshot of my entire room. I pieced together this code from another thread: view_xview[7] = 0; view_yview[7] = 0; view_wview[7] = room_width; view_hview[7] = room_height; view_enabled[7] = true; window_set_rectangle(0, 0, room_width, room_height)...
  4. M

    How to check if certain number of objects are inside view?

    Hi, how can I check: if for example 50 instances of object are inside view[0] = stuff happens? thanks beforehand!
  5. M

    Checking if there's a certain number of objects on top of/in contact with another object?

    How could this be achieved: in my top-down strategy game I have a big object, and I want to have stuff happen when there is a certain number of another type of objects on top of it / in contact with it. Lets call, for example, the big object 'obj_big' and the other ones 'obj_small'. So basically...
  6. Tonydaderp

     --------2D PLATFORMER [Working Title] Project Sayf--------

    I hope you're all having a great day. I'd just like to introduce to you a little something I've been working on in GMS: 1.4 (on and off) for about 3 months. I plan for it to be like a classic Mega-Man game, with tight platforming, various weapons (that will be manifested in the cannon having...
  7. M

    How to exit a code but not make the object exit the whole Step Event

    In an object's Step Event theres a piece of code. If certain conditions don't meet in this code, i want the object to quit the code, however not the entire Step event - the rest of the Step event outside the code i want to go on as usual. I tried with exit; but that didnt work. Or is it supposed...
  8. M

    mp_potential_step and moving to direction

    Hey! So my npc character is supposed to be moving all the time to random direction while avoiding solid objects. The object's direction is changed randomly. however, using mp_potential_step like this... mp_potential_step(direction.x,direction.y,spd,0) ...gives an error. so i'm led to assume...
  9. M

    About enemy objects' movement speed...

    So. This might have the easiest solution to it that i just cant figure out, but: i have this TDS game where an enemy object has two stances, patrolling and attacking. Patrolling means it gets a random direction and speed, and starts going around the level. (in Step Event) Then when the time...
  10. K

    Windows Not recognizing Maximize button clicks?

    In my game, I set the option to allow the user to resize the screen, keeping the aspect ratio. However, the first time the maximize button is clicked in the window bar, the runner seems to not recognize it. The screen is maximized, but it doesn't adjust the aspect ratio or rescale/reposition...
  11. R

    Legacy GM No Marketplace tab?

    Hello! I'm using the most recent version of Game Maker Studio 1.4, and the "Marketplace" tab seems to be missing. This means I can't get access to a bunch of 1.4 assets that I spent a good amount of money on. Was this intentionally removed from 1.4, or is there something else I need to do to...
  12. Silversea

    Legacy GM string_insert causing memory leaks in GMS?

    My game was experiencing a memory leak recently and by removing all other objects and code, I've narrowed the problem down to this: //Draw Event //draw nmbv with 3 digits, adding 0 to front if number < 100 sbno = nmbv; repeat(2) { if string_length(string(sbno)) < 3 sbno =...
  13. Cameron Clark

    3D 2D and 3D?

    Does anyone know if it is possible to have both a 2D and 3D game? As in the same project? I know that there are both d3d_start; and d3d_end; but the textures always appear red and black when transferring to 3D, and the rooms are messed up when going back to 2D.
  14. M

    Recording your gameplay in-game, Age of Empires-like...

    So yeah, i get that this might just be a bit too far-fetched, but is it possible to code your project to kind of re-play a game you've played? That is, akin to several strategy games like AoE series, Rise of Nations, etc. where you can go to 'Recorded games' file and replay the game from...
  15. M

    Randomized things always randomized the same way when testing?

    So basically, i have codes like random() and choose() in use on many parts of my project. For example, in a room, i want the music to be random upon room start, so i use audio_play_sound(choose(music1,music2,music3),0,0) you get the idea. However, no matter how many times i test the game it...
  16. M

    Empty compile error window on launch

    So, i've had this one before and it seems a common problem with Studio 1 overall, but when i get an empty Compile Error window upon testing, it usually solves the issue to close and reopen the project. I also cleaned the compile cache, yet still after these fixes the empty Compile error screen...
  17. M

    3D game keeps crashing oddly

    Recently i've imported an old GM8.0 first-person shooter game of mine into Studio 1.4. I got the project working fine after removing some obsolete functions and changing some scripts for textures, but the game still crashes oddly sometimes when a room changes, like when you just move to a next...
  18. M

    Textures all messed up in an Fps game on Studio

    So, i've imported an FPS project i've been doing for years now - started way back on GM7.0 - into Studio 1.4. However, upon testing (after cleaning up all the obsolete functions) the 3d textures appear all messed up although the game still otherwise runs just fine: for example, character sprites...
  19. M

    How to make objects wait in line and perform events only after the one before?

    So basically, my strategy game has quite a bunch of announcements appearing to the player in the middle of gameplay, be it 'you captured this city' or 'this guy has died here or there'. They don't pause the game, just read on the screen awhile before disappearing. But if there happens to be a...
  20. M

    Instances don't work anymore when room restarts

    For some reason it only happens in a certain room. When the player loses, the room restarts. Normally it works just fine and the room starts over again with all instances doing what they should. In one particular room, there's three objects; player, enemy, and a text object (tells the...
Top