Search found 83 matches

by Xii
Wed Apr 14, 2021 11:15 am
Forum: Libraries and Tools
Topic: An Easy to Integrate In-Game Console
Replies: 2
Views: 156

Re: An Easy to Integrate In-Game Console

Looks simple, clean, and very useful, indeed. Thanks for sharing, will probably use. :)
by Xii
Mon Apr 12, 2021 9:52 pm
Forum: Support and Development
Topic: Multidimentional arrays/Tables
Replies: 14
Views: 456

Re: Multidimentional arrays/Tables

milon wrote: Mon Apr 12, 2021 8:07 pm You can also use the # prefix to get the size of a table
Note though that it only counts the elements from index 1 up until the first nil.
by Xii
Sun Apr 11, 2021 8:59 pm
Forum: General
Topic: SDL_GameControllerDB on Ubuntu
Replies: 2
Views: 264

Re: SDL_GameControllerDB on Ubuntu

I'm not going to watch a video to see the code. Post it.
by Xii
Sat Apr 10, 2021 11:34 am
Forum: Support and Development
Topic: my love2d is broken
Replies: 6
Views: 278

Re: my love2d is broken

Yeah, works for me.
by Xii
Fri Apr 09, 2021 10:30 pm
Forum: Support and Development
Topic: my love2d is broken
Replies: 6
Views: 278

Re: my love2d is broken

Post your code. The smallest, simplest example of a project that crashes for you.
by Xii
Thu Apr 08, 2021 9:59 pm
Forum: Support and Development
Topic: Optional joystick controls
Replies: 2
Views: 141

Re: Optional joystick controls

if (joystick and joystick:isGamepadDown("dpleft")) or love.keyboard.isDown("left") then Most programming languages have short-circuiting comparison operators. In (A and B) , A is evaluated first, and if it's false (or nil here), the expression immediately returns false because i...
by Xii
Thu Apr 08, 2021 11:43 am
Forum: General
Topic: Server move incoming, expect a little bit of downtime
Replies: 14
Views: 3178

Re: Server move incoming, expect a little bit of downtime

Can confirm, grump wasn't imagining things - the wiki's font was larger. It's normal now.
by Xii
Wed Apr 07, 2021 10:29 pm
Forum: Support and Development
Topic: If statement and Goto
Replies: 29
Views: 1083

Re: If statement and Goto

You are correct. love.event.quit("restart") is the correct way to restart the whole app, not love.load()
by Xii
Wed Apr 07, 2021 7:09 pm
Forum: Support and Development
Topic: If statement and Goto
Replies: 29
Views: 1083

Re: If statement and Goto

pgimeno wrote: Wed Apr 07, 2021 4:09 pm it's not how it was designed to be used.
Citation needed.
by Xii
Wed Apr 07, 2021 3:17 pm
Forum: Support and Development
Topic: If statement and Goto
Replies: 29
Views: 1083

Re: If statement and Goto

That's a horrible hack, and awful advice to give to a newbie. Events should never be directly called by user code; What? Why? The wiki does not support your assertion; love.load() has no warnings about calling it from user code. It's not a hack, it's a simple function that you define, and you can c...