Search found 728 matches

by bobbyjones
Sat Mar 21, 2020 8:02 am
Forum: General
Topic: READ DATA FROM SDCARD
Replies: 5
Views: 225

Re: READ DATA FROM SDCARD

I am pretty certain the answer is no. I forgot the reason why tbh. I think its mainly to prevent user error. Honestly thinking about it it is a pretty stupid limitation. Although I will say in the scope of strictly game development it's reasonable. I don't really play games that often but I don't se...
by bobbyjones
Sat Mar 21, 2020 7:45 am
Forum: Support and Development
Topic: Function call in love.update seems to only happen once
Replies: 1
Views: 1604

Re: Function call in love.update seems to only happen once

Do you have the complete .love file available? I will be able to help if you can provide that.
by bobbyjones
Sat Mar 21, 2020 7:38 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 12474

Re: [Proposal] Better multimedia formats.

I was catching up to everything I missed since the last time I was here. Saw a link about a love web builder. I think it packages games for websites or whatever. Anyways it said something about large game sizes not performing well in the browser. I know love on the web is not officially supported ye...
by bobbyjones
Sat Mar 21, 2020 6:18 am
Forum: General
Topic: Is it possible to create a hitbox path from an image?
Replies: 3
Views: 220

Re: Is it possible to create a hitbox path from an image?

Since there is a sharp color change between the white and black you write a simple edge detection algorithm and use that to convert the image to edges. You can then use those edges to create polygons. You can preprocess it so that it doesn't have to be done at run time. Once you have the polygons or...
by bobbyjones
Sat Mar 21, 2020 6:05 am
Forum: Support and Development
Topic: problem with randomize and toggleKey
Replies: 7
Views: 382

Re: problem with randomize and toggleKey

You are setting the coin value in the files scope. Meaning the value is only set when the file is loaded once. You need to set a random value for each individual coin. If you know oop design you are essentially setting a static class property instead of setting a per instance value. To fix this when...
by bobbyjones
Sat Mar 21, 2020 6:00 am
Forum: Support and Development
Topic: How can i install a OOP Framework for Atom and Love ?
Replies: 7
Views: 390

Re: How can i install a OOP Framework for Atom and Love ?

You attempted to adapt the tutorial but made a mistake. On line 5 change Window to Jenny. Also read up on Lua Variable Scope. You want the Jenny variable to be available to the draw function but it will be stuck to the update functions scope. So it will still error even after you make the change.
by bobbyjones
Sat Mar 21, 2020 4:47 am
Forum: Support and Development
Topic: I need to properly join cells with joints
Replies: 4
Views: 239

Re: I need to properly join cells with joints

I'm guessing the problem is less how to do such a thing and more so how to do so efficiently? Why not create the naive approach if you haven't already and check if it's actually a bottle neck. Right now off the top of my head I can't think of any optimizations. I think it mainly depends on what you ...
by bobbyjones
Sat Mar 21, 2020 4:37 am
Forum: General
Topic: READ DATA FROM SDCARD
Replies: 5
Views: 225

Re: READ DATA FROM SDCARD

You can't without using a library or ffi. Unless you are on Android. I believe the flag "t.external" or whatever it is is still a thing. It basically determines where your save directory is located. The Android external fs or the internal one. You still locked to just the save directory though.
by bobbyjones
Wed Sep 11, 2019 11:55 pm
Forum: Libraries and Tools
Topic: Animation library in Love2d
Replies: 6
Views: 3200

Re: Animation library in Love2d

Are you sure it does not work in 11.x? I do not see anything the code that would prevent it from working.
by bobbyjones
Wed Sep 11, 2019 10:26 pm
Forum: Games and Creations
Topic: Snake Game
Replies: 1
Views: 2344

Re: Snake Game

I know its just a snake game but I like it. You should display the controls on the screen. Also restarting the game is very annoying. On Windows 10 there is a popup every time a game window opens and it is quite annoying. You can avoid this by just clearing the state rather than just relaunching the...