Search found 15 matches

by 4KbShort
Fri Mar 29, 2024 12:15 pm
Forum: Games and Creations
Topic: DEMO on STEAM: Andy Blast Vs The Forces of Evil
Replies: 3
Views: 3818

Re: DEMO on STEAM: Andy Blast Vs The Forces of Evil

@borr

The first level is 1-1 with Dangerous Dave so that area is there as well. A little differently designed, but it's there. :)
by 4KbShort
Sun Mar 03, 2024 12:24 pm
Forum: Games and Creations
Topic: DEMO on STEAM: Andy Blast Vs The Forces of Evil
Replies: 3
Views: 3818

DEMO on STEAM: Andy Blast Vs The Forces of Evil

Hey everyone! I've been working with LOVE2D for a while now and have made a lot of small projects, prototypes, and jam entries with it, but now, finally, after many years of fiddling with game design my new game "Andy Blast Vs The Forces of Evil" made with LOVE2D is going to be released on...
by 4KbShort
Wed Oct 04, 2023 1:44 am
Forum: Support and Development
Topic: [SOLVED] love.filesystem.read only reads Text?
Replies: 2
Views: 6075

Re: [SOLVED] love.filesystem.read only reads Text?

So, as it always seems to go, I posted the question and nearly immediately found the fix: function love.filedropped(file) if song ~= nil then song:stop() end fileName = file:getFilename() ext = fileName:match("%.%w+$") if ext == ".mod" or ext == ".s3m" or ext == "....
by 4KbShort
Wed Oct 04, 2023 12:44 am
Forum: Support and Development
Topic: [SOLVED] love.filesystem.read only reads Text?
Replies: 2
Views: 6075

[SOLVED] love.filesystem.read only reads Text?

Hey everyone, I don't have any code snippets to share as I'm very early in my project and I'm curious about a function that seems to return data, but only to a certain point: love.filesystem.read() returns data from a file, cool. I use it to try to read data from a MOD (Tracker) file. I need it to f...
by 4KbShort
Thu Sep 15, 2022 12:44 am
Forum: Support and Development
Topic: [SOLVED] ipairs list only functioning on last item Why?
Replies: 5
Views: 1796

Re: ipairs list only functioning on last item Why?

Thank you everyone for your feedback. I don't know how I fixed it as all I did was take a working backup and copy/paste the code from one to the other. Nothing in the code seems to have changed except now all the doors are iterating as they were intended. for k,v in ipairs(doorLayout) do if checkCol...
by 4KbShort
Wed Sep 14, 2022 7:38 pm
Forum: Support and Development
Topic: [SOLVED] ipairs list only functioning on last item Why?
Replies: 5
Views: 1796

[SOLVED] ipairs list only functioning on last item Why?

Hey everyone, I have a list/table of doors that is being iterated through with ipairs. When I tell the game to draw something for all k,v etc it does so. When I tell it to allow me to open the doors/change their status, it does because the animation updates. However, what it doesn't do is check coll...
by 4KbShort
Sun Aug 02, 2020 1:24 am
Forum: Support and Development
Topic: [SOLVED] Error indexing 'tablename' a nil value after it's declared
Replies: 2
Views: 2215

Re: Error indexing 'tablename' a nil value after it's declared

I figured out one problem: Never declare the table variable under love.load() With that out of the way I now have some code that doesn't instantly crash. Downside is it also doesn't render anything to screen: function objects:new(sprite,x,y,frameSpeed,frame) local o = {sprite = sprite, x = x, y = y,...
by 4KbShort
Sun Aug 02, 2020 12:27 am
Forum: Support and Development
Topic: [SOLVED] Error indexing 'tablename' a nil value after it's declared
Replies: 2
Views: 2215

[SOLVED] Error indexing 'tablename' a nil value after it's declared

I know everyone is going to want to see code, but I don't have any so use your imagination brushes for a minute: Trying to animate some sprites and I have this: function animateSprites(sprite,x,y,frameSpeed) --Starting on a random frame won't work dt = lt.getDelta() currentFrame = currentFrame+ fram...
by 4KbShort
Sun Jul 05, 2020 3:36 am
Forum: Support and Development
Topic: [SOLVED] Love 11.3 replacePixels on Android not working?
Replies: 8
Views: 6326

Re: Love 11.3 replacePixels on Android not working?

Yes, I did. I figured out the best solution was to stick with Love 10.3. Image:refresh works fine, but replacepixel in 11 does not. No idea why. Since I'll never use anything 11 offers for a simple game I'm not too concerned. I consider this solved, even though the solution was to back down a few ve...
by 4KbShort
Tue Jun 16, 2020 2:26 am
Forum: Support and Development
Topic: [SOLVED] Love 11.3 replacePixels on Android not working?
Replies: 8
Views: 6326

Re: Love 11.3 replacePixels on Android not working?

So I went through a bunch of stuff and ended up installing Lineage OS (CM11) on my Ouya which put it at Android 4.4.4 apparently. Tried my APK packed love games that way and they're still failing one way or the other. Either replacepixel fails, the APK fails to install, or if the game is super simpl...