Search found 3044 matches
- Mon Jan 25, 2021 9:57 pm
- Forum: Support and Development
- Topic: question about Love.js security
- Replies: 14
- Views: 258
Re: question about Love.js security
Also, source code alone (the engine) is not much of use, the story and the assets and the overall working of it counts. Apart from playing the game, the stories can be told, the visual assets can be screenshotted, sound assets can be recorded, and it overall can be shared (think let's play videos/s...
- Sat Jan 23, 2021 1:16 pm
- Forum: General
- Topic: Adaptive music?
- Replies: 1
- Views: 183
Re: Adaptive music?
Hi and welcome to the forums! There are many ways to make adaptive music, but since you specified Celeste-like, it's one of the simpler methods i think; One solution could be fully layered tracks cross-fading from one to another (the current one fading out, the next one simultaneously fading in) Ano...
- Fri Jan 22, 2021 10:31 pm
- Forum: Support and Development
- Topic: [Solved] get table in-between {}
- Replies: 6
- Views: 405
Re: get table in-between {}
With a = {a, b}, you're actually doing this: a = {[1] = a, [2] = b}, and at that time, both a and b are either nil, or whatever you set those, if you did. The second issue is you doubling up the brackets, so again, you'll get this: a.b = {[1] = {['c'] = 1}} which can be printed with a.b[1].c instead...
- Sat Jan 16, 2021 10:40 am
- Forum: Libraries and Tools
- Topic: SUPER STRICT for LUA
- Replies: 28
- Views: 3781
Re: SUPER STRICT for LUA
return not not self.rects This is a weird-looking line, but yea I can adjust the parser to support it. not can be stacked more than twice, just saying that more than two should parse fine as well. :3 Also SUPERSTRICT now allows empty functions. All other empty code blocks are reported. so these one...
- Sat Jan 16, 2021 4:37 am
- Forum: General
- Topic: Midi format music distortion
- Replies: 6
- Views: 2198
Re: Midi format music distortion
I'm assuming that libmodplug itself handles the "no timidity? use beeps" thing; it is probably also responsible for whatever timing issues happen; MIDI and tracker formats are not 1:1 compatible, so strange things can happen after it converts the data. Might be a neat idea to look at that fork, thou...
- Wed Jan 13, 2021 4:26 am
- Forum: Libraries and Tools
- Topic: SUPER STRICT for LUA
- Replies: 28
- Views: 3781
Re: SUPER STRICT for LUA
Others are allowed: local obj = {} function obj:baz() -- allowed because it's inside an object end while myFunc() do -- allowed because of the call to myFunc() end since : is just syntax sugar, are empty functions of this form allowed or not? i'd assume they are since they're in a table as well, du...
- Sun Jan 10, 2021 1:25 pm
- Forum: Support and Development
- Topic: [Solved] Pointing at an object that's out of sight
- Replies: 14
- Views: 2546
- Sun Jan 03, 2021 6:45 am
- Forum: General
- Topic: Optimization Stuff
- Replies: 40
- Views: 17368
Re: Optimization Stuff
For you what is an example of a reasonably scaled game ? Something with multiple entities pathfinding on a large map, for example. Complex computation being done continuously. I guess Pacman is the minimal example to qualify, but even that's stretching. By that metric, Valve's Portal is not a reaso...
- Thu Dec 31, 2020 3:39 am
- Forum: Support and Development
- Topic: Function that switch values in a table
- Replies: 2
- Views: 1115
Re: Function that switch values in a table
test[testselected] is equivalent to test[1] because testselected is equal to 1 initially. I'm assuming your switchTableParameter function would change testselected to the next value that's in range of the table's numeric indices (in this case, test contains 3 elements, so the param would be 1, 2 or ...
- Thu Dec 31, 2020 3:34 am
- Forum: Support and Development
- Topic: How to make sure someone actually beated a level/course?
- Replies: 4
- Views: 1384
Re: How to make sure someone actually beated a level/course?
Just one thing i wanted to mention, in case any confusion would arise; TAS or not, speedrunners are technically not malevolent cheaters, they just like finding ways to play the game differently than how the developers intended them to be played; some might not consider that cheating at all. 
