Search found 8 matches

by SuskyTheCorgi
Wed Apr 10, 2024 12:23 pm
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 4046

Re: Weird error for a function that is correct.

This: if x then something() else if y then something_else() end is exactly the same as this: if x then something() else if y then something_else() end In the latter case, you can clearly see how the else is not closed. That's why we have elseif . This is properly closed: if x then something() elsei...
by SuskyTheCorgi
Wed Apr 10, 2024 12:21 pm
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 4046

Re: Weird error for a function that is correct.

This: if x then something() else if y then something_else() end is exactly the same as this: if x then something() else if y then something_else() end In the latter case, you can clearly see how the else is not closed. That's why we have elseif . This is properly closed: if x then something() elsei...
by SuskyTheCorgi
Wed Apr 10, 2024 12:20 pm
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 4046

Re: Weird error for a function that is correct.

NOPE. I need that incase the if statement is false, that is definitely what I need. I have not programmed every tile into a read/count system for the if condition because it's just a test. That will make it faster in the future.
by SuskyTheCorgi
Wed Apr 10, 2024 12:05 am
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 4046

Re: Weird error for a function that is correct.

Wdym line 11 is not closed? I do have an editor with block check too btw. At line 18 that is what I need to type, what ELSE am I supposed to do there? Thank you for replying, and please reply back when you can.
by SuskyTheCorgi
Tue Apr 09, 2024 11:57 pm
Forum: Support and Development
Topic: Weird error for a function that is correct.
Replies: 10
Views: 4046

Weird error for a function that is correct.

I am trying to make a platformer engine by detecting if an object is inbetween the corners of a platform. An error I didn't get before which I didn't do anything wrong. It said expected 'end' after 'function love.load()', but as you can see below, I wrote end. My program: function love.load() tile =...
by SuskyTheCorgi
Sun Apr 07, 2024 8:55 pm
Forum: Games and Creations
Topic: 3D Physics Engine
Replies: 16
Views: 30235

Re: 3D Physics Engine

Sup y'all. Been working on a 3D physics engine for a while and finally made progress with this. This engine uses a clipping algorithm that I came up with and does not rely on GJK/EPA or SAT. This does give the disadvantage of it only working with vertex shapes. Screenshots https://i.imgur.com/mBAgM...
by SuskyTheCorgi
Sun Apr 07, 2024 1:10 am
Forum: Support and Development
Topic: Love2d touch functions?
Replies: 5
Views: 7870

Re: Love2d touch functions?

The title was too short to explain my problem fully, so here it is: Right now, keyboard movement controls for my game are working perfectly ("a" to move left, "d" to move right, "space" to jump). However, I also want to test movement on my Android phone, and I'm not su...
by SuskyTheCorgi
Sat Apr 06, 2024 10:56 pm
Forum: Games and Creations
Topic: Madcrawl (alpha build) - "Traditional" Roguelike
Replies: 14
Views: 8559

Re: Madcrawl (alpha build) - "Traditional" Roguelike

I got an error, but the artwork and design is AWESOME! It is a little hard to understand what is going on. I know this is an alpha build mainly for testing, but if you're going to release it, then I think it should have instructions and make the more important text easier to see.