textures

  1. 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...
  2. 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...
  3. 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 =...
  4. Azenris

    GMS 2 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...
  5. Azenris

    GMS 2 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(...
  6. Zaid

    GMS 2 [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...
  7. Hello1423

    GMS 2 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...
  8. 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?
  9. 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...
  10. 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...
  11. 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...
  12. 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)...
  13. 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...
  14. H

    GML How to have objects colored with uniform pattern no matter their angle?

    Hi, I am new to Gamemaker Studio 2 - I would like to be able to create an object that can be laid down in any direction around the player, except that the appearance of the object's pattern/texture is uniform no matter the direction of the object. Hopefully the drawing below shows what I am...
  15. D

    GMS 2 Rotating Textured Primitives

    I'm trying to come up with a method to draw arbitrary polygons with a texture so that the whole thing (shape and texture) can be rotated as one. The shapes will represent physics objects, similar to the ones in Super Sharp: I've already managed to draw an arbitrary polygon with a repeating...
  16. TotallyAverageGamez

    [SOLVED] Transparent 3D Textures Problem

    Hey All, Working a bit with the 3D in GMS2 and came across this: Wondering if anybody else has had this problem? The box I am trying to create looks like this: Here is my creation code: //Internal z = -50; scale = 50; #region //Mesh Vertex Build /* VARIABLES (Baked In) Buffer Name...
  17. Y

    Legacy GM blending 2 different tiles

    so currently I have a sand and a grass texture next to each other (they are tiles) is it possible to make them blend together to get a more natural look because it's quite strange to have sand going straight into grass. I looked into texture blending but i'm not quite sure if that is what I'm...
  18. W

    Legacy GM [SOLVED] Graphical glitch with Intel GPUs?

    This problem occurs when playing the game with a integrated Intel GPU especially in the likes of laptops that has dual GPUs. When playing the game, it became glitfchy like this: It is unclear if this is just the Intel GPU being upset or is there anything wrong with the loading process. Is...
  19. G

    Question - Code "Failed writing textures out - clear asset cache" x 2... and strange behavior

    I am starting to get the error message "Failed writing textures out - clear asset cache and try again" message frequently. This can happen even when I haven't edited a sprite but merely changed a sprite name. More oddly, sometimes I have to clean twice, which makes absolutely no sense. This...
  20. W

    [SOLVED] Repeating a texture when using primitives

    I'm using the following to render a texture to a primitive: draw_set_colour(c_white); draw_primitive_begin_texture(pr_trianglelist, sprite_get_texture(tSlope, 0)); draw_vertex_texture(x, y + sprite_height, 0, 1); draw_vertex_texture(x + sprite_width, y, 1, 0); draw_vertex_texture(x +...
Top