Search found 61 matches
- Wed Jun 19, 2019 6:17 am
- Forum: Support and Development
- Topic: A question about music
- Replies: 13
- Views: 13090
- Mon Jun 17, 2019 7:28 pm
- Forum: Support and Development
- Topic: This release is not compliant with the Google Play 64-bit requirement
- Replies: 7
- Views: 12088
Re: This release is not compliant with the Google Play 64-bit requirement
Oof, I'm afraid I don't really know what I'm talking about but I'm having a look around to see if I can find anything helpful, because that seems like it really sucks. Getting something to actually work for android must have been hell (I remember giving up when I tried) judging from this https://dev...
- Fri Jun 14, 2019 7:26 pm
- Forum: Support and Development
- Topic: (Math Help) How do I round to the nearest 50?
- Replies: 2
- Views: 3143
Re: (Math Help) How do I round to the nearest 50?
first thing that comes to mind is:
(then you call it with '50' as the second argument)
edit: messed it up, need sleep. fixed.
Code: Select all
function roundnearest(num, to)
local rem = num % to
if rem < (to / 2) then
return num - rem
else
return num - rem + to
end
end
edit: messed it up, need sleep. fixed.
- Fri Jun 07, 2019 1:21 pm
- Forum: Support and Development
- Topic: How to detect collision for multiple objects
- Replies: 4
- Views: 6792
Re: How to detect collision for multiple objects
How do I detect collision for multiple objects? :awesome: Love.physics has collision detection (and so do wrappers for it https://github.com/HDictus/breezefield) But if all you need is collision detection then HardonCollider is more minimalistic https://github.com/vrld/HC If you want to implement i...
- Thu Jun 06, 2019 6:37 am
- Forum: Support and Development
- Topic: starting to development a game [solved]
- Replies: 6
- Views: 4176
Re: starting to development a game
No problem. In the tutorials love.graphics.draw is called to render the sprite. https://love2d.org/wiki/love.graphics.draw , As you can see in the documentation, the second and third arguments (after the drawable) are the x and y position at which to draw. So to move the sprite you just change the n...
- Wed Jun 05, 2019 7:06 am
- Forum: Support and Development
- Topic: starting to development a game [solved]
- Replies: 6
- Views: 4176
Re: starting to development a game
I don't have any of my own on hand, but I can point you to two tutorials with examples :
https://love2d.org/wiki/Tutorial:Animation
https://www.gamefromscratch.com/post/20 ... orial.aspx
https://love2d.org/wiki/Tutorial:Animation
https://www.gamefromscratch.com/post/20 ... orial.aspx
- Thu May 30, 2019 7:16 pm
- Forum: Support and Development
- Topic: Code improvement (First time Lua-enet)
- Replies: 7
- Views: 7497
Re: Code improvement (First time Lua-enet)
I've heard good things about ZeroBrane. I imagine I imagine it can automatically correct your indentation when you press tab. You can also configure it to tell you when you go over 80 characters: https://studio.zerobrane.com/doc-editor-preferences (editor.edge=true). Figuring out how to break things...
- Wed May 29, 2019 7:43 am
- Forum: Support and Development
- Topic: Code improvement (First time Lua-enet)
- Replies: 7
- Views: 7497
Re: Code improvement (First time Lua-enet)
Hey ThatBonk, Good on you for asking for coding feedback :)! Getting feedback is really important in my experience. I'll get the readability nitpicks out of the way first: make sure your indentation is consistent, it's important for readability. When someone (including you) scans your code it's easi...
- Sun May 26, 2019 7:08 pm
- Forum: Support and Development
- Topic: Polygon render errors [v11.2] [SOLVED]
- Replies: 4
- Views: 4625
- Sun May 26, 2019 8:12 am
- Forum: Ports
- Topic: LÖVR - a LÖVE-like engine for virtual reality
- Replies: 31
- Views: 164423
Re: LÖVR - a LÖVE-like engine for virtual reality
Woah this is really cool! I always felt that love2d's approach and API should generalize to 3D just fine. I was dissapointed to find that if I wanted to do 3d I'd have to use some annoying bloated GUI engine like Unreal. This is exactly what I'd be looking for for 3d game development! but more than ...