Search found 90 matches

by Xii
Sat Apr 10, 2021 11:34 am
Forum: Support and Development
Topic: my love2d is broken
Replies: 6
Views: 1311

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: 1311

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: 3
Views: 1570

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: 15
Views: 6191

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: 38
Views: 10146

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: 38
Views: 10146

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: 38
Views: 10146

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...
by Xii
Thu Apr 01, 2021 3:04 pm
Forum: Support and Development
Topic: about Lua
Replies: 7
Views: 1606

Re: about Lua

For any programming language, there are always three resources to read. 1. Language reference manual . LÖVE uses Lua 5.1. This tells you all the language keywords and features. 2. Standard library. A collection of universally useful functions included in the language itself. For Lua, these are liste...
by Xii
Tue Mar 30, 2021 7:34 pm
Forum: Support and Development
Topic: Issue getting objects to interact
Replies: 5
Views: 1686

Re: Issue getting objects to interact

I don't see you actually calling Broccoli:checkCollision anywhere in your code.
by Xii
Fri Mar 26, 2021 5:13 pm
Forum: General
Topic: Software engineering or Computer Science
Replies: 12
Views: 4842

Re: Software engineering or Computer Science

Computer science is research. Software engineering is craft. Computer scientists try to understand computers. It's somewhat theoretical. Software engineers build software to solve practical problems. Being skilled at one makes you better at the other. When you understand computers, it's easier to bu...