Difference between revisions of "User:Substitute541/Love3D"
(→Contributors: fix again..) |
(updated) |
||
Line 1: | Line 1: | ||
{{notice|This library is still incomplete, you can expect some bugs... }} | {{notice|This library is still incomplete, you can expect some bugs... }} | ||
− | This | + | This library allows you to simulate pseudo-3D, although you can model some basic 3D polyhedrons with the 3D triangles. There are also other functions too. |
== Download == | == Download == | ||
[https://dl.dropbox.com/u/105405645/Love2D%20Libraries/The%20Love3D%20Library.zip|The Love3D Library.zip] | [https://dl.dropbox.com/u/105405645/Love2D%20Libraries/The%20Love3D%20Library.zip|The Love3D Library.zip] | ||
− | Current Version : 0.2 | + | Current Version : 0.2.7 |
== Instructions == | == Instructions == | ||
# Unzip the .zip file | # Unzip the .zip file | ||
# If you are using this, put the Love3D.lua in your .love file | # If you are using this, put the Love3D.lua in your .love file | ||
− | # On | + | # On the outside of any function in main.lua add : |
<source lang="lua"> | <source lang="lua"> | ||
require "Love3D" | require "Love3D" | ||
− | |||
− | |||
</source> | </source> | ||
− | # | + | # Then on the INSIDE of love.load(), near the end of the function, add : |
+ | <source lang="lua"> | ||
+ | love.load(fl, vpX, vpY) | ||
+ | </source> | ||
+ | # (Note : FL means Focal Length. This value is usually 250. vp means Vanishing Point) And your done! Just call the functions and your ready to go! | ||
== Function, and Variable Definitions == | == Function, and Variable Definitions == | ||
− | + | Under construction. Will be created after the library is 100% confirmed working and there are no bugs. | |
== Contributors == | == Contributors == | ||
Line 27: | Line 29: | ||
[[Category:Libraries]] | [[Category:Libraries]] | ||
+ | {{#set:LOVE Version=0.8.x}} | ||
+ | {{#set:Description=(WIP) This allows you to simulate pseudo-3D in a 2D engine. No Raycasting!}} |
Revision as of 11:26, 1 October 2012
This library is still incomplete, you can expect some bugs... |
This library allows you to simulate pseudo-3D, although you can model some basic 3D polyhedrons with the 3D triangles. There are also other functions too.
Download
Current Version : 0.2.7
Instructions
- Unzip the .zip file
- If you are using this, put the Love3D.lua in your .love file
- On the outside of any function in main.lua add :
require "Love3D"
- Then on the INSIDE of love.load(), near the end of the function, add :
love.load(fl, vpX, vpY)
- (Note : FL means Focal Length. This value is usually 250. vp means Vanishing Point) And your done! Just call the functions and your ready to go!
Function, and Variable Definitions
Under construction. Will be created after the library is 100% confirmed working and there are no bugs.
Contributors