count

  1. JapanGamer29

    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...
  2. Edwin

    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...
  3. 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...
  4. 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...
  5. 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...
  6. id07

    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...
  7. jb skaggs

    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...
  8. 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