Gravity Circuit

Show off your games, demos and other (playable) creations.
Shatzune
Prole
Posts: 1
Joined: Wed Nov 01, 2023 3:17 pm

Re: Gravity Circuit - Demo available

Post by Shatzune »

Very late here! Just bought the game and discovering it was made with Love makes me even more happy. I'm a huge fun of the genre (I was a kid in the 80s after all...) and huge fun of this framework. Let me ask you a question if you don't mind: how long did it take to develop such a polished platformer? I know you are a team, while I work solo but I'd like to have a rough estimate of how long would it take for me to ma ke a game that polished.

Thanks in advance and looking forward to play your game tonight ;)
User avatar
pgimeno
Party member
Posts: 3656
Joined: Sun Oct 18, 2015 2:58 pm

Re: Gravity Circuit

Post by pgimeno »

I am definitely not a fan of the genre, but it looked impressive to me either way. So much so that I mentioned it to a friend, and he bought it to run it on his Mac. He showed it to me; one problem was that the resource loading was very slow, so I took a look at the code. I found out that you're using this in main.lua:

Code: Select all

if love.system.getOS( ) == "OS X" then
  print ( "[CONFIGURATION] macOS detected, disabling JIT compilation!" )
  jit.off()
However, you didn't put that in every thread's code, which is where the resources are loaded. That's what caused the slowdown during loading. Adding jit.off() on every thread solved the slowdown and made loading work smoothly. The only part that keeps being a bit slower is startup, but that's a very minor issue.
MrFariator
Party member
Posts: 548
Joined: Wed Oct 05, 2016 11:53 am

Re: Gravity Circuit

Post by MrFariator »

Thanks for the heads up, I don't actively use macOS, so I didn't quite realize that issue with the threads (truth be told, the threading is some ancient legacy code that could use an overhaul). I was turning JIT off on MacOS on the main thread, due to some potential luajit issues. Will look at adding the appropriate jit.offs in a future patch.
Shatzune wrote: Wed Nov 01, 2023 3:24 pm Let me ask you a question if you don't mind: how long did it take to develop such a polished platformer? I know you are a team, while I work solo but I'd like to have a rough estimate of how long would it take for me to ma ke a game that polished.
In theory the game was in "development" for like nine years, going through various iterations and ideas, and even changes of engine (from moai SDK to love2d). However, that wasn't all active development, with frequent pauses or breaks due to real life obligations, like work or studies.
The game entered full time development near the start of 2021, so the "real" timeframe is more like +2 years, as +90% of the game was done in that timeframe. Game was (contents-wise) finished in April of this year, released in July, and since then it's been patching, bug fixing, and adding some extra bit of content or QoL.
User avatar
pgimeno
Party member
Posts: 3656
Joined: Sun Oct 18, 2015 2:58 pm

Re: Gravity Circuit

Post by pgimeno »

MrFariator wrote: Sun Nov 19, 2023 2:33 pm Thanks for the heads up, I don't actively use macOS, so I didn't quite realize that issue with the threads (truth be told, the threading is some ancient legacy code that could use an overhaul). I was turning JIT off on MacOS on the main thread, due to some potential luajit issues. Will look at adding the appropriate jit.offs in a future patch.
Great! I'm aware of these issues, and for what I could see in this friend's machine, they're not just potential, they're very real!
alejandroalzate
Citizen
Posts: 67
Joined: Sat May 08, 2021 9:45 pm

Re: Gravity Circuit

Post by alejandroalzate »

Megaman Z: the untold sequel
(X exists so... idk)

Code: Select all

target = boardIndex.getWhosPeekingThisLine()
target:setObey(true)
Post Reply

Who is online

Users browsing this forum: glitchapp, Google [Bot] and 0 guests