I wonder if this is guaranteed to result in the same final image everywhere.
Physics determinism test
Physics determinism test
- Attachments
-
- hello.love
- (1.15 KiB) Downloaded 258 times
Re: Physics determinism test
"Everywhere" meaning every supported platform, architecture and device.
Re: Physics determinism test
Nothing happens
Re: Physics determinism test
Nice test!
Works in my desktop and phone. For the phone I had to add this line to love.draw:
Works in my desktop and phone. For the phone I had to add this line to love.draw:
Code: Select all
love.graphics.scale(math.min(love.graphics.getWidth()/800,love.graphics.getHeight()/600))
Re: Physics determinism test
looks the same on win10 64bit
Re: Physics determinism test
Ah. I guess on phones you always have to check what size the "window" is? Is love.resize being called in this situation?pgimeno wrote: ↑Fri Dec 17, 2021 10:20 am For the phone I had to add this line to love.draw:
Code: Select all
love.graphics.scale(math.min(love.graphics.getWidth()/800,love.graphics.getHeight()/600))
-
- Citizen
- Posts: 67
- Joined: Tue Jan 14, 2014 11:03 pm
Re: Physics determinism test
M1Pro OSX 12.1
Re: Physics determinism test
I don't know, but I wouldn't rely on it as it starts in this mode. Phones are basically in forced fullscreen mode from the beginning.
Re: Physics determinism test
This one scales and centers, should look correct on phones. I also didn't call physics.setMeter before. So it should still spell out "HELLO!" but it looks different from the first version.
- Attachments
-
- hello2.love
- (1.24 KiB) Downloaded 202 times
Who is online
Users browsing this forum: No registered users and 0 guests