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

textures

  1. COWCAT

    Android How to lower texture resolution on mobile by half "automatically"?

    Hi, I am trying to prepare a mobile version for my high res, hand draw animated game (which has a lot of sprites frames) Right now it works but even on 3 GB Smartphones it will still crash regularly due to out of memory. It appears apps on mobile can use only like 50% of the system RAM+VRAM...
  2. Jason Coggins

    SOLVED Issues with a black grid showing up on a sprite that has no grid

    I am using an image for the background instead of a solid color and I have the room grid turned off and the Interpolate Colours Between Pixels unchecked (turned off) but for some reason the background is drawn with a black grid on it. The original image imported into GMS does not have a grid on...
  3. FoxyOfJungle

    Shaders Get UV coordinates to use with second Sampler2D texture??

    Hello! So I want to calculate the coordinates/uv of a secondary texture in a shader. (Skip the "Separate Texture Page" option). I've looked on SEVERAL websites and couldn't solve it! I already have the texture coordinates using texture_get_uvs() and I already pass it to the shader using...
  4. M

    Red lines appear horizontally in backgrounds in-game?

    At the start of my game, players can choose Normal (keep aspect ratio) or Widescreen (full scale) resolution. With Full scale, thin red horizontal lines appear in the backgrounds of some rooms. Even on rooms with no background, just a color. With Keep aspect ratio, they dont appear. My game...
  5. AcroGames

    Prefetching all sprites

    Can I use the Action sprite_prefetch() as: sprite_prefetch(all); to prefetch all the graphics in the game at once - would this cause a big freeze with a lot of textures in my game? I'm thinking since if you go back to main menu from a new game, all those textures flushed previously during...
  6. T

    SOLVED Sprites/Textures Seem to Shiver Depending on Camera Position [Help needed]

    So I seem to be having some problems with sprite/texture rendering when I zoom the camera, or sometimes when the camera simply moves. I took this video so you can see what I mean. I have ticked the tile horizontally/vertically on the sprites but it hasn't really seemed to help. Any advice on how...
  7. E

    HTML5 Facebook Playable Ads, problem with textures

    Hello readers, I hope you are having a fine day. I am trying to upload my HTML5 game to create a Facebook Playable Ad and its not working for no reason, so I decided to create a new empty game in an attempt to pin point the problem. The new game which only contains a room and an object that...
  8. T

    Graphics Making textures

    Hello everyone. Been having a hard time finding tutorials on creating textures for a game, even the tutorials and practice work I'm doing doesn't really go into it. I'm going for something with a Paper Mario look for it. A combination of 2d and 3d objects with a cartoon type of texture on it...
  9. COWCAT

    Question - IDE GMS 2 annoyances and suggestions

    Even though I've been using GMS 2.0 for a while (for Nintendo Switch ports especially), I've only recently fully switched to it. While there are many aspects I love (tabs and bookmarks for scripts <3, CTRL+T to search on resource names...), there's also some inconvenient stuff. - The sprite...
  10. Wile94

    GMS 1.4 Shader/Texture interpolation on fullscreen trouble

    Hi, so basically I'm testing the code from this video: In the create event I have something like this: color_sets = 4; color_row_index = 1; v_offset = shader_get_uniform(shdr_palette_swap, "Offset"); v_normal = color_row_index/256; palette_swap_sampler =...
  11. Azenris

    GameMaker Repeat Sprite Edge [ Solved]

    Hi, I was wondering if anyone could help with repeating the edge of a sprite. Kinda like how the inbuilt texture-packer-thingy-ma-bob makes a border. Currently I draw my sprites with draw_sprite_pos. for ( var _s = 0; _s < _spr_images; ++_s ) { var _si = ( _first_emissive_sub_image ? 0 : _s...
  12. Azenris

    GameMaker How do I get the sprites texture

    How can I check a building vertex buffer if the texture isn't the same and a break is needed. I was supplying a function with sprite_get_texture( _spr, _num ), and storing a global, checking if its new. However I noticed that every sprite had a different ID. I checked with show_debug_message(...
  13. Z

    GameMaker [SOLVED] Multiple textures on a single vertex buffer

    GMS2 IDE v2.2.1.375 GMS2 Runtime v2.2.1.291 Preface: I have been briefly learning how 3D works within GMS2 and am trying to write a simple 3D game by scratch so I understand all of the ins-and-outs. No 3rd party extensions and 3rd party scripts are only allowed if I fully understand them. Just...
  14. Hello1423

    GameMaker What creates new textures?

    It seemed like I had a pretty severe memory leak, so I checked the debugger and after about a minute it's listing 2000 textures and growing. Only one of these textures has a given size (1.34 MB), but is this insane increase in the number of textures the memory leak (or at least part of it)? What...
  15. IGameArt

    Asset - Graphics Alien Craftworld Pack: $2.99

    Hey guys, released another asset pack. I hope you like it! I had a good time making these, and I hope that you enjoy them. What would you like to see in possible future packs?
  16. Nathan Laing

    Legacy GM Drawing multiple textures along a single path

    Greetings, Is it possible to draw multiple textures along a single path? The most excellent "Ribbon Project" shows how to draw a single texture along a path and even alternate between this single texture--however, I would like to able to draw a mix of textures in a random pattern, say, like...
  17. G

    Legacy GM Applying High Res Texture - Pixel Art

    I have a view resolution of 240x135 and a view port of 1920x1080. This means that the graphics are actually displayed at the higher resolution. When I draw a texture on top of the game window with the GUI layer using a subtract blend mode, I get this nice looking effect where the graphics look...
  18. FeetUpGaming

    Legacy GM Multiple textures from one background

    Hey i was just curious is there a way to get multiple textures from the same background by putting in the coordinates, width and height of the place on the background to get a texture from it. I'm trying to replicate the way Minecraft handles it's mob textures by having that single image for...
  19. S

    Legacy GM Android crash (_Z23GR_Texture_Create_BytesiiP18DynamicArrayOfByte)

    I was digging through my Android crash report and found a few crashes. I haven't seen them myself to know. What does this error mean? I did a few google searchs. 2 results showed up, but I couldn't find the solution. Here is the full error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)...
  20. 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...
Top