The Love3D R1 Library [V 0.4.2]
Re: [NEW] The Love3D Project (NEW PROJECTS)
The fireworks one is officially awesome.
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: [NEW] The Love3D Project (NEW PROJECTS)
Yeah it's kinda bugged. There's an error in the code, and I got a fix. If you can access the main.lua file replace the ball.xPos, and ball.yPos with thisdreadkillz wrote:The third demo is bugged. The circle is off screen to the right instead of centered. Looks cool on the 5th demo with the mouse rotation. I think you will get more replies when you have something more than spinning circles. There are also older topics where people have made some impressive pseudo 3d ala doom Wolfenstein style. Your demo is sorta bleh compared to some stuff people have posted.
Code: Select all
ball.xPos = math.random() * monitorWidth/2 - monitorWidth/4
ball.yPos = math.random() * monitorHeight/2 - monitorHeight/4
EDIT : Ignore the "Try checking the 7th demo btw", I actually didn't read the 2nd page of this thread
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: [NEW] The Love3D Project (NEW PROJECTS)
The fifth demo is kind of cool, I think you could make a pretty cool game with only that Try to get simple textures to work, then you can make a solar system demo
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: [NEW] The Love3D Project (NEW PROJECTS)
yupT-Bone wrote:The fifth demo is kind of cool, I think you could make a pretty cool game with only that Try to get simple textures to work, then you can make a solar system demo
Lua is not an acronym.
Re: [NEW] The Love3D Project (NEW PROJECTS)
I like how demo are numbered with odd numbers. Bring something mystical. (well actually I reread the first post while writing that. Demystified )
Demo 5 really carry the illusion. Code is impressively concise too. Bring some colors
Demo 5 really carry the illusion. Code is impressively concise too. Bring some colors
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: [NEW] The Love3D Project (NEW PROJECTS)
Patalo wrote:I like how demo are numbered with odd numbers. Bring something mystical. (well actually I reread the first post while writing that. Demystified )
Demo 5 really carry the illusion. Code is impressively concise too. Bring some colors
Apparently, z-sorting(sorting objects in the z space, you know, so that, farther objects don't appear at front) is difficult without "arrays". Until I find a way to sort out the z position, all the objects will be at the same color. And I am working on making a cube. Good thing that love2d has the Quad object. Oh and yes, the code is very concise. The only thing that's different is, your just changing the functions to fit the z space. Everything is almost the same(the rotate functions itself is simple. Originally, for 2D space, you only have 2 x1/y1 statements. 3D somehow tripled that o.e.)
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: [NEW] The Love3D Project (NEW PROJECTS)
Code: Select all
>objects = { {x = 5, y = 4, z = 3}, {x = 9, y = 55, z = 6}, {x = 11, y = 66, z = 5} }
>table.sort(objects, function(a, b) return a.z > b.z end)
>for i, v in ipairs(objects) do
>>print(v.x, v.y, v.z)
>>end
9 55 6
11 66 5
5 4 3
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: [NEW] The Love3D Project (NEW PROJECTS)
Love the fireworks and the cube demos. Great job, looks wonderful
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: [NEW] The Love3D Project (NEW PROJECTS)
Hmm... the z-sort function would probably have something like that. Here's what I want to do : I want objects farther(as in, greater zpos) to be behind, and objects closer(smaller/negative zpos) to be at the front. Oh and, thanks for the comment on the 3D cube @post above me.Nixola wrote:I didn't read your code yet, would it be hard to implement something like this?Code: Select all
>objects = { {x = 5, y = 4, z = 3}, {x = 9, y = 55, z = 6}, {x = 11, y = 66, z = 5} } >table.sort(objects, function(a, b) return a.z > b.z end) >for i, v in ipairs(objects) do >>print(v.x, v.y, v.z) >>end 9 55 6 11 66 5 5 4 3
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: [NEW] The Love3D Project (NEW PROJECTS)
Code: Select all
>objects = { {x = 5, y = 4, z = 3}, {x = 9, y = 55, z = 6}, {x = 11, y = 66, z = 5} }
>table.sort(objects, function(a, b) return a.z < b.z end) --simply change > to <
>for i, v in ipairs(objects) do
>>print(v.x, v.y, v.z)
>>end
5 4 3
11 66 5
9 55 6
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: Google [Bot] and 188 guests