Search found 6 matches
- Mon May 27, 2024 7:38 pm
- Forum: General
- Topic: Noita Lines In Love2D??
- Replies: 4
- Views: 2429
Re: Noita Lines In Love2D??
im not trying to create any wand, im just confused how did they render every pixel on the screen , and simulate them to create diffrent lines and effects, if you know how just give me a very simple example.
- Mon May 27, 2024 10:25 am
- Forum: General
- Topic: Noita Lines In Love2D??
- Replies: 4
- Views: 2429
Noita Lines In Love2D??
Im wondering how can i draw Noita-like lines in love2d, i tried using the "rough" line style, but didnt gave me the result that i was expecting. function love.load() love.window.setMode(500,500) love.graphics.setLineStyle("rough") end function love.draw() mx,my = love.mouse.getPo...
- Sat May 25, 2024 8:10 am
- Forum: Support and Development
- Topic: [ SOLVED ] Having a problem with putting a function into a list
- Replies: 2
- Views: 1527
- Fri May 24, 2024 8:19 pm
- Forum: Support and Development
- Topic: [ SOLVED ] Having a problem with putting a function into a list
- Replies: 2
- Views: 1527
[ SOLVED ] Having a problem with putting a function into a list
function Exit() love.event.quit() end F1 = Exit -- Ui Dementions UiHeight = 15 textOpacity = 0.1 textsClr = {{0.2,0.2,0.2}} textsFunctions {F1} -**Btw this code is written in love.load()**- im trying to put that function in a list but every time i do that it gives me this error : main.lua:120: atte...
- Mon May 20, 2024 2:57 pm
- Forum: Support and Development
- Topic: can some one fix this broken colision for me??
- Replies: 1
- Views: 1875
can some one fix this broken colision for me??
--starting function explo(x) if x*x <=30 then return ((x*x)*1.1)/(x*1.01) else return x end end --Colisions (borders) function borderUp(y) if y <= 10 then return 10 else return y end end function borderDown(y) if y >= 390 then return 390 else return y end end --Colisions (ball colisions) function B...
- Mon May 20, 2024 10:54 am
- Forum: Support and Development
- Topic: i problem with making borders for my game
- Replies: 1
- Views: 1834
i problem with making borders for my game
function explo(x) if x*x <=30 then return ((x*x)*1.1)/(x*1.01) else return x end end function border(y) if y <= 10 then return 10 else return y end end function love.load() _G.paddle1 = { x = 20,y=200,speed } _G.paddle2 = { x = 460,y=200,speed } end function love.update(dt) if love.keyboard.isDown(...