Asset - Shaders Draw Sprite Pos Fixed

MusNik

Member
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:

Code:
draw_sprite_pos_fixed(sprite, subimg, x1, y1, x2, y2, x3, y3, x4, y4, colour, alpha);

Demo: Download

Features:
  • True, fixed work of well-known function.
  • Perspective drawing.
  • Without using 3D.
  • Works fast and easy.
  • Optimized, clean and commented code.
  • Perfect work on all platforms - Windows, Mac, Linux, Android, iOS and other.
  • Technical support for all who purchased.
  • And even more.
You need intermediate knowledge of GML to use.

Please write a review if you like the asset and tell me your suggestions for improvement.
If you found an error in my code or my English, please contact me ;)


 

NazGhuL

NazTaiL
You make my day. Hope you'll port it to GMS2. I'm doing a clone of Eye of the beholder(on the side) and I have to manually do this to every texture and it's so long.
 

MusNik

Member
You make my day. Hope you'll port it to GMS2. I'm doing a clone of Eye of the beholder(on the side) and I have to manually do this to every texture and it's so long.
Thank you! I will soon check all of my assets on GMS2.
 

Desix

Member
This is wonderful, I've known about this problem for a long time, seems like you've sorted it out perfectly. Great job.

How on earth do you manage to add gifs to the marketplace?
 
Top