Search found 69 matches
- Fri Jun 26, 2015 6:07 pm
- Forum: Games and Creations
- Topic: The Great Experiment: At the debrises of the former world.
- Replies: 10
- Views: 5459
Re: party turn-based crpg in M&m-like setting (fullhd images
If you make it fullscreen, then you can just capture the desktop: https://trac.ffmpeg.org/wiki/Capture/Desktop
- Fri Jun 26, 2015 5:58 pm
- Forum: Support and Development
- Topic: Is there a way to increase a value when I run my game?
- Replies: 2
- Views: 1939
Re: Is there a way to increase a value when I run my game?
Each variable in your game will be reset each time you launch it, so you'll have to keep track in a file. Something like this: function love.load() timesRun = love.filesystem.read("track.txt") or 0 timesRun = timesRun + 1 love.filesystem.write("track.txt", timesRun) end function ...
- Fri Jun 26, 2015 5:50 pm
- Forum: Support and Development
- Topic: [SOLVED] Multiple polygons not being drawn to a canvas
- Replies: 10
- Views: 4243
Re: Multiple polygons not being drawn to a canvas
Yep, that worked. Thanks!Nixola wrote:Set the color to white before drawing the canvas.
- Thu Jun 25, 2015 4:46 pm
- Forum: Support and Development
- Topic: [SOLVED] Multiple polygons not being drawn to a canvas
- Replies: 10
- Views: 4243
Re: Multiple polygons not being drawn to a canvas
They're not, though. If you comment out the blue polygon, you'll see the green one to the right. Also, if you draw them to the normal screen rather than a canvas, they draw properly.bartbes wrote:They.. kind of are? They're all just solid polygons exactly overlapping. What would you want to have happen?
- Wed Jun 24, 2015 9:47 pm
- Forum: Support and Development
- Topic: [SOLVED] Multiple polygons not being drawn to a canvas
- Replies: 10
- Views: 4243
Re: Multiple polygons not being drawn to a canvas
How can I make them all visible?bartbes wrote:They're all drawn, they're just drawn on top of each other.
- Wed Jun 24, 2015 9:02 pm
- Forum: Support and Development
- Topic: [SOLVED] Multiple polygons not being drawn to a canvas
- Replies: 10
- Views: 4243
[SOLVED] Multiple polygons not being drawn to a canvas
With this LÖVE file, only the last polygon is drawn. Why is that, and what can I do to draw all of them to the same canvas? main.lua for your convenience: function love.load() canvas = love.graphics.newCanvas(100, 100 * math.sin(1/3 * math.pi)) end function love.draw() love.graphics.setCanvas(canvas...
- Tue Jun 16, 2015 4:16 am
- Forum: Libraries and Tools
- Topic: Polar Equations Grapher
- Replies: 2
- Views: 1645
Re: Polar Equations Grapher
Interesting formulas:
A circle:
A spiral:
A star:
A moving star:
The default:
The default, but moving and trippy:
A circle:
Code: Select all
5
Code: Select all
t
Code: Select all
5 + sin(5 * t)
Code: Select all
5 + sin(5 * t + time)
Code: Select all
4 / sin(t / pi) + 4 / cos(t / pi)
Code: Select all
4 / sin(t / pi + time) + 4 / cos(t / pi)
- Tue Jun 16, 2015 3:46 am
- Forum: Libraries and Tools
- Topic: Polar Equations Grapher
- Replies: 2
- Views: 1645
Polar Equations Grapher
A while back, in my math class we were studying polar equations. Our TI-84s were absurdly slow, so I made something in LÖVE to graph them better. https://love2d.org/imgmirrur/dQRf1Dq.png The equation goes in the top left corner. It has all the Lua math functions as globals, as well as t, which is th...
- Mon Jun 01, 2015 4:51 pm
- Forum: General
- Topic: Protip for non-windows users
- Replies: 0
- Views: 960
Protip for non-windows users
If someone uploads a .exe that's made with LÖVE, just change the extension from .exe to .love and open it with LÖVE like normal. Ignore all the .dlls that come with it.
- Sun May 31, 2015 12:48 am
- Forum: Libraries and Tools
- Topic: [TOOL] LÖVERocks - A package manager manager
- Replies: 32
- Views: 31551
Re: [TOOL] LÖVERocks - A package manager manager
Whoa. This looks really useful. I'll definitely remember this for my next project.
(Also: to library makers, you should put your libraries on LuaRocks! It would make them way easier to install and use.)
(Also: to library makers, you should put your libraries on LuaRocks! It would make them way easier to install and use.)