Search found 31 matches

by soulmata
Wed Feb 22, 2023 9:19 pm
Forum: Games and Creations
Topic: Endless Dark, a psychological horror roguelite, now on Steam
Replies: 3
Views: 57857

Endless Dark, a psychological horror roguelite, now on Steam

Built in LOVE, obviously. Endless Dark is a psychological horror roguelite-like I have been building with my buddy for the past 8 months or so. The core premise of the game is very simple: You are a robot tasked with keeping a sleeper colony ship intact. Every turn, various systems on the ship will ...
by soulmata
Wed Feb 15, 2023 8:19 am
Forum: Support and Development
Topic: My game does not open
Replies: 4
Views: 1589

Re: My game does not open

Here's how you can do it on the CLI with 7z in windows: "c:\Program Files\7-Zip\7z.exe" a -mx0 -x!e:\endlessdarkgame\.git e:\ed.zip e:\endlessdarkgame\* rename e:\ed.zip ed.love copy /b "c:\Program Files\LOVE\love.exe"+"E:\ed.love" "E:\Endless Dark.exe" Replac...
by soulmata
Sun Feb 12, 2023 8:38 pm
Forum: General
Topic: Unclear % operation for counting
Replies: 20
Views: 5712

Re: Unclear % operation for counting

Unless you get around to using threads, everything (barring a few edge cases like immediate mode GUIs) is executed in serial. There's no prioritization - a function will execute, complete, and then return control to whatever function called it, and so on. Ultimately love.update is coordinating that,...
by soulmata
Sun Feb 12, 2023 8:09 am
Forum: General
Topic: What are your mental or psychological barriers to project success?
Replies: 11
Views: 3443

Re: What are your mental or psychological barriers to project success?

I'm on the cusp of a commercial release for a LOVE game I've been working on for the past 9 months, and I have to say the big difference between this one and the many others that I've started and left unfinished has been collaboration. I brought on a friend, and together we worked through mechanics,...
by soulmata
Sat Feb 11, 2023 8:45 am
Forum: Support and Development
Topic: How can I make my code better ? [solved]
Replies: 6
Views: 1930

Re: How can I make my code better ?

For player data vs game data, it's important to note that LOVE itself has only a single location it can read and write to. If you need to load data not in a LUA module from the game directory for editing (for instance, a map editor), you'll need to write your own functions using LUA's file system li...
by soulmata
Sat Feb 11, 2023 7:47 am
Forum: General
Topic: Unclear % operation for counting
Replies: 20
Views: 5712

Re: Unclear % operation for counting

You can use modulo like this if you are getting os.time() instead of dt, because os.time() (at least on windows and linux) returns an INT. You can also, alternatively, floor the return of love.timer.getTime(), which I think would be more compatible with other platforms where what os.time() returns m...
by soulmata
Sat Feb 11, 2023 7:41 am
Forum: General
Topic: Need help with function for changing boolean state
Replies: 9
Views: 2599

Re: Need help with function for changing boolean state

Here's a simple function I use in the game I am developing now that will flip the bool you pass to it, and optionally does something based on what path it took (in my case, it will log a given message depending on which way the bool was flipped) function f_ed_toggle_bool(bool, msgFalse, msgTrue) -- ...
by soulmata
Thu Nov 24, 2022 9:26 am
Forum: Support and Development
Topic: light_world.lua ignoring setVisible()
Replies: 5
Views: 2498

Re: light_world.lua ignoring setVisible()

I was able to resolve this, in what I consider a combination of a decent and outright stupid way. The video result is below. Basically, the library is heavily bugged, as far as I can tell, and many of the methods just outright do nothing (particularly, the screen size refresh and the setVisible meth...
by soulmata
Mon Nov 21, 2022 10:05 am
Forum: Support and Development
Topic: light_world.lua ignoring setVisible()
Replies: 5
Views: 2498

light_world.lua ignoring setVisible()

I have been using light_world for a while now, though to date I've been using it with statically-placed lights that do not move. Lately I am discovering a really odd behavior when I want to selectively decide if a light is visible or not. The logic is rather simple: 1) in love.draw, set all lights t...
by soulmata
Fri Oct 14, 2022 3:22 am
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 302512

Re: What code editor do you use ?

Visual Studio Code, GIMP, Git, cygwin (for access to linux CLI tools like grep).