Search found 1548 matches

by ivan
Sat Feb 01, 2020 6:29 pm
Forum: Support and Development
Topic: Seeking advice on collision detection for a tile-based game
Replies: 4
Views: 1075

Re: Seeking advice on collision detection for a tile-based game

Hello, Box2D can easily handle 2000-3000 "dynamic" bodies which is more than you enough. "static" bodies are not checked for collisions against each other so you can probably create a lot more of those. Having said that I should point out that you don't want to run a physics simulation of your entir...
by ivan
Sat Jan 25, 2020 10:24 am
Forum: Support and Development
Topic: How to turn binary into characters and viceversa
Replies: 8
Views: 553

Re: How to turn binary into characters and viceversa

Beautiful solution by zorg. My only concern would be the maximum number size that "tonumber" can handle. It will probably work fine for the 0-255 range. A "safer" solution would be to iterate the table. local sum = 0 for i = 1, #bin do sum = sum + bin[i]*math.pow(2, i - 1) end local byte = string.by...
by ivan
Tue Jan 21, 2020 7:18 am
Forum: Support and Development
Topic: Publishing on Steam?
Replies: 10
Views: 3917

Re: Publishing on Steam?

axehigh wrote:
Tue Jan 21, 2020 6:38 am
Any tutorials on how to get your game on steam?
There are extensive tutorials on the Steam portal, available once you become a Steamworks partner (it costs $100 for your first app)
There is also my Sworks-FFI library: https://love2d.org/forums/viewtopic.php?f=5&t=87917
by ivan
Mon Jan 20, 2020 6:32 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 36
Views: 90597

Re: LÖVE 11.3 released!

Centauri Soldier wrote:
Mon Jan 20, 2020 5:30 am
Will LOVE be updating Lua to 5.4 in the foreseeable future?
No because it's based around LuaJIT.
by ivan
Mon Dec 30, 2019 6:02 am
Forum: Games and Creations
Topic: Cardioid: Sunday kind of LÖVE 1K Challenge
Replies: 13
Views: 3322

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Good one zorg.
This last one by grump is amazing.
by ivan
Sat Dec 28, 2019 4:13 pm
Forum: Games and Creations
Topic: Cardioid: Sunday kind of LÖVE 1K Challenge
Replies: 13
Views: 3322

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Nicely done Grump & ingsoc451.
Doesn't really matter if it's not a perfect cardoid.
by ivan
Fri Dec 27, 2019 6:59 pm
Forum: Games and Creations
Topic: Cardioid: Sunday kind of LÖVE 1K Challenge
Replies: 13
Views: 3322

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Raw: l = love g = l.graphics m = math s,c = m.sin,m.cos p = m.pi a={} for i = -50,50 do t = i/100*6 a[#a+1] = 10*(16*s(t)^3) a[#a+1] = -10*(13*c(t)-5*c(2*t)-2*c(3*t)-c(4*t)) - 20 end b={} for i = -50,50 do t = i/100*p*2 b[#b+1] = 120*c(t - p/2) b[#b+1] = 120*s(t - p/2) end d={} h = g.newCanvas() r =...
by ivan
Fri Dec 27, 2019 6:57 pm
Forum: Games and Creations
Topic: Cardioid: Sunday kind of LÖVE 1K Challenge
Replies: 13
Views: 3322

Cardioid: Sunday kind of LÖVE 1K Challenge

It's that time of year again!

Challenge:
Make a cardoid animation with LÖVE2D in 1K or less
Rules:
1.No external assets such as fonts or animation
2.Everything must be contained in a single main.lua file
3.Your main.lua file cannot exceed 1K

Thanks for participating!
by ivan
Wed Dec 25, 2019 6:54 am
Forum: Games and Creations
Topic: Pix2Level - Create Levels From Pixel Art
Replies: 3
Views: 3197

Re: Pix2Level - Create Levels From Pixel Art

Murii wrote:
Tue Dec 24, 2019 9:19 pm
How do you want to handle multiple layers a map can have? Eg: a layer used just for the background.
There are several ways to achieve this. You could use each of the RGBA channels as a layer.
by ivan
Sat Dec 21, 2019 7:57 pm
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 270
Views: 297538

Re: Distributing your games (making a .love file)

You can use my (cross-platform) library which can export to .love from Lua
https://bitbucket.org/itraykov/love.maker/