Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Draw Type

A topic by trippity created Jan 06, 2022 Views: 221 Replies: 3
Viewing posts 1 to 4

Hey friend,

Great looking package! Just a question regarding draws. Is the rendering in the Draw event or in the Draw GUI? Due to the nature of my game some of the 'UI' isn't in the GUI layer..been struggling to get the lighting working without affecting certain objects.

Developer (2 edits)

Hello trippity,

If you want to use the Draw Event you can just force these objects to render After the glare controller (that is on a layer with depth -1000 )


(Remember that if you use the gamma rendering mode, the used event is Post Draw, so you have to match that event also on your UI object)
Let me know if it solves the problem 

(2 edits)

Thanks for that Tiz, just bought the pack - Amazing work!

Just a question about cameras as I'm having some rendering glitches. My controller has gamma rendering set to false. If I use your method of lerping to the x&y coordinates of the player. The render is fine however then my character is jittery.



If I use my method of:

    xTo = player.x;

    yTo = player.y;

   cam_x += (xTo - cam_x);

    cam_y += (yTo - cam_y)

My player is smooth but then the shadow layers are misaligned by a px as shown below:



Did you face any of these problems with your games? I have tried super sampling to try reduce the jitter but that didn't help either.


Thanks in advance!

I resolved this, was an issue with how my camera was being setup. Thanks anyway!