Speed is the time rate at which an object is moving along a path, while velocity is the rate and direction of an object's movement. It's not the same, velocity is a vector.
Search found 85 matches
- Wed Jun 21, 2023 9:59 am
- Forum: Support and Development
- Topic: Diagonal RPG Collission!!
- Replies: 17
- Views: 4766
Re: Diagonal RPG Collission!!
- Wed Jun 21, 2023 8:53 am
- Forum: Support and Development
- Topic: Is there a way draw raw data in real time?
- Replies: 3
- Views: 2559
Re: Is there a way draw raw data in real time?
You'd be better off using an ImageData, and updating an Image with its contents each frame with :replacePixels. This, and using FFI pointers and C structs, for a huge performance boost. It's fast enough for FullHD software rendering with 300+ FPS, even on my potato PC. https://i.ibb.co/mvn9PkN/love...
- Mon Jun 19, 2023 12:21 pm
- Forum: Games and Creations
- Topic: In the Heavens - Demo 0.1.12
- Replies: 54
- Views: 926666
Re: In the Heavens - Demo 0.1.4
Runs way better. 15 FPS and massive stuttering vs fluid 60 FPS with only a few drops if I fly faster.
- Mon Jun 19, 2023 10:13 am
- Forum: Support and Development
- Topic: Efficient way to apply two textures to the same mesh?
- Replies: 10
- Views: 7050
Re: Efficient way to apply two textures to the same mesh?
Yep, simple shaders like in your case are pretty easy to write, even without much knowledge. If you know what you want to achieve, it's straight forward.
- Mon Jun 19, 2023 6:57 am
- Forum: Support and Development
- Topic: Efficient way to apply two textures to the same mesh?
- Replies: 10
- Views: 7050
Re: Efficient way to apply two textures to the same mesh?
You mean 2 different UV sets for multi texturing? I've never done it myself but I would search the web for GLSL shaders from others who have done multi texturing like light mapping or AO before and adapt it to Love2D. Custom vertex attributes and how to use them, is explained in the Wiki. But I thin...
- Sun Jun 18, 2023 6:27 pm
- Forum: Support and Development
- Topic: Efficient way to apply two textures to the same mesh?
- Replies: 10
- Views: 7050
Re: Efficient way to apply two textures to the same mesh?
Each vertex already has RGBA vertex color attributes that you can use.
- Sun Jun 18, 2023 4:44 pm
- Forum: Support and Development
- Topic: Source Code of a Löve2D Game is not readable
- Replies: 14
- Views: 6919
Re: Source Code of a Löve2D Game is not readable
Yes, there are LuaJIT decompilers
- Sun Jun 18, 2023 3:58 pm
- Forum: Support and Development
- Topic: Efficient way to apply two textures to the same mesh?
- Replies: 10
- Views: 7050
Re: Efficient way to apply two textures to the same mesh?
He's using the same texture, just different UV's. So it should be possible with only one mesh and a shader.
- Sun Jun 18, 2023 12:55 pm
- Forum: Support and Development
- Topic: Efficient way to apply two textures to the same mesh?
- Replies: 10
- Views: 7050
Re: Efficient way to apply two textures to the same mesh?
I haven't done it before, but it's possible to use 2 different UV values with custom vertex attributes that you send to a shader.
- Sun Jun 18, 2023 12:53 pm
- Forum: Games and Creations
- Topic: Pixel Polygon Creator 2000
- Replies: 6
- Views: 3812
Re: Pixel Polygon Creator 2000
You don't need to use massive canvases. They only have to have the size of the screen. You can do the scrolling by streaming new vertex coordinates to your meshes.