Yeah, I did run into that. The makeProper function reorders the matrix.pgimeno wrote: ↑Mon Apr 23, 2018 9:28 am There are two problems you may have run into; one is https://github.com/excessive/cpml/issues/33 and the other is viewtopic.php?p=219678#p219678
Search found 13 matches
- Mon Apr 23, 2018 6:29 pm
- Forum: Support and Development
- Topic: How would I go about drawing simple 3D shapes in 11.0? [Solved!]
- Replies: 4
- Views: 4977
Re: How would I go about drawing simple 3D shapes in 11.0? [Solved!]
- Mon Apr 23, 2018 1:40 am
- Forum: Support and Development
- Topic: How would I go about drawing simple 3D shapes in 11.0? [Solved!]
- Replies: 4
- Views: 4977
Re: How would I go about drawing simple 3D shapes in 11.0?
After fiddling with my matrix function, I got it to work! I'm not sure what the issue was, but now I've got a 3D triangle. Also, turns out my calculations seem to have their Y coordinate flipped. Screenshot from 2018-04-22 18-37-54.png If you want to see how it works, you can visit the GitHub repo: ...
- Sun Apr 22, 2018 9:40 pm
- Forum: Support and Development
- Topic: How would I go about drawing simple 3D shapes in 11.0? [Solved!]
- Replies: 4
- Views: 4977
Re: How would I go about drawing simple 3D shapes in 11.0?
I've been working on trying to get it to work, and I've been making progress. I've been trying to adapt the love3d demos' code to work in my environment. Doing the calculations outside of the shader code seems to suggest that it should be drawing something, but it's not. Screenshot from 2018-04-22 1...
- Fri Apr 20, 2018 4:56 pm
- Forum: Support and Development
- Topic: How would I go about drawing simple 3D shapes in 11.0? [Solved!]
- Replies: 4
- Views: 4977
How would I go about drawing simple 3D shapes in 11.0? [Solved!]
11.0 adds a bunch of new features to be used from shaders for supporting depth buffers, but I don't have any clue how I'd actually use them. Are there any examples out there or something to get me started?
- Tue Mar 06, 2018 10:22 pm
- Forum: Libraries and Tools
- Topic: love-joycon - Switch controller support for LÖVE
- Replies: 3
- Views: 7018
Re: love-joycon - Switch controller support for LÖVE
Can you rewrite it so it works exactly like normal joystick API? So that, you know, joycons are automatically supported, without you having to explicitly write its own code for them? Imagine you had to write its own code for XBox controller, PS4 controller, all the third party controllers, etc. The...
- Tue Mar 06, 2018 4:59 am
- Forum: Libraries and Tools
- Topic: love-joycon - Switch controller support for LÖVE
- Replies: 3
- Views: 7018
love-joycon - Switch controller support for LÖVE
love-joycon love-joycon is a smallish library that adds Joy-Con and Pro Controller support. The library is fairly simple to use (unless you're supporting Windows, which you probably should be). Just joycon = require("joycon") and call the joycon.joystick* functions. If you support Windows...
- Sun Dec 14, 2014 4:59 am
- Forum: Libraries and Tools
- Topic: Locale - A simple localization system for LOVE
- Replies: 1
- Views: 3467
Locale - A simple localization system for LOVE
Hello everyone! While writing my game (that hasn't been released yet), I added in a localization system, and I thought I may as well post it here so that others can use it also. Usage is pretty easy: locale = require "locale" function love.load() locale.setLocalization("en_US") e...
- Fri Dec 05, 2014 3:47 pm
- Forum: Games and Creations
- Topic: Pacturn (Turn-Based Pacman)
- Replies: 2
- Views: 3689
Re: Pacturn (Turn-Based Pacman)
A word of an advice, but I would highly consider changing name pacman. NAMCO at from what I've seen in the internet, has a bit of a reputation of not really liking random people using their trade marked name on other projects. Yeah, I just wasn't really sure what to call it yet. But thanks for the ...
- Fri Dec 05, 2014 4:26 am
- Forum: Games and Creations
- Topic: Pacturn (Turn-Based Pacman)
- Replies: 2
- Views: 3689
Pacturn (Turn-Based Pacman)
Hello all, Pacturn is my first "completed" LÖVE game. The basic premise is that it's a turn-based Pacman game. The game is fairly simple: One player plays Pacman, and the other player(s) control the ghosts (Blinky, Speedy, Inky, and Clyde). Although there is no win condition (yet), Pacman ...
- Fri Nov 28, 2014 2:28 am
- Forum: Support and Development
- Topic: Why does this code not work?
- Replies: 4
- Views: 4058
Re: Why does this code not work?
Or, if you really, really, want to:
Code: Select all
function love.draw()
function mainBackground()
love.graphics.setBackgroundColor(50, 50, 75)
love.graphics.rectangle('fill', 0, 520, 1280, 200)
end
mainBackground()
end