Search found 3521 matches

by Jasoco
Thu Dec 03, 2020 6:48 pm
Forum: General
Topic: I want to know the process of erasing bullets in a shooting game
Replies: 4
Views: 4872

Re: I want to know the process of erasing bullets in a shooting game

> MrFariator thank you for your reply! I tested it based on your advice. as a result, 1. Create a loop that sets "remove flag" to true after a certain period of time (bullet.lua), 2. Create a loop to remove from table when "remove flag" is true (main.lua) The expected processing...
by Jasoco
Wed Dec 02, 2020 4:47 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1729
Views: 801105

Re: What's everyone working on? (tigsource inspired)

Presented without context


Edit: Okay so you're not impressed. How about some more?


Don't make me double-post!!! :awesome:
by Jasoco
Wed Nov 11, 2020 1:41 pm
Forum: General
Topic: Thoughts on Apple Silicon?
Replies: 4
Views: 7421

Re: Thoughts on Apple Silicon?

What kind of Canvas misusing are we talking about. What are the limitations mobile versions of Löve have with them?
by Jasoco
Wed Nov 11, 2020 1:05 am
Forum: General
Topic: Thoughts on Apple Silicon?
Replies: 4
Views: 7421

Thoughts on Apple Silicon?

So, what are the Löve devs consensus on the new Apple Silicon M1 based Macs and any plans on porting Löve natively to them if it already hasn't? I'd be curious to see some benchmarks between running the Intel version of Löve through Rosetta on the M1 and running a natively compiled M1 Löve version, ...
by Jasoco
Fri Jul 03, 2020 12:12 am
Forum: General
Topic: Thoughts on and plans for Apple's switch to ARM?
Replies: 1
Views: 2161

Thoughts on and plans for Apple's switch to ARM?

So Apple announced last week that they're switching to ARM processors. Namely Apple's own in-house designed A series chips. The same stuff in iPhones and iPads. Now obviously Löve will probably still work since Rosetta 2 will allow for translation of the old Intel binary to ARM compatibility on the ...
by Jasoco
Thu Oct 31, 2019 2:01 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 37
Views: 542438

Re: LÖVE 11.3 released!

slime wrote: Thu Oct 31, 2019 12:45 am It looks like Apple doesn't implement every-other-refresh vsync for their OpenGL vsync APIs on modern macOS. I have a memory of it working in the past on macOS, but their documentation doesn't say it will work either, so maybe it never did.
Really then, oh well. The dream is dead. Haha
by Jasoco
Thu Oct 31, 2019 12:10 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 37
Views: 542438

Re: LÖVE 11.3 released!

Setting vsync = 0 turns vsync off, vsync = 1 syncs every monitor refresh (60fps on a 60hz monitor), and vsync = 2 syncs every other monitor refresh (30fps on a 60hz monitor). My primary monitor is 144hz, so vsync=1 makes a game run at 144fps and vsync=2 makes a game run at 72fps, on my system. Hmm ...
by Jasoco
Wed Oct 30, 2019 9:05 pm
Forum: General
Topic: How much objects can Love2d display at one time?
Replies: 4
Views: 4660

Re: How much objects can Love2d display at one time?

One thing you'll want to know about city builders, at least older ones, is that it usually updated the whole city in chunks offset by a few frames so it's not trying to calculate everything all at once in one frame. So since you're already rendering by chunk, do the updating and calculating by chunk...
by Jasoco
Wed Oct 30, 2019 8:59 pm
Forum: Games and Creations
Topic: cave game - generic terraria clone
Replies: 15
Views: 12830

Re: cave game - generic terraria clone

Jeeper wrote: Tue Aug 27, 2019 7:14 pmNot entirely sure what you mean by clamping velocity, but what I usually have in the start of love.update(dt) is:
if dt > 0.1 then dt = 0.1 end
dt = math.min(dt, 0.1) works just as well. Don't know if there's any performance issues. (Negligible if any)
by Jasoco
Wed Oct 30, 2019 8:53 pm
Forum: Support and Development
Topic: Gather files from another folder
Replies: 1
Views: 2397

Re: Gather files from another folder

I'm not completely sure how to read your folder structure. Use the Code tags to format it with spaces denoting folders so it's easier. main.lua img/ panda.png src/ player.lua (Is that close to what you have it set up as?) Anyway, is the image file not loading when you put the path in? It's relative....