Search found 94 matches
- Mon Mar 08, 2021 7:01 pm
- Forum: Support and Development
- Topic: I can't create a text box
- Replies: 2
- Views: 37
Re: I can't create a text box
When you say textbox, do you mean the text you print onscreen for the player? Or are you talking about collecting text from the player?
- Mon Mar 08, 2021 6:58 pm
- Forum: Support and Development
- Topic: looking for a nice text border (outline/stroke) script.
- Replies: 4
- Views: 148
Re: looking for a nice text border (outline/stroke) script.
Not the most efficient way, but here's a quick-and-dirty option: Define your outline color and your font color. Then draw the text in the outline color 1 pixel away in all 8 directions (including diagonal). Then set the color to your font color and draw your text without any offset applied. It's 9 t...
- Thu Mar 04, 2021 1:57 pm
- Forum: General
- Topic: That facepalm moment when ...
- Replies: 11
- Views: 1294
Re: That facepalm moment when ...
This is the correct answer: hey, why is it printing 1 1? Tables are passed by reference in lua. As such, if you pass in a table and do some modifications on it, then those changes will persist even after the function finishes. However, in the posted code, when the reset_vector is any non-falsey valu...
- Mon Mar 01, 2021 9:56 pm
- Forum: General
- Topic: Wordsearch (HTML5 game)
- Replies: 8
- Views: 6098
Re: Wordsearch (HTML5 game)
I think that's an example of finding an alternate acceptable word. You can't normally select only part of a word (I just tested this) unless it's a real word on it's own. For example, if you're looking for BLIMP you can also select LIMP (it's a real word) and probably also IMP. I had to look it up, ...
- Mon Mar 01, 2021 9:51 pm
- Forum: General
- Topic: When are we going to see 0.12.0?
- Replies: 13
- Views: 2307
Re: When are we going to see 0.12.0?
Love2D GUI would be great, I see a lot of people wanting love2D guis, and also a .exe that makes a .love into a .exe without making everything so complicated. When you say GUI, do you mean an IDE? There's lots of options that exist already. But maybe you mean something else? And for compiling games...
- Thu Feb 25, 2021 4:16 pm
- Forum: Games and Creations
- Topic: Labyrinth of Legendary Loot - turn-based roguelike released on itch.io and Google Play Store
- Replies: 15
- Views: 9860
Re: Labyrinth of Legendary Loot - turn-based roguelike released on itch.io and Google Play Store
I've been playing this game a little more recently, and I "sorta" beat it just now - I killed the final boss and then immediately died myself (was a Cultist with unfortunate timing). Epic finish to a great run!! What a sweet game! 

- Thu Feb 18, 2021 6:44 pm
- Forum: General
- Topic: That facepalm moment when ...
- Replies: 11
- Views: 1294
Re: That facepalm moment when ...
Nah, it was copypasta. The line should have read:
watermap[x][y] = math.abs(watermap[x][y] * 2 - 1)
But I see where you're coming from. I didn't exactly give any context.
watermap[x][y] = math.abs(watermap[x][y] * 2 - 1)
But I see where you're coming from. I didn't exactly give any context.
- Thu Feb 18, 2021 6:43 pm
- Forum: General
- Topic: Midi format music distortion
- Replies: 12
- Views: 5687
Re: Midi format music distortion
Cool, thanks for clearing that up for me. 

- Wed Feb 17, 2021 6:30 pm
- Forum: General
- Topic: That facepalm moment when ...
- Replies: 11
- Views: 1294
Re: That facepalm moment when ...
Haha! Been there, done that - both of those, actually!
Here's most recent facepalm:
Here's most recent facepalm:
Code: Select all
for x = 1, width do
for y = 1, height do
heightmap[x][y] = 1 - math.abs(heightmap[x][y] * 2 - 1)
watermap[x][y] = math.abs(heightmap[x][y] * 2 - 1)
end
end
- Wed Feb 17, 2021 5:59 pm
- Forum: General
- Topic: Wordsearch (HTML5 game)
- Replies: 8
- Views: 6098
Re: Wordsearch (HTML5 game)
Awesome, love it!! One weird little quirk exists (at least on Firefox on Linux Mint) - when I find all the words, I get a little fanfare thing (hooray!) and the word search disappears. If I tab away and tab back, the word search is visible again under the fanfare dialog. I'm not sure which behavior ...