Elektrine lite

← Feed

@YoSoyFreeman@mastodon.gamedev.place

Post #2412108

2026-05-02 16:40 UTC

@memoriesin8bit@mastodon.gamedev.place I have experimented with 2D content scale and got good results, only issue is that scale ALL 2D elements (Including sprites and such) The game actually has a main node which contains a world3D, a World2D and GUI, so separation of concerns is addressed. I was thinking in adding a canvas layer under each world and UI, so i can specify a resolution for the 3D elements without affecting GUI.

Replies (1)

  • @YoSoyFreeman@mastodon.gamedev.place "specify a resolution for the 3D elements without affecting GUI." so like 3D resolution scale does it? :D Yeah yeah I know. Tho I didn't know content scale factor wouldn't only affect canvas elements. But makes sense. It is meant to keep things consistent - for a game that is. Then again that's all assuming leaving viewport width/height alone. Logistically my shitpost idea of mapping resslutions to 3D res scale seems the easiest idea.

    Open ##2412110