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

linear

  1. CardinalCoder64

    GML Guide to Basic Slopes Using Linear Math and Geometry (Object-Oriented, Top-Down)

    GM Version: 2022.1+ Target Platform: All Download: N/A Links: Basic Slopes + PPOBC* Projects (GitHub) *Pixel-Perfect Object-Based Collision. Learn more. Summary: In this guide, you will learn how to implement basic object-oriented slopes in a 2D top-down game* using linear math/equations and...
  2. V

    How do I get these two co-ordinates?

    Heyall I'm using the draw_sprite_pos function to draw a sprite on an angle according to a top-central horizon point. With the help of image scaling I have determined the top left and right two circles and their respective x and y positions. (green) as well as the bottom blue circles y...
  3. FrostyCat

    Asset - Extension GMLinear 2: Easy matrix and vector operations for GMS 2.3.3+

    GMLinear 2 Easy matrix and vector operations for GMS 2.3.3+ Overview GMLinear is an implementation of matrix and vector operations in pure GML. You can use it to simplify many common calculations in 2D and 3D geometry and implement algorithms/formulas involving linear algebra. Features Easy...
  4. E

    GML [SOLVED] Smooth "point_direction" problem.

    VIDEO: Hello! I have a problem with the angles, using point_direction. So basically, hammer weapon (object) have this Step Event code to return the direction of mouse position: mouseDir = point_direction(x, y, mouse_x, mouse_y); image_angle += (mouseDir - image_angle) * 0.25; This works...
  5. E

    GML Linear interpolation (lerp) analogues?

    I want to slowly "move" my value from, for example: 2 to 0 without "this": Sometimes, values that need to slowly decrease or increase are starting to "twitch", trying to get into a certain interval or position. How to fix it?
  6. Z

    GML Q:Linear Approximation (Newton)

    Hi, so ive came to know about a linear approximation method from a video about how quake 3 devs optimised it and a guy gave a link to this site for more detailed explanation. http://www.math.brown.edu/UTRA/linapprox.html#top but i cant understand this way of explanation so i decided to ask...
Top