Search found 20 matches

by Baggef
Wed Sep 16, 2020 2:19 am
Forum: Games and Creations
Topic: Obaminator
Replies: 1
Views: 7087

Obaminator

EDIT: Obama game removed because it was so awful
by Baggef
Thu Apr 02, 2020 4:47 am
Forum: Support and Development
Topic: TLpath library gone
Replies: 1
Views: 2598

TLpath library gone

When clicking the download link for the TLpath library, here , it comes up with a Dropbox 404 page. Other path-finding libraries I've tried for Love are a little too complicated for me. Was hoping to try this one in case it was simpler. If it's not available anymore I'd appreciate the easiest path-f...
by Baggef
Fri Nov 08, 2019 9:38 pm
Forum: Games and Creations
Topic: Pix2Level - Create Levels From Pixel Art
Replies: 3
Views: 8032

Pix2Level - Create Levels From Pixel Art

I made a simple little "level editor", if you can call it that, that uses a low resolution image to create a level based on the rgb values of the pixels in the image. Currently there are ground tiles, platforms, lava, and coins. Only the coins work but this is more a proof of concept for a...
by Baggef
Wed Nov 06, 2019 9:05 pm
Forum: Support and Development
Topic: Running Require() Multiple Times With Different Results
Replies: 8
Views: 6206

Re: Running Require() Multiple Times With Different Results

Sounds like you want ECS or mixin OOP. Hmm. I know of OOP libraries like middleclass , but I didn't realize lua could use ECS. I'm not too familiar with the concept but I've found a few libraries for ECS like tiny-ecs and Entitas ECS . I could just barely understand ECS while using C# but it may be...
by Baggef
Wed Nov 06, 2019 10:23 am
Forum: Support and Development
Topic: Running Require() Multiple Times With Different Results
Replies: 8
Views: 6206

Re: Running Require() Multiple Times With Different Results

Are you sure you're not trying to use "require()" in place of "class.new()"? Because beyond that, I can't think of any reason to do this, and even that's pretty backwards. I'm trying to organize things so that I can reuse files in multiple projects. Such as an animator that exis...
by Baggef
Tue Nov 05, 2019 6:02 pm
Forum: Support and Development
Topic: Running Require() Multiple Times With Different Results
Replies: 8
Views: 6206

Re: Running Require() Multiple Times With Different Results

pgimeno wrote: Tue Nov 05, 2019 5:34 pm Or return a function that creates the table, rather than a table.
Wow, thank you. I didn't think it would be that simple. I was really about to write a version of require() without the "no double reading" rule. :crazy:
by Baggef
Tue Nov 05, 2019 5:22 pm
Forum: Support and Development
Topic: Running Require() Multiple Times With Different Results
Replies: 8
Views: 6206

Running Require() Multiple Times With Different Results

After doing some reading I found that require() only runs once, and stores that value in a table (some say package.loaded and others say _LOADED.) I am using a separate lua file as a sort of class file to be loaded and added to different tables. The point is that the tables all should get their own ...
by Baggef
Tue Nov 05, 2019 4:54 pm
Forum: Support and Development
Topic: Help With Body Contact Behavior
Replies: 7
Views: 4547

Re: Help With Body Contact Behavior

Thanks for the help. I ended up going with bump.lua mainly because the wiki kept telling me to, and I'm not exactly making a physics simulator. I found it to be a lot more intuitive and easy to understand. What I ended up going with was the collision normal, which in bump.lua looks like this: -- len...
by Baggef
Mon Nov 04, 2019 3:45 am
Forum: Support and Development
Topic: Help With Body Contact Behavior
Replies: 7
Views: 4547

Help With Body Contact Behavior

I don't really understand how this is working, but I noticed that I can jump before I hit the ground. How I'm detecting the ground is a sensor fixture that tests for the user data in the floor. If you press "p", you can see the hitboxes. The small box (the sensor) below the player (the pur...
by Baggef
Mon Oct 21, 2019 6:43 am
Forum: Games and Creations
Topic: Metanet Hunter G4 (OUT NOW!!)
Replies: 5
Views: 15199

Re: Metanet Hunter G4

Looks great! And the music, while very jazzy for an action platformer, is very nice. I remember playing the old kirby games on my friends gameboy, and this reminds me of those times. Would love a demo of a level or even a test area to feel how it plays.