stack

  1. Bart

    SOLVED matrix_stack_top() not equal to the matrix last pushed?

    Hi all. I am currently using the matrix stack to put some transformations aside and restore them back later. This was going well initially until I stumbled on something that seems inexplicable to me. The relevant bit of code is the following (log is simply a macro defined as...
  2. Berker UCAR

    Android Stack Pixels

    2D Stack game made in 2 hours. Game Description : Tap to stack blocks. Align them in a line or they get smaller. Try to make the highest score ever! If you interested you can download it from: Google Play Store
  3. L

    Controlling stacking order of code-created instances

    Hi. I'm using Gamemaker Studio Pro 1, and have run into something which I can't seem to find an answer to. I am creating random playfields (platformer), so pretty much everything is being placed on the screen via coding, rather than manually placed by me. As a result, I noticed that the...
  4. PlayerOne

    GameMaker "Unbalanced surface stack" Error? [Solved]

    Just updated GMS2 with the new installer. Ran project to ensure everything worked and I got this error: "ERROR!!! :: Unbalanced surface stack. you are trying to pop a surface that has not been set." Cleaned the project and still got the same result. I didn't change anything before updating...
  5. Azenris

    GameMaker base64_encode stack over flow

    I have a ds_map "save_state" and the following var json = json_encode( save_state ); var encoded = base64_encode( json ); file_text_write_string( file, encoded ); But I get a crash at base64_encode. A small box opens telling me the script crashed cue to stack overflow. My "json" variable...
  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. S

    GameMaker storing command values in a int

    can someone explain how I would go about storing values in a real? I want to make a command stack where it executes commands line by line in a visual coding block sort of style I want each command to hold a single value that represents the command, subcommand, and arguments. each type of...
Top