Search found 99 matches
- Fri Sep 29, 2023 5:31 pm
- Forum: Support and Development
- Topic: is custom package.loaders a bad idea?
- Replies: 5
- Views: 4727
Re: is custom package.loaders a bad idea?
Nah, I don't think there's anything wrong with making a new package loader, that's what it's there for. It's just a bit obscure, and not particularly necessary. If you like it, do it. In this case, love.graphics.newShader can already take a file path, so you're only making a very small shortcut to it.
- Fri Aug 18, 2023 6:39 pm
- Forum: Support and Development
- Topic: considering porting my game to Love2D
- Replies: 1
- Views: 476
Re: considering porting my game to Love2D
Cubemaps are fairly easy to use. See: love.graphics.newCubeImage You do need to write a shader to draw them, but that's only a couple of lines. I'm sure you could get help with that if need be. I have a little project using it myself around somewhere... I've never tried playing videos in Löve myself...
- Sun Jul 30, 2023 1:31 pm
- Forum: Support and Development
- Topic: Sensor but with collision
- Replies: 11
- Views: 2387
Re: Sensor but with collision
You want two different behaviors, so: Option 1: Add two fixtures to your players and enemies—one "solid", one sensor. Option 2: Add three lines or so to your preSolve function to check the object contacted and ignore the contact if necessary. (But this would make it more difficult to tell ...
- Sat Jul 29, 2023 2:46 pm
- Forum: Support and Development
- Topic: basic "blended" shadows on multiple layers
- Replies: 9
- Views: 5645
Re: basic "blended" shadows on multiple layers
Cool. I'm glad it was helpful. Good luck!
- Mon Jul 24, 2023 4:57 pm
- Forum: Support and Development
- Topic: basic "blended" shadows on multiple layers
- Replies: 9
- Views: 5645
Re: basic "blended" shadows on multiple layers
An alternate method would be to "erase" the bottom layer of shadows from the canvas with your object layer before drawing the top shadows to it, and then draw the shadow canvas on top of everything. You can do it in one pass using a multi-canvas shader. Scroll down to where it describes th...
- Mon May 01, 2023 8:36 pm
- Forum: General
- Topic: How to make good dodging AI
- Replies: 9
- Views: 3463
Re: How to make good dodging AI
Well if I wanted to dodge a bullet, I would try to move perpendicular to the bullet's velocity vector.
- Wed Apr 26, 2023 8:20 pm
- Forum: Support and Development
- Topic: Writing stuff in separate files
- Replies: 14
- Views: 1761
Re: Writing stuff in separate files
The thing to understand when switching to Lua from C# (or many other languages) is that it only does what you explicitly tell it to do. There's only one way to define variables and it always works exactly the same way, there's no hidden features. Personally, I think this is wonderful, C# drove me nu...
- Tue Jan 17, 2023 3:15 pm
- Forum: General
- Topic: Open source RPG Editor
- Replies: 23
- Views: 11967
Re: Open source RPG Editor
If you know something about making programs with Löve and Lua but not so much about doing it with other frameworks and languages, why are you not just making everything with Löve? It's not 100% perfect for it, but plenty of people (myself included) have made editors and other utility programs with L...
- Mon Dec 19, 2022 7:02 pm
- Forum: Games and Creations
- Topic: 2D puzzle "Gravity Duel"
- Replies: 2
- Views: 1956
Re: 2D puzzle "Gravity Duel"
Here is a technical demo of my game. It lacks a menu and any settings, and the graphics are highly sketchy. My main goal was to test the idea of the gameplay. I tried this a bit. At first it was very sudden and confusing, with a time limit and no menu or even a "press a key to start". Aft...
- Sun Dec 11, 2022 2:53 pm
- Forum: Libraries and Tools
- Topic: URFS - UnRestricted FileSystem
- Replies: 10
- Views: 4080
Re: URFS - UnRestricted FileSystem
Use-case for multiple write directories? Probably, considering that löve12 had modified physFS to include that. :3 No, I can see how that would be convenient, though also easy to work around—just set the directory for each file. I mean is there a use-case for what you mentioned before: if you have ...