Search found 517 matches
- Wed Feb 14, 2024 4:52 am
- Forum: Support and Development
- Topic: Question about casting rays (bump.lua)
- Replies: 4
- Views: 798
Re: Question about casting rays (bump.lua)
Again, depends on how you want the lasers to work. As in, are they fixed lasers that are always enabled (like a level hazard with fixed positioning), or are they a type where they become longer over time, until they hit a wall or an object (eg. a laser turret that goes on and off on a timer or a but...
- Mon Feb 12, 2024 1:39 pm
- Forum: Support and Development
- Topic: Question about casting rays (bump.lua)
- Replies: 4
- Views: 798
Re: Question about casting rays (bump.lua)
Depends on how you want your laser to behave. If you want your laser to move, and it will be an axis-aligned bounding box, then you can just create a thin rectangle that either moves on the x or y axis. The only problem may be handling how to handle collisions, or the laser "shrinking" aft...
- Sat Dec 30, 2023 10:50 pm
- Forum: Ports
- Topic: Probability of official Nintendo Switch port?
- Replies: 6
- Views: 14862
Re: Probability of official Nintendo Switch port?
Keep in mind that even if you have a game that you'd like to port to Switch (or other consoles), the people who have existing ports do not necessarily offer those ports for free. Some of them are running a business of porting love2d games to Switch (offering to port and publish games for a revenue s...
- Sun Dec 17, 2023 1:02 pm
- Forum: Support and Development
- Topic: Black screen
- Replies: 11
- Views: 39671
Re: Black screen
If reinstalling your OS solved the issue, it might have been that your GPU's drivers were at fault. AMD driver 22.7.1 for example is known to cause love2d to output purely black visuals.
- Sat Dec 16, 2023 7:39 am
- Forum: Support and Development
- Topic: [REQUESTING HELP] Optimization issues
- Replies: 5
- Views: 15882
Re: [REQUESTING HELP] Optimization issues
I've found jprof to be a good tool for measuring code performance and memory consumption.
- Tue Dec 12, 2023 8:08 pm
- Forum: Support and Development
- Topic: Question about the license.txt file
- Replies: 2
- Views: 10525
Re: Question about the license.txt file
Yeah, you should include the license.txt that comes with love2d with your distribution. For clarity to end-users, you could indeed rename it to license_love2d.txt, and put your own game's license (eg. any licensing involving your game assets) in its own file. You could even consider making a third f...
- Sun Dec 10, 2023 12:20 am
- Forum: Support and Development
- Topic: LÖVE 11.5 — is Windows 7 no longer supported?
- Replies: 5
- Views: 10392
Re: LÖVE 11.5 — is Windows 7 no longer supported?
While it sucks that some older versions of Windows have been dropped from support (not due to any fault on LÖVE itself, of course, just PhysFS), it's also perhaps worth noting that Steam itself is dropping support for Win7, starting on January 1st 2024 . According to Steam's hardware & software ...
- Sat Dec 09, 2023 11:48 am
- Forum: Support and Development
- Topic: [SOLVED]One variable references two different objects simultaneously
- Replies: 6
- Views: 3939
Re: One variable references two different objects simultaneously
Well, when you launch the project, manager.open is run once in scene.lua. This is presumably the place that you are having your issues in. I added the following modifications to check what each value was: function manager.open(n) if not scene[n] then manager.load(n) end list:setBack(scene[n]) -- in ...
- Sat Dec 09, 2023 6:06 am
- Forum: Support and Development
- Topic: [SOLVED]One variable references two different objects simultaneously
- Replies: 6
- Views: 3939
Re: One variable references two different objects simultaneously
Can you provide a runnable example? Specifically, what are the values of "a" and "b"?
- Sat Dec 02, 2023 5:08 am
- Forum: Support and Development
- Topic: Love 2D 11.4 crashes after exactly 2234 frames
- Replies: 6
- Views: 12417
Re: Love 2D 11.4 crashes after exactly 2234 frames
Similarly see no issues on Windows 11, or my Ubuntu box. RAM usage and CPU usage don't seem to be going up either, so don't think there's any errant (heavy) memory leak or such.