#Different resolutions?
14 messages · Page 1 of 1 (latest)
as long as you don't have the stretch mode set to viewport in the project settings, canvas items are always rendered to the actual resolution of the window. this also isn't really a cpu problem, this is all rendering so it's more about the gpu.
although mobile devices probably have a bigger gpu-bottleneck then cpu, so the concern might still be valid.
the textures however are still the same and have to be loaded into the vram to get rendered, so while it won't render unnecessary pixels, it will still be more resource intensive than creating the project for 720p.
@gleaming hill I forgot to mention that the game is playable via browser. It's no-threads build. Currently I'm using about 15mb of vram (When I look at the debugger). All the graphics I use have been imported vram compressed.
My problem is that with older ipads CPU usage is high. Can I somehow make it lower?
well this has probably nothing to do with graphics.
The CPU is responsible for everything except the rendering. There is also the fact that certain things that can be done on the gpu on a pc aren't possible on mobile devices, like GPU Particles for example. although you are usually missing those in that case and have to use CPU based versions instead. it shouldn't automatically increase the CPU usage.
The CPU of a mobile device would probably be less powerful in general. so it would just be about optimizing your game logic. I could only help you if i know a bit more about the game: if you're using physics or not and the likes.
Also vram-compressed is generally not used with 2D, but i guess you can.
the question would also be if you actually have to optimize, it's pretty normal for a game to use most of the resources a device has to offer. But for mobile devices you probably have to make sure it doesn't drain the battery too quickly.
It's a fricking title screen that is causing me problems... I have some logo animation and CPU particles.
Cos of high CPU the audio starts to crackle
Can I send you a DM?
sure, although i don't see why we can't keep this here
which Godot Version are you on?
4.3