Search found 3588 matches
- Sun Dec 06, 2015 4:41 pm
- Forum: Games and Creations
- Topic: Quit: There's no escape.
- Replies: 7
- Views: 3542
Re: Quit: There's no escape.
I tried it under Debian Linux, which ships with love2d 0.9.1. Ironically, when being challenged to close it, it crashed :death: Suggestion: set the version in conf.lua even if you distribute your own LÖVE version, so that Linux users that grab the .love file can know it won't work without a newer one.
- Sun Dec 06, 2015 4:33 pm
- Forum: Support and Development
- Topic: [Solved] Re-load a gamestate in HUMP
- Replies: 3
- Views: 1839
Re: Re-load a gamestate in HUMP
You'll need a way to initialize the game state externally, and call it when entering your game (and maybe in other places like after game over) rather than when switching states.
Or have a flag that says whether it needs initialization on state entry, and set it on game load and on game over.
Or have a flag that says whether it needs initialization on state entry, and set it on game load and on game over.
- Fri Dec 04, 2015 10:07 pm
- Forum: Support and Development
- Topic: Shader Help - Glass Image
- Replies: 1
- Views: 1089
Re: Shader Help - Glass Image
This helped me a lot in understanding how shaders work in OpenGL in general and in Love2D in particular:
http://blogs.love2d.org/content/beginners-guide-shaders
http://blogs.love2d.org/content/beginners-guide-shaders
- Fri Dec 04, 2015 9:51 pm
- Forum: Support and Development
- Topic: Negative color
- Replies: 4
- Views: 5051
Re: Negative color
Maybe something like this helps? love.graphics.setBlendMode('subtractive') Edit: Hm, maybe not. A shader and a canvas is probably the way to go. Stay tuned. Edit2: Here we go: local img, canvas, shader local lg = love.graphics function love.load() canvas = lg.newCanvas() img = lg.newImage("imag...
- Fri Dec 04, 2015 9:40 pm
- Forum: Support and Development
- Topic: String split while ignoring delimiters inside quotes?
- Replies: 16
- Views: 6412
Re: String split while ignoring delimiters inside quotes?
My implementation of the original request with a simple two-state FSM: -- By Pedro Gimeno, donated to the public domain function csv2seq(s) local res = {} local start = 1 local inquotes = false local c = '.' for i = 1, #s do c = s:sub(i, i) if inquotes then if c == '"' then inquotes = false end...
- Fri Dec 04, 2015 7:01 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 170653
Re: Gspöt - retained GUI lib
I think I forgot Sorry.bobbyjones wrote:Did you post a link to your github?
https://github.com/pgimeno/Gspot
- Fri Dec 04, 2015 1:18 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 170653
Re: Gspöt - retained GUI lib
Done. I've submitted my commits too, but I suspect they overlap with your changes. My changes keep LÖVE 0.9.1 compatibility so that Debian Stable users can also benefit from the library (and possibly 0.9.0, but I didn't try). I've based it on the original repo, and merged in SiENcE's changes. Unfort...
- Thu Dec 03, 2015 3:53 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 170653
Re: Gspöt - retained GUI lib
I've got UTF-8 and imagemode working locally and could submit patches. If you're not interested in maintaining it, I am.
- Thu Dec 03, 2015 1:30 am
- Forum: Games and Creations
- Topic: Eboruushion evolution sim, second attempt
- Replies: 2
- Views: 1941
Re: Eboruushion evolution sim, second attempt
Nice! I made something similar to this a long time ago in Pascal with some friends, and more recently reimplemented it in JavaScript. The explanation is in Spanish though. But it allows speciation (try random seed 4 to watch two species arise, the "light seekers" and the "straight wal...
- Wed Dec 02, 2015 10:54 pm
- Forum: Support and Development
- Topic: Symbolic Links
- Replies: 4
- Views: 1743
Re: Symbolic Links
Thanks. Since it's an option controlled by the programmer, I take it that it's a safety, rather than a security, measure (as in protecting programmers against themselves, rather than protecting users against potentially malicious software). The use of 'security' in the wording of that report confuse...