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

  1. JackAstral

    HTML5 Random texture pages failing to load in HTML5 export

    My HTML5 game loads and displays correctly when testing locally - but when uploaded to a website like itch, or Newgrounds, it always fails to load one or more texture pages - leading to black blocks in place of some sprites. The texture pages that fail to load are different everytime. The...
  2. 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...
  3. L

    Align Texture Group

    I have these LUTs Maps divided by subimg's to make an effect. I want them to show in a line, like this: Is it possible to make this change in the Texture Page?
  4. S

    Sprite Swapping For Enemies VS Individual Objects

    I’m designing a platform game that will have different enemies depending on level/room and I was interested in whether just changing an object’s sprites based on the level/room was a potential way to go? For example: Each level/room would have an enemy that crawls back and forth along a platform...
  5. P

    Legacy GM Replacing a sprite on a texture page

    I'm working on a dungeon crawl-esque game, and I'd like to allow users to create entirely new content for it. To do that effectively, they need to be able to import sprites for their new items, enemies, terrain, et cetera. Terrain, though, poses a problem, since I'm using a primitive to render...
  6. S

    Texture page and sprite px size

    I am considering using Game Maker Studio 2 to make my first mobile game/app and before I make the plunge and purchase the license I would like to clear some of my concerns. Most of my sprites are around 400 by 700px, (for most of the game, making them smaller reduces the quality and not...
  7. jf_knight

    Legacy GM Deleting texture pages

    I trying to implement some shockwave effects into my project (https://marketplace.yoyogames.com/assets/5696/shockwave) I've noticed something when running the example in GM:S while the task manager runs in the background: The more shockwaves I make, the higher the RAM usage of the example...
  8. S

    Legacy GM [solved] Texture pages placing some sprites too close together while stretching others?

    A few of my animated sprites have a flash of a different sprite in their sprite. Looking at the sprites in GameMaker, there's no issue. So I looked at the texture page preview, I started to notice the larger sprites on the texture page are stretched by 4 pixels. So a 480 wide sprite is 484 a 860...
  9. P

    Legacy GM Large, animated sprites

    I'm about to animate a boss at a size around 400x350. Should I be worried about the amount of frames when it comes to the texture pages or something? I know if my sprite is too big it will be scaled down. But if I have my boss sprite set to a texture page and have 30 frames, so that it exceeds...
  10. clee2005

    Question - Code Determining which texture pages are used

    Hey all, I'm trying to optimize the texture swaps and there are a lot of pages with a lot of different sprites. I reduced to 1024x1024 and now have 60 pages. The swaps are running at 90+ where I had it at 10 swaps for 2048x2048 but it was killing older devices. 1024 pages seems to be...
  11. E

    Question - IDE Texture Pages and Subimages

    According to the manual, GMS2 will not split up a large sprite resource across multiple texture pages. Which makes sense, for single images. It's the word "resource" that has an unaddressed ambiguity: If all of the combined subimages of one sprite resource do not fit on a single texture page...
  12. Sean Catherine

    Discussion "Optimization" —A New Guy's Take-Aways... [SOLVED]

    I've been reading a heck of a lot lately on the forums, trying to get a grip on how to go forward with my project. "Optimization" seems to be the most prevalent, important subject I'm seeing... Here is a numbered list of points that I'm either confused about, or am way off in terms of...
  13. Z

    T:Texture pages tests

    So texture pages, theyr sizes and the performance buged me for some time now and i decide to make a straight foreward test. 10 sprites with 64images each with a size of 256x256, so 1 sprite is like 1 2048x2048 texture page. and from there on i change the size of teh texture page from 2k to 4k to...
  14. S

     Suggestion: Texture Page Inheritance (one asset on multiple pages)

    Hello, It has recently come to my attention that there is no real efficient way to handle texture pages in a top down Hyper Light Drifter-style game. Since the draw order matters so heavily for rendering everything in perspective, it becomes impossible to have any real semblance of sanity...
  15. Z

    Graphics Q:Texture pages

    So im not sure if this is teh right part of the forum, its not a programming question so this one seemd most logical. the Q. when is it best to use a larger texture page? like i usually go with the default, but recently ive been dealing with more graphics and i get alot of texture pages and...
  16. 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...
  17. T

    Android background_get_uvs returning incorrect values

    On android, background_get_uvs(bg) seems to always be returning (0, 0, 1, 1). Since the background is on a texture page with other images, this is obviously not correct. On windows I get the correct uvs. Is this a bug, or is there something I'm missing? I can get around this by having the...
  18. RyanC

    Legacy GM Texture Page - Inconsistent Mapping

    Hi everyone, I noticed that 4 frames of a sprite have now been pushed onto another texture page. After spending ages optimizing the size of the sprites so they fit onto a 2048 x 2048 texture page Game Maker has now decided that they no longer fit on one page. The only thing I done since it fit...
  19. H

    Legacy GM Sprites That Don't Take Up A Page Each

    So I'm making a game where you basically create your own sprites for many of the objects in game (it's a tycoon game where the player is building different objects to sell. Every object they create to sell gets it's own custom sprite). I do this by transferring the sprite the player makes to a...
  20. S

    Question - Code sprite_add()

    just two quick questions - does the GMS2 version of sprite_add() take in account existing texture pages or does it still create a new texture pages like GMS1 did? - if not does yoyo games plan on making it use existing texture pages? maybe with sprite_add_ext()
Top