Search found 137 matches

by Xii
Thu Apr 08, 2021 11:43 am
Forum: General
Topic: Server move incoming, expect a little bit of downtime
Replies: 15
Views: 18977

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

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

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

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

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

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

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...
by Xii
Wed Mar 24, 2021 8:56 am
Forum: Support and Development
Topic: Drawing a textured line
Replies: 2
Views: 4004

Re: Drawing a textured line

You can have the texture as its own texture (not part of an atlas), and repeat it by using texture coordinates larger than the texture itself. When you love.graphics.newQuad() you pass the width and height of the quad in the texture. Pass in values greater than the texture's width or height, and you...
by Xii
Mon Mar 22, 2021 10:26 am
Forum: General
Topic: Example code of Platformer AI
Replies: 15
Views: 12123

Re: Example code of Platformer AI

If the levels are handcrafted (not procedural), you can manually place "jump points" on platform edges that instruct entities they can jump across. Then it's just a matter of deciding to go left or right to find the goal. If there's lots of verticality, it gets more complicated and you pro...
by Xii
Thu Mar 18, 2021 10:01 am
Forum: Games and Creations
Topic: Playable concept: Gridiron - 2D top-down with physics engine
Replies: 6
Views: 6003

Re: Playable concept: Gridiron - 2D top-down with physics engine

SQLite is very commonly used on Android.