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

count

  1. WWAZman

    SOLVED custom high score save and reset not working?

    hi all.. I previously had a fully working simple game, Bonnie Counter, which hasn't been updated in what feels like eons.. it's a simple counter with a sound effect or three, that has a "all time high" as well as "this session" .. This session works, but now All Time High has broken, and neither...
  2. K

    [Solved] Need help with currency counting

    Hi there, non-programmer here teaching myself GM2 - I've set up a system to count how much currency my player has, however, there's a way to trigger the count twice on each chest object if the player collides then re-collides with the chest object before it's animation is done playing, which is...
  3. J

    Steam Need a Steam API call that counts total leaderboard entries

    Hi. The Steam API has the following function: int GetLeaderboardEntryCount( SteamLeaderboard_t hSteamLeaderboard ); ( https://partner.steamgames.com/doc/api/ISteamUserStats#GetLeaderboardEntryCount ) But there doesn't appear to be an equivalent API call in GameMaker. I'd like to be able to...
  4. E

    GML Help with typewriter effect bug, please!

    Hey, people. I have a simple typewriter effect for my text but it's lagging after the line break. How I can fix it? Code: /// Create Event message = "Hello, World! This is my typewriter effect test!"; count = 0; // Step Event if (count < string_length(message)) { count ++; } // Draw Event...
  5. N

    Count instances that have a particular variable

    Hi all again, how would I get it, so that I can keep track of the bullets with variable 'personWhoShot' equals to "red". Instance_number(obj_bullet) works fine, but it detects all the bullets. So personWhoShot="blue" too. I tried it with the 'with'-statement, but when a red bullets gets...
  6. A

    Legacy GM [SOLVED]accumulate things to pressed a giant button

    If something falls on a button(player or enemies) it will be pressed, but to pressed a giant button it will require more weight. Every object has a "size" variable that is 1(though I plan to put giant enemies with a bigger number). The problem here is that I can't figure out how to stack/combine...
  7. mafon2

    Legacy GM It's me and counting again

    Hello, Down with stacking (you can download it from here, btw: https://yadi.sk/d/_-RdIMGe3Gnxm8 (controls: arrows, space, R)), now I'm making color matching game. And I need to count blocks again, but this time I want to count all adjusted blocks, so for example, if there are 5 or more blocks...
  8. I

    DnD simple number counter?

    I was working on a really small game where I have multiple functions activate when you click on a specific object with a mouse. And I wanted to have 2 separate objects that when you click on one of them, it shows (draws) integers/numbers count upwards on screen. I managed to do this with the...
  9. J

    Legacy GM (Solved) Is there a way to count the number of sprites in a game?

    How would I go about counting the number of sprites in a game and then sort them into groups? lets say I have 500 sprites- but I need to find out how many are floor sprites versus weapon sprites? i'd assume I would name the sprites: sprite_floor0 sprite_floor1 sprite_weapon0 sprite_weapon1...
  10. Dragon47

    Free Lines Of Code Counter

    Lines of Code Counter This program analyzes your code and gives you numbers on how many lines and characters you have in your GM Studio project. When you've chosen a directory and pressed ok, you'll be presented with the information. The text is automatically copied to the clipboard. It would...
Top