Search found 126 matches
- Sat Jan 02, 2021 11:06 am
- Forum: General
- Topic: Optimization Stuff
- Replies: 40
- Views: 48437
Re: Optimization Stuff
This game is made with love2d, is reasonably-scaled and use garbage collection. I do not consider Asteroids (or any clone thereof) to be of any reasonable scale. It is, quite literally, one of the simplest games ever made. You didn't understand my message, it's a reasonable scale love2d game. Lua i...
- Sat Jan 02, 2021 5:08 am
- Forum: General
- Topic: Optimization Stuff
- Replies: 40
- Views: 48437
Re: Optimization Stuff
I'm new to the community; could you link me to one you think fits that description to study? I note that you downgraded your adjective from "giant" to "reasonably-scaled"... https://github.com/a327ex/BYTEPATH This game is made with love2d, is reasonably-scaled and use garbage co...
- Thu Nov 26, 2020 4:55 am
- Forum: Support and Development
- Topic: How to make smooth camera movement?
- Replies: 6
- Views: 5635
Re: How to make smooth camera movement?
When you want to smoothly set a value to a target value you want to use linear interpolation (aka. lerp). function lerp(a, b, x) return a + (b - a) * x end -- or a better version framerate independant function lerp(a, b, x, dt) return a + (b - a) * (1.0 - math.exp(-x * dt)) end In your case the hump...
- Sun Aug 16, 2020 8:54 pm
- Forum: Games and Creations
- Topic: I need feedback about the graphics of my prototype
- Replies: 11
- Views: 11336
Re: I need feedback about the graphics of my prototype
Look very nice !
- Tue Jul 28, 2020 4:56 pm
- Forum: General
- Topic: Löve beginner tutorial [Youtube] All 6 episodes are out!
- Replies: 9
- Views: 8937
Re: Löve tutorial series [Youtube]
Nice, you have good editing skill so it's not boring to hear. Also the small lengh is good. What do you use to edit your videos ?
- Mon Jul 27, 2020 9:49 am
- Forum: Support and Development
- Topic: Is there anything like a version manager for Löve?
- Replies: 5
- Views: 3856
Re: Is there anything like a version manager for Löve?
You could make a batch file that read the love.version variable inside your projects & launch the good version of löve accordingly.
I saw a löve project that did exactly some times ago that but I can't find it.
I saw a löve project that did exactly some times ago that but I can't find it.
- Thu Jun 25, 2020 5:21 pm
- Forum: Support and Development
- Topic: Help with Particle System
- Replies: 2
- Views: 2100
Re: Help with Particle System
https://love2d.org/wiki/love.graphics.newParticleSystem
Also there is a new software that can help you create particle systems here : https://love2d.org/forums/viewtopic.php?f=5&t=88860
Also there is a new software that can help you create particle systems here : https://love2d.org/forums/viewtopic.php?f=5&t=88860
- Thu Jun 25, 2020 5:15 pm
- Forum: Support and Development
- Topic: Help for converting units in Love2D
- Replies: 1
- Views: 1881
Re: Help for converting units in Love2D
The love.physics module is a binding of Box2d. https://love2d.org/wiki/love.physics In box2d the distance is in meters, not in pixel. love.physics.getMeter() return how much pixel equals 1 meter inside the box2d world. If you don't want to use Box2d, just set an arbitrary global number as the number...
- Sat Jun 20, 2020 11:30 am
- Forum: General
- Topic: Access variables in different files
- Replies: 2
- Views: 3817
Re: Access variables in different files
When you write require('file') you are essentially pasting all the content of the file at the place of the require line. Also you can see here : https://love2d.org/wiki/love.run where the love.load() function is really called inside the love2d game loop. If you want to use a global variable in the f...
- Mon Jun 01, 2020 2:41 pm
- Forum: Support and Development
- Topic: Performance: should changing from if conditions to calling different functions be preferred?
- Replies: 2
- Views: 5228
Re: Performance: should changing from if conditions to calling different functions be preferred?
Premature optimization. Just do it like you think it make more sense.