The Love3D R1 Library [V 0.4.2]

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by Tesselode »

The fireworks one is officially awesome.
User avatar
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)

Post by substitute541 »

dreadkillz 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.
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 this

Code: Select all

ball.xPos = math.random() * monitorWidth/2 - monitorWidth/4
ball.yPos = math.random() * monitorHeight/2 - monitorHeight/4
And yeah, not as advanced as other people's demo, but technically I haven't seen theirs yet. Thanks for the mouse rotation comment. Try checking the 7th demo by the way.

EDIT : Ignore the "Try checking the 7th demo btw", I actually didn't read the 2nd page of this thread :P
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by T-Bone »

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 :)
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by qaisjp »

T-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 :)
yup
Lua is not an acronym.
User avatar
Patalo
Prole
Posts: 41
Joined: Sun Apr 29, 2012 1:15 pm
Contact:

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by Patalo »

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 :)
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_
User avatar
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)

Post by substitute541 »

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.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by Nixola »

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
I didn't read your code yet, would it be hard to implement something like this?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by Ellohir »

Love the fireworks and the cube demos. Great job, looks wonderful :awesome:
User avatar
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)

Post by substitute541 »

Nixola wrote:

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
I didn't read your code yet, would it be hard to implement something like this?
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.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: [NEW] The Love3D Project (NEW PROJECTS)

Post by Nixola »

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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 188 guests