1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Asset - Extension Graphics Utilities (extending GameMaker's graphics library)

Discussion in 'Marketplace' started by Dragon47, Jul 27, 2016.

  1. Dragon47

    Dragon47 Member

    Joined:
    Jul 6, 2016
    Posts:
    190
    [​IMG]


    Download demo: http://www.mediafire...s Utilities.exe

    Marketplace link: https://goo.gl/p3fErz

    GameMaker's library of graphics functions has its limits. Fundamental things like blend modes, surfaces and shaders are far from fully customizable. Graphics Utilities can give you access to some of the most powerful missing functionality, giving you the building blocks for some of the greatest graphics applications you can think of!

    Graphics Utilities uses a DLL based on Direct3D 9. The C++ source code is included.

    Features:
    • 32 scripts (see the preview on the marketplace for the names of these).
    • Commented and organized code, with 8 examples.
    • Creation of surfaces with other texture formats than the normal 8-bit RGBA. (Will create surfaces that are not compatible with normal GameMaker surface functions.)
    • Blend mode operators: Add, subtract, reverse subtract, min and max.
    • Alpha separation for blend modes. Let's you have a different source and destination factor for the alpha channel's blending.
    • Vertex texture fetching with surface textures. A great building block for things like terrain, realistic water, grass and fast particle systems.
    • Point sprites. If you have a vertex buffer of points, all the points can be turned into square sprites of different sizes facing the camera.
    • Shader creation from strings. Lets you create and compile shaders during runtime. (Will create shader resources that are separate from normal GameMaker shaders.)
    • Scissor rectangle. Lets you specify a rectangle on screen to restrict drawing to.
    • User clip planes. Lets you specify several planes where drawing is restricted to one side of the plane.
    • Cube surfaces.
    • As mentioned above, C++ source code is included.
    Note: The extension has a lot of functionality. There's a high chance you'll find a bug. If you find a bug, you can send a mail to asbjorn.lystrup@gmail.com. Note also that since the extension uses a DLL, it will not work with all export modules.

    Screenshots:

    [​IMG]


    [​IMG]


    [​IMG]


    [​IMG]


    [​IMG]


    [​IMG]
     
  2. Dragon47

    Dragon47 Member

    Joined:
    Jul 6, 2016
    Posts:
    190
    Not for me, maybe my browser have them cached or something.
    Thanks for making me aware.

    Edit: A friend of me tried loading the page, and it's working for him. I'm not sure why it's not working for you.
     
    Last edited: Jul 27, 2016
  3. elementbound

    elementbound Member

    Joined:
    Jun 30, 2016
    Posts:
    114
    Judging by the features, this is absolutely amazing. It fills some pretty big holes GM's 3D lacks.
    I'm not really keen on buying extensions because I'm mostly a do-it-yourself guy, but I'll definitely be keeping an eye out on this one.
     
    Dragon47 likes this.
  4. Catastrophe

    Catastrophe Member

    Joined:
    Sep 22, 2019
    Posts:
    223
    Heya, we're interested in this asset, and wanted to ask a question about the scissors rectangle before buying it. Basically we're making a game like FTL and wanted to have some implied "distance" between two ships separated by a line in the center. So when you shoot across it, the bullet would disappear going across the line, and then come in at a random angle. We could do this in Unity by just making a sprite_mask for each half of the map and only rendering the appropriate bullet layers. I think we can also accomplish this with two cameras in GMS, but I'd prefer not going that route. If the scissors rectangle is like the sprite_mask in Unity, that would be super useful.

    Edit: Ooof, GMS 1 only. :(
     
  5. Dragon47

    Dragon47 Member

    Joined:
    Jul 6, 2016
    Posts:
    190
    The scissor rectangle is not really a mask. It just discards whatever is outside the specified rectangle while drawing.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice