Yea but I only want to know if there was a huge differents in speed.
Now I know
Search found 136 matches
- Wed Apr 17, 2024 11:04 am
- Forum: Support and Development
- Topic: Benchmark - put every function inside a object or inside a helper object
- Replies: 4
- Views: 2050
- Wed Apr 17, 2024 8:11 am
- Forum: Support and Development
- Topic: Benchmark - put every function inside a object or inside a helper object
- Replies: 4
- Views: 2050
Benchmark - put every function inside a object or inside a helper object
H! Today I was wondering if there are performance differents between the following situations. Situation 1 object { function a function b function c function d } object = new object() object:b() Situation 2 object { function a } helper { function b(object) function c(object) function d(object) } hel...
- Sun Mar 10, 2024 5:52 pm
- Forum: Libraries and Tools
- Topic: PNG to outline/contour x,y coordinates - python script
- Replies: 3
- Views: 2307
PNG to outline/contour x,y coordinates - python script
Maybe someone in the future needs this tools, but I guess you can ask chatgpt like I did. I did use my own scripts to convert a PNG image into a outline line x,y coordinates. Today I want to change that code, and don't want to build it myself. The new version return an array with all outlines, using...
- Tue Feb 06, 2024 4:45 pm
- Forum: General
- Topic: [solved] example request , canvas scale - camera - pixel perfect - simplified
- Replies: 21
- Views: 14972
Re: example request , canvas scale - camera - pixel perfect - simplified
Is it better to use this in my case? Don't know what it does exactly. t.window.usedpiscale = false -- Enable automatic DPI scaling (boolean) t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean) I think that it has no effect by upscaled canvases. I know this ...
- Sun Jan 28, 2024 7:06 pm
- Forum: General
- Topic: Camera jittering
- Replies: 13
- Views: 2301
Re: Camera jittering
I'm using a old macbook air 2014... I can't give the whole code but i'm using quad for animations. Something like this. init love.graphics.newQuad(frame.quad.x, frame.quad.y, frame.quad.w, frame.quad.h, self.resource:getDimensions()) update if update then self.time = self.time + dt if self.time >= (...
- Sun Jan 28, 2024 5:45 pm
- Forum: General
- Topic: Camera jittering
- Replies: 13
- Views: 2301
Re: Camera jittering
What hardware and OS are you using? Is it a old laptop without a good videocard ? I thought that you don't want to use that function in the draw function. This makes it much smoother flux = require "flux.flux" function love.load() --if you change filter to linear, movement is smooth, but p...
- Sun Jan 28, 2024 3:29 pm
- Forum: General
- Topic: Camera jittering
- Replies: 13
- Views: 2301
Re: Camera jittering
Maybe you can try to round or floor each position ?
Or extract some code here viewtopic.php?f=3&t=92669
Or extract some code here viewtopic.php?f=3&t=92669
- Sun Dec 03, 2023 7:38 pm
- Forum: General
- Topic: LÖVE 11.5 released!
- Replies: 19
- Views: 211985
Re: LÖVE 11.5 released!
thanks for your work
- Wed Sep 06, 2023 9:54 am
- Forum: General
- Topic: Devs of love2d which os do you use ?
- Replies: 21
- Views: 18236
Re: Devs of love2d which os do you use ?
No, you can't say that. maybe the linux want to vote (or read those topics), and other don't.
The only way you can get more data, if the webmaster publish some stats about OS users that are using this forum.
The only way you can get more data, if the webmaster publish some stats about OS users that are using this forum.
- Wed Aug 23, 2023 7:11 am
- Forum: General
- Topic: Devs of love2d which os do you use ?
- Replies: 21
- Views: 18236
Re: Devs of love2d which os do you use ?
Maybe the webmaster can give some stats of returning 'users' to the /forums page.
Than you know what os users are using the forums.
Than you know what os users are using the forums.