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

primitives

  1. Jared Johnson

    3D SOLVED achieving depth with multiple d3d-primitives in one draw event

    Solved: I had some random drawing code in another object. Sorry for the mistake :V Lesson is: when implementing d3d, start by removing all drawing calls then introduce them in an organized fashion. EDIT: I"m having trouble recreating this problem in the FPS tutorial, soo i'll try and figure...
  2. G

    Shadow Blend Modes

    I am currently trying to add shadows to my game which are drawn using triangle strip primitives from the corners of boxes which cast shadows. This system is working well, however as I want the shadows to be 'see through' I am drawing these as black but with 0.3 alpha, this creates problems where...
  3. 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...
  4. 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()...
  5. BMatjasic

    Windows Solved!

    Is it possible to connect a certain pointlist or a linestrip and colour it from inside? So far I am adding an x and y to a ds_map which I add to a ds_list and then draw vertex from it. Would somehow be possible to colour a certain shape or add a texture to it (which is created by connected...
  6. MusNik

    Asset - Shaders Draw Sprite Pos Fixed

    Download: https://marketplace.yoyogames.com/assets/4720/draw-sprite-pos-fixed Draw Sprite Pos Fixed asset is fixing the draw_sprite_pos function with a shader and one script. It corrects "affine" drawing method without using D3D mode. Use very simple: draw_sprite_pos_fixed(sprite, subimg, x1...
  7. D

    (Optimization) Primitives and Surfaces

    Hello. :) I was thinking about doing some optimization in my game, and found this: https://forums.tigsource.com/index.php?topic=3747.0 This is from 2008 so the question is: Is it still more efficient to use a surface to draw primitives (draw_circle, draw_line, draw_triangle, etc.) to, and only...
Top