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

texture swaps

  1. T

    Question about tilesets and texture pages.

    In order to define a tileset, you must first create a sprite reference for that tileset. Interestingly, you're able to assign separate texture groups for the tileset and sprite. So I had a thought- could I save space if I put the tileset on the main texture page and the sprite on another...
  2. CoolGiraffe1

    GameMaker Using event_perform for drawing breaks vertex batch

    To help with my game performance I'm using a controller object to draw the characters on screen, and i have noticed something weird: with(obj_char) { draw_self(); //example for draw code, mine is more complex } If i draw the characters like in the example above it doesn't add any texture...
  3. RyanC

    Legacy GM Question About Texture Swaps

    Hi Guys, Does anyone know what's best out of using less texture swaps of 2048 or more texture swaps of 1024 size pages. I remember testing this about a year ago and found that my game runs faster with lots of 1024 texture swaps rather than loading 2048 pages. Only thing is, I think this may...
  4. K

    Shaders Color-remapping Shaders w/ CLUT surfaces

    So, in my game project, I made a shader setup that recolors characters according to a local surface that acts as a color lookup table. When drawn, the shader is called, a stage parameter is set as the texture of the CLUT surface and basically remaps the colors from the top row to the colors in...
  5. zingot

    Setting up Texture Groups

    I am presently using a 2048x2048 texture page within the GGS properties for both Android and iOS. I have a world tilesheet imported with 64x64 tiles and will surely be texture page swapping when other world tilesheets are included. For this reason I intend creating texture groups and subsequent...
  6. G

     Is this normal? 6 texture swaps/frame when I have only 1 texture page?

    I'm using GMS2. Running the game in Test -> VM, the debug overlay consistently shows 6 texture swaps per frame and 10-13 vertex batches per frame. But my game has 1 texture page. In both the Windows and Android settings, the texture page size is 2048x2048. When I preview the texture page...
  7. RyanC

    Android Android creates more texture swaps than Windows

    Hi all, I've recently noticed that Android has been creating two more texture swaps than the Windows version of my game. Does anyone know anything about this? I've also noticed differences in the amount of batch swaps, they are extremely less on Android than Windows for my game when drawing...
  8. K

    Legacy GM Can Someone Explain Texture Pages / Texture Swaps

    Hi guys, I read the manual and am a little confused. It says that one of the things you should look at is texture swaps, and: "if this value is high (over 15-20, for example) you really should look into ways to optimise this as it will affect the performance of your game" I have a project...
  9. P

    CPU spikes from GM:S with large texture project

    Hiya I'm running an Intel i5 @ 2.67 ghz with 6.00 GB RAM on Windows 7. My PC game project uses a great many large textures. When I compile the info I get is: Process Chunk: TXTR 23822680 Total memory used = 68085750(0x00499649) bytes I've seen when I load the project in I'm getting regular...
  10. RyanC

    Legacy GM Vector Sprites Causing Hundreds of Texture Swaps

    Hi everyone, I'm getting hundreds if not thousands of texture swaps while using SWF vector sprites! This project is 10 months on the way and all the backgrounds have been completed after many months of hard work. Today I found this bug report online which states that in GMStudio SWFs use...
Top