Search found 611 matches

by Jeeper
Thu Sep 17, 2020 3:30 pm
Forum: Support and Development
Topic: 2 if statements
Replies: 3
Views: 2901

Re: 2 if statements

I think you asked the same question on the Love2d subreddit, but just in case I will answer it here as well. While you could nest "if"-statements like "RockEt__2580__" suggested I would recommend using "and". It's a cleaner solution and it's meant for exactly this situa...
by Jeeper
Wed Sep 16, 2020 8:15 pm
Forum: General
Topic: Calling a previous file
Replies: 2
Views: 3822

Re: Calling a previous file

Löve will always call your "main.lua" file. If you want to call code inside another file you need to require it. Below is an example (that assumes you want to reach the shape.lua file). require("shape") function love.load() end function love.update(dt) end function love.draw() en...
by Jeeper
Wed Sep 16, 2020 8:10 pm
Forum: General
Topic: Love 2d showing black screen
Replies: 4
Views: 6232

Re: Love 2d showing black screen

Just like "CogentInvalid" pointed out, Löve requires you to name your main file "main.lua".
Also it would be best to share the file, rather than a printscreen. Bonus points if you do it in the "Support and Development"
by Jeeper
Sun Sep 13, 2020 7:24 am
Forum: Support and Development
Topic: sti bump.lua installation tutorial
Replies: 2
Views: 7275

Re: sti bump.lua installation tutorial

What part is giving you trouble? You need to be more specific if you want people to be able to help you out.
by Jeeper
Thu Sep 10, 2020 1:07 pm
Forum: General
Topic: Why you get bugs & how to fix them [Youtube]
Replies: 4
Views: 8009

Re: Why you get bugs & how to fix them [Youtube]

1. It's useful even for me who already knows all this stuff. 2. The Tab>Space Rant made me lol. As a 2-Space Indentation Coder, the "Configurable Tabs" argument is what I'll remember when making big, open-source projects. But since all of my projects are small, I'm re-inforced to use Spac...
by Jeeper
Wed Sep 09, 2020 6:04 pm
Forum: General
Topic: Why you get bugs & how to fix them [Youtube]
Replies: 4
Views: 8009

Why you get bugs & how to fix them [Youtube]

It's bit a bit over a month since the last video in the beginner tutorial series was released. This video is a bit different in that it covers a broader topic. The idea was to provide some information and help for beginners who are running into issues and not sure how to proceed. Everything from dif...
by Jeeper
Fri Sep 04, 2020 8:58 pm
Forum: Support and Development
Topic: Tables and "for" statements
Replies: 3
Views: 5041

Re: Tables and "for" statements

I'm having some difficulty understanding how these statements are defined. Most of the tutorials I can find just tell you to do something like, for i, v do But, they don't tell you why and what that means, they tell you not to worry about it now. I can copy the code, and it works, but if I don't kn...
by Jeeper
Wed Aug 19, 2020 9:55 pm
Forum: Support and Development
Topic: Memory Profiling?
Replies: 30
Views: 23633

Re: Memory Profiling?

Iirc this has been discussed before, unfortunately there's no simple way to count all the main memory used by the application as far as i'm aware. That said, LuaJIT has a memory limit (from 1-2GB on 64bit to 4GB on 32bit or something like that), whether or not you're intending to use the 32 or 64 b...
by Jeeper
Thu Aug 06, 2020 10:36 pm
Forum: General
Topic: Löve beginner tutorial [Youtube] All 6 episodes are out!
Replies: 9
Views: 8847

Re: Löve tutorial series [Youtube] All 6 episodes are out!

All of the episodes in this tutorial series have now been released! Thank you so much for the feedback and input (both here, on youtube and over at Discord). It's back to the drawing board now, I have already started writing the script for the next tutorial series (though this is a process that take...
by Jeeper
Sun Aug 02, 2020 6:59 pm
Forum: General
Topic: Löve beginner tutorial [Youtube] All 6 episodes are out!
Replies: 9
Views: 8847

Re: Löve tutorial series [Youtube] E5 is now out!

I literally just stumbled onto Love yesterday after spending a lot of time trying to learn Unity, no experience at all with Lua. These tutorials are a godsend, perfect pace and perfect level of simplicity. Please keep them coming!! :ultraglee: Really glad to hear that you like it, because I made th...