Search found 730 matches
- Sat Apr 30, 2022 10:51 pm
- Forum: General
- Topic: Question about Roles
- Replies: 12
- Views: 8379
Re: Question about Roles
A better question imo is "What even is a prole?"
- Thu Aug 26, 2021 8:46 am
- Forum: General
- Topic: Box2D: detecting contact before contact
- Replies: 4
- Views: 8425
Re: Box2D: detecting contact before contact
I haven't used box2d in awhile but you could indeed have two separate shapes and fixtures for one body. Mark one fixture as a sensor and it will not act on collisions. Look at the diagram in the link below to get a better idea.
https://love2d.org/wiki/love.physics
https://love2d.org/wiki/love.physics
- Sat Mar 21, 2020 8:02 am
- Forum: General
- Topic: READ DATA FROM SDCARD
- Replies: 5
- Views: 8588
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...
- 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: 6898
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.
- Sat Mar 21, 2020 7:38 am
- Forum: Support and Development
- Topic: [Proposal] Better multimedia formats.
- Replies: 36
- Views: 43451
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...
- Sat Mar 21, 2020 6:18 am
- Forum: General
- Topic: Is it possible to create a hitbox path from an image?
- Replies: 4
- Views: 7934
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...
- Sat Mar 21, 2020 6:05 am
- Forum: Support and Development
- Topic: problem with randomize and toggleKey
- Replies: 7
- Views: 8112
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...
- 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: 9883
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.
- Sat Mar 21, 2020 4:47 am
- Forum: Support and Development
- Topic: I need to properly join cells with joints
- Replies: 4
- Views: 6727
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 ...
- Sat Mar 21, 2020 4:37 am
- Forum: General
- Topic: READ DATA FROM SDCARD
- Replies: 5
- Views: 8588
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 th...