textures

  1. 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...
  2. D

    GameMaker 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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 +...
  8. W

    Windows flushing textures [SOLVED]

    I'm having some issues with small stalls at the start of a particular level in my game. I can see no major differences in this level that stalls at the start, and any other level in terms of how demanding on the system it is. I've organised my graphics into texture groups, and I am using load...
  9. W

    Windows game performance terrible! 'textures on demand' ?

    Hi GMS'ers I've recently expanded my game out from 3 rooms to 12 rooms, added a fair bit more graphics and sound. It has jumped up slowly over the last couple months from a 110mb package to a 250mb package when the project folder is zipped. game performance is now terrible on my dev PC...
  10. C

    Android How to preload textures?

    Hello, I'm wondering how to preload my image textures on memory so no having this FPS drops when some sprites appears for the first time to the game. I've seen that there's enough to draw my room sprites on the Room Start event of first object of my room but this seems not to be working for me...
  11. G

    Legacy GM draw_vertex shenanigans [solved]

    So I made a hook for my game, and I wanted it to add some effects with the primitives. I added little sparkles around the hook, and also a chain. But since I added the chain code, everything went nuts! as you can see it keep drawing everything ( the hook sprite, the chain and the text which is...
  12. B

    Legacy GM Applying One Texture Across Multiple Faces?

    Hello, I've been using GM for several years now but this is my first time posting on the forum so forgive me if I make any mistakes here. My problem is thus, I'm creating a game in which I have a number of textures, like this: I need to resize one side of these textures so that it appears...
  13. T

    Question - IDE Where is 'Create Textures On Demand' for Windows?

    In GMS1, you could prevent all textures from loading into memory at once by a check box in the global game settings for the Window platform. To quote the manual, it says it exists in GMS2: But I can't find it anywhere in Game Options for Windows. Where is it exactly, hasn't it been added in...
  14. E

    2.5d textures? Help

    I can't rember if there is a name for it (I think its 2.5d but I may be wrong). But my game involves citybuiling aspects. And as part of this I would like to make it so that when the camera moves around you can see walls that would be normally visable irl. I just want this as a visual tjing ...
  15. BMatjasic

    draw_vertex_texture, repeated triangle texture

    Hello everyone, Recently I've been messing around with vertexes and I wonder, how would I be able to apply a repeated texture on a triangle, because I've been pretty unsuccessful with xtex and ytex arguments... The way I currently draw it is: DrawTerrain()...
  16. Ruimm

    iOS different images based on device resolution?

    Hi all! I'm making a game that will be available for iOS and Android but I'm not sure how to deal with textures for the different device resolutions. The game will not have pixelated graphics so I need a solution that will scale correctly. In the past, using other engines, I had different...
  17. Gamer (ex-Cantavanda)

    Graphics Why are AAA textures so crappy?

    Hello there, I have a question, why are the textures of AAA games created this day, still so crappy? I mean, when I get up-close to them, they're all a pixelly mess, if it's something like stone or character clothes. The reason why I find this weird is because Skyrim mods have better textures...
  18. Joe Ellis

    3D Is there a way to get anisotropic filtering working with external textures?

    Is there a way to get anisotropic filtering working with external textures? My project looks terrible just because the anisotropic filtering extension (by manta games) stops working on any textures loaded during runtime and my game needs this as textures are altered during gameplay can anyone...
  19. Binsk

    Legacy GM [UNSOLVED] Texture pointers and DLLs

    Hello, everyone. As far as I can tell, GameMaker uses 'actual' pointers in two cases: 1. Buffer addresses 2. Textures Now generally when I want to pass a lot of data to a DLL I'll store it in a buffer, get the address, and pass that address in. I can then easily open it up as an array and get...
  20. Tthecreator

    weird lines showing on drawing textured primitive

    So I was trying to make something representing a button, by "stitching" together sprites. I wanted the middle part to "tile" (so the texture repeats) and thus texture_set_repeat was turned on. I then noticed some weird lines in the middle and on the sides from which I'm unsure where they come...
Top