Search found 3441 matches
- Tue Aug 29, 2023 11:07 am
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5415
Re: Collision library that take rotation in to account
So, let's forget for now about any separate collision related bodies or shapes. You have one rectangular sprite for the cannon. It has some x and y coords that correspond to some point on itself; center / topleft, doesn't matter which. For movement, you calculate how much it needs to move, and in wh...
- Mon Aug 28, 2023 11:30 pm
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5415
Re: Collision library that take rotation in to account
Thanks a lot. I'll look in to ConvexPolygonShapes then. That said, according to the docs, "Most shapes will be centered on the point (x,y)." To me, that says that the positioning is based on the centroid of the shapes, not their topleft that you expect for some reason. When I create the r...
- Mon Aug 28, 2023 11:15 pm
- Forum: Support and Development
- Topic: How to add a C library in linux?
- Replies: 3
- Views: 1196
Re: How to add a C library in linux?
Do you need to modify löve itself though? Can you not just require in the c library?
- Mon Aug 28, 2023 1:57 pm
- Forum: General
- Topic: Collision library that take rotation in to account
- Replies: 14
- Views: 5415
Re: Collision library that take rotation in to account
OP post I'm assuming your shape is a polygonshape in HC due to you talking about rectangles. I looked at the code of HC and i'm assuming the move function you were looking for is in fact ConvexPolygonShape:move on line 327 of shapes.lua Also, ConvexPolygonShape:rotate takes in two extra parameters ...
- Sat Aug 26, 2023 10:49 pm
- Forum: Support and Development
- Topic: Not Tiled doesn't work with sti
- Replies: 3
- Views: 1004
Re: Not Tiled doesn't work with sti
The error shows that your image path contains a .. in it;
File paths can't contain .. as far as i know, so you might want to check some settings so that the paths for the images for your maps are referenced in a specific way.
File paths can't contain .. as far as i know, so you might want to check some settings so that the paths for the images for your maps are referenced in a specific way.
- Thu Aug 17, 2023 2:49 pm
- Forum: General
- Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
- Replies: 103
- Views: 34913
Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
I agree with the company making money off of licensed stuff point being bad; if you had the means to build up the model yourself though, and only used appropriately licensed stuff (even just your own code), i wouldn't agree against using that machine learning thing (which isn't really AI, regardless...
- Thu Aug 17, 2023 5:24 am
- Forum: General
- Topic: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
- Replies: 103
- Views: 34913
Re: ChatGPT proposes and creates a game in love2d ( artificial intelligence scares me )
But you can not trust the license of chatGPT content. All its 'created' content is remixed from unknown sources witht unknown licenses. Aren't people do same thing? Yes, but: 1. Even that has limitations under laws of countries (e.g. for fan created content of IP people don't, the US has fair use l...
- Sun Aug 06, 2023 4:13 pm
- Forum: Support and Development
- Topic: Install Love2D to Raspberry Pi 400
- Replies: 21
- Views: 6118
Re: Install Love2D to Raspberry Pi 400
I found a thread about it but last message was 2017 or so... and i couldn't load in the webpage either, though that might be on my end only.
- Thu Aug 03, 2023 3:24 am
- Forum: General
- Topic: Self-hosting Löve2d Environment for Educational Purposes
- Replies: 11
- Views: 3594
Re: Self-hosting Löve2d Environment for Educational Purposes
(for audio: wav/mp3/ogg/all formats modplugtracker supports loading/importing) (for images: jpg,png,bmp,tga,hdr/pic,exr plus compressed(-on-gpu) formats i.e. dxt/bc/etc/eac/pvr/astc variants) Thank you! Given that löve2d is resolution-independent, I would have expected some vector-graphic format to...
- Wed Aug 02, 2023 5:05 am
- Forum: General
- Topic: Self-hosting Löve2d Environment for Educational Purposes
- Replies: 11
- Views: 3594
Re: Self-hosting Löve2d Environment for Educational Purposes
How do people currently make music and graphics for their love2d games? Most likely using external applications, and there's a lot of those, considering the formats löve supports. (for audio: wav/mp3/ogg/all formats modplugtracker supports loading/importing) (for images: jpg,png,bmp,tga,hdr/pic,exr...