Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Deleted 16 days ago

Hey!

It doesn't look as nice without the glow shader, but at least it runs very fast.

I need to dig deeper to see if there's any OpenGL ES shader that can achieve a soft light effect efficiently. Maybe combining it with scanlines and CRT effects in a single shader could make it look closer to the desktop version.

If I find a good optimization, I'll let you know, your port might benefit from it too. Likewise, if you discover anything useful for implementing an optimized glow (soft light) shader, please share it.

Also, with the version I uploaded today, resolution handling on mobile devices is much better now, taking High DPI into account, that might be useful for you as well.

Cheers.

Deleted 16 days ago

I'll definitely try the nebula shader for the parallax background, I liked that effect a lot!

Regarding detecting mobile, you could try:

IS_MOBILE = love.system.getOS() == "Linux"
  and (require("ffi").arch == "arm" or require("ffi").arch == "arm64")

`jit.arch` (or `ffi.arch`) returns the architecture: https://luajit.org/ext_jit.html#jit_arch

You can assume Linux on ARM likely indicates a mobile platform, and also check for OpenGL ES to be safer:

local gl_vendor, gl_version = love.graphics.getRendererInfo()
if gl_version then
   is_es = string.find(gl_version:lower(), "es", 1, true) ~= nil
end
IS_MOBILE = love.system.getOS() == "Linux" and (require("ffi").arch == "arm" or require("ffi").arch == "arm64")
    and is_es

Have a nice one!