Search found 212 matches

by ReFreezed
Sat Feb 20, 2021 1:12 pm
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

@Jayverb
Yes. Just look at what the updated default exporter outputs to see where you can get the coordinates.
No problem! :)
by ReFreezed
Fri Feb 19, 2021 4:04 pm
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

Update 1.8 Changes since 1.7: Particle systems can now have individual position offsets. Fixed particle path previews not using the specified area distribution. Templates: Values have been moved to the 'exported' namespace (i.e. particleSystems is now exported.particleSystems). (Values are also ava...
by ReFreezed
Wed Feb 17, 2021 12:33 pm
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

That would be great for placing stuff on a background image :) Yeah, I was thinking that. How would I put this in the main.lua ? So I can access a parameter say on particleDatas[2] for example. Just access parameters with the dot syntax. In the example there are two particle systems, which means th...
by ReFreezed
Tue Feb 16, 2021 11:53 am
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

@Jayverb
Particle systems' position and movement in the game is something that's outside the scope of this program I think, though I can see cases where exporting an "initial position" for particle systems could be useful. I'll add that to the todo list.
by ReFreezed
Mon Feb 15, 2021 5:22 pm
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

@Jayverb Instead of making anything in the exported module global, just say particleDatas[1] or particleDatas[2] etc. in main.lua to refer to the different particle systems if you don't want to use loops like in the example project. It's generally bad to create globals if it's not absolutely needed....
by ReFreezed
Mon Feb 15, 2021 9:54 am
Forum: Libraries and Tools
Topic: Hot Particles - particle editor
Replies: 45
Views: 40425

Re: Hot Particles - particle editor

@Jayverb
I'm glad you enjoy the program. :)
I've created a repository with an example project that shows basic usage: https://github.com/ReFreezed/HotParticlesExamples
by ReFreezed
Sun Feb 07, 2021 11:51 pm
Forum: Games and Creations
Topic: [WIP][First Game] car/platformer
Replies: 1
Views: 597

Re: [WIP][First Game] car/platformer

Nice. It's like Trials Fusion.
by ReFreezed
Mon Jan 25, 2021 4:00 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 26
Views: 30192

Re: LuaPreprocess

Update 1.12 Changes since 1.11.2: Library: Added support for LuaJIT-specific syntax . Output validation can be disabled with `params.validate = false`. Added aliases for some number formats . Fixed parsing of `&`, `|` and `~` operators. Command line program: Added --jitsyntax and --novalidate optio...
by ReFreezed
Sat Jan 16, 2021 1:27 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 26
Views: 30192

Re: LuaPreprocess

Ah, I see. Yeah, the fact that `!(...)` does two different things (output a value or don't output a value, depending on whether the contents is an expression or not) is definitively a design flaw. I though about changing the variant that doesn't output anything to use `!{...}` but such a change woul...
by ReFreezed
Sat Jan 16, 2021 12:29 pm
Forum: General
Topic: Does anyone know how I get Lua installed and running on Windows?
Replies: 3
Views: 3349

Re: Does anyone know how I get Lua installed and running on Windows?

Check out the LuaBinaries project. You just download a zip file with the executable. Make sure you get the Lua version you want (e.g. Lua 5.1).

The Lua for Windows project might be of interest as well. It's Lua plus a bunch of useful libraries and stuff.