Search found 84 matches

by ReFreezed
Fri Apr 03, 2020 2:50 pm
Forum: Support and Development
Topic: Make ParticleSystem start immediately + fog effect
Replies: 2
Views: 105

Re: Make ParticleSystem start immediately + fog effect

You'll have to kickstart the particles. Do something like this in love.load:

Code: Select all

local dt = .1
for time = 0, 2, dt do
	r:update(dt)
	s:update(dt)
end
by ReFreezed
Tue Mar 10, 2020 12:32 pm
Forum: General
Topic: Catching all the typos ...
Replies: 9
Views: 2825

Re: Catching all the typos ...

I don't know if linters can help with misspelled table fields specifically, but it'd be easy to write a script that looks for similar identifiers that have different letter cases (i.e. mainUi vs. mainUI) across the files in the project. You're saying you've used compiled languages. I would actually ...
by ReFreezed
Tue Mar 10, 2020 9:45 am
Forum: General
Topic: Catching all the typos ...
Replies: 9
Views: 2825

Re: Catching all the typos ...

Welcome to the forums! This is the curse of high-level languages like Lua. You can use a Lua linter to catch some errors (this is probably what you're looking for) but other errors can only be found when running and testing the program. You simply have to be more diligent when typing compared to oth...
by ReFreezed
Tue Mar 10, 2020 9:15 am
Forum: Games and Creations
Topic: Devil Disco - 7DRL
Replies: 5
Views: 2410

Re: Devil Disco - 7DRL

No, the randomness is fine. I meant the mechanics. Rogue-likes love to punishing the player for everything, but a puzzle game would just let the player change their mind about a choice and try a different strategy so they eventually can reach the solution of the situation. I liked the strategy part ...
by ReFreezed
Mon Mar 09, 2020 6:31 am
Forum: Libraries and Tools
Topic: LuaPreprocess
Replies: 11
Views: 10576

Re: LuaPreprocess

ingsoc451 wrote:
Sun Mar 08, 2020 5:08 pm
I found this to be more intuitive than the others
I'm glad you think so. :)
by ReFreezed
Sun Mar 08, 2020 2:17 pm
Forum: Games and Creations
Topic: Devil Disco - 7DRL
Replies: 5
Views: 2410

Re: Devil Disco - 7DRL

Pretty cool little game. I did find myself wanting to undo a turn or two several times. I think the game would be better if is was a bit more puzzle-like rather than "rogue-like".
by ReFreezed
Wed Mar 04, 2020 5:39 am
Forum: General
Topic: Mini Functions Repository
Replies: 48
Views: 18041

Re: Mini Functions Repository

Here's a pair of functions that allow storing tuples into tables and then retrieving back these tables as tuples: Lua 5.2 adds a similar "pack" function to the standard table module that's implemented like this: local function pack(...) return {n=select("#", ...), ...} end local function getSomeVal...
by ReFreezed
Fri Feb 14, 2020 4:24 pm
Forum: Games and Creations
Topic: Getting Over It clone
Replies: 2
Views: 2833

Re: Getting Over It clone

I just started playing Getting Over It and... I'm not sure how I feel about more games like it. :P
(Seriously though, this is pretty cool!)
by ReFreezed
Fri Feb 14, 2020 3:58 pm
Forum: Games and Creations
Topic: Lissajous curves
Replies: 2
Views: 2490

Re: Lissajous curves

You can get some interesting patterns with higher speeds.
lissajous.png
lissajous.png (18.79 KiB) Viewed 2289 times