Search found 184 matches
- Sun Mar 13, 2011 3:44 am
- Forum: Support and Development
- Topic: ERROR
- Replies: 15
- Views: 6608
Re: ERROR
syntax error:collisionmanager.lua:26:'=' expected near 'order' This line is: print("collide")In order Lua first sees a call statement, and then it tries to parse "In order." Since In is an identifier, it assumes that the statement is an assignment and spits the error message. Yo...
- Fri Mar 11, 2011 11:58 pm
- Forum: Support and Development
- Topic: HGE's Particle System Editor to LÖVE
- Replies: 3
- Views: 2074
Re: HGE's Particle System Editor to LÖVE
A bug in the particle system in LÖVE 0.7.1 was found, see this topic . I've updated psi2love to set the size variation using ParticleSystem:setSizeVariation() intead of passing it as the third parameter of ParticleSystem:setSize(). The Wiki page is updated and a new executable is attached here. Chee...
- Fri Mar 11, 2011 11:23 pm
- Forum: Support and Development
- Topic: Cannot get particle system right
- Replies: 3
- Views: 1627
Re: Cannot get particle system right
This is due to a bug in ParticleSystem. <snip> thanks for catching it! I only saw it, you're the one who caught it. Thanks for fixing it! In the meantime, you can manually call ParticleSystem:setSizeVariation(0) to fix the issue. This did the trick, thanks. But now I'm seeing two other odd behavior...
- Fri Mar 11, 2011 3:59 am
- Forum: Support and Development
- Topic: HGE's Particle System Editor to LÖVE
- Replies: 3
- Views: 2074
Re: HGE's Particle System Editor to LÖVE
I've just updated the Wiki page with a new version which accepts the function name and the image and buffer parameters on the command line so you won't have to hand-edit those after the code is generated. It's great for automated builds also. Example: $ psi2love.exe /c/Users/Andre/Desktop/hge181/too...
- Fri Mar 11, 2011 3:48 am
- Forum: Support and Development
- Topic: Cannot get particle system right
- Replies: 3
- Views: 1627
Cannot get particle system right
Hi All, I'm trying to make a particle system to emit smoke puffs. I want the puffs to start small at 20% of the image size and end at 100%. I've tweaked setSize in many ways and still can't make it work. I've attached a small .love file that shows the problems I'm facing: 1. Puffs apparently start a...
- Fri Mar 11, 2011 3:40 am
- Forum: Support and Development
- Topic: Using LuaXML in a .love file
- Replies: 7
- Views: 4362
Re: Using LuaXML in a .love file
You can try one of the Lua-only XML parsers available at http://lua-users.org/wiki/LuaXml.
Cheers,
Andre
Cheers,
Andre
- Wed Mar 09, 2011 4:16 am
- Forum: Support and Development
- Topic: HGE's Particle System Editor to LÖVE
- Replies: 3
- Views: 2074
HGE's Particle System Editor to LÖVE
Hi All, I was trying to create a particle system in LÖVE but it's just too frustrating to tweak parameters in the source code and run the game to see if the effect is what I need. Not knowing any other solution, I've written a small C++ program which takes a .psi file from HGE's Particle System Edit...
- Thu Feb 10, 2011 1:12 pm
- Forum: General
- Topic: Any ideas how to make a pixelated circle?
- Replies: 11
- Views: 7986
Re: Any ideas how to make a pixelated circle?
Oh, and if I would need a filled circle, I belive I could just hide a "normal" filled circle behind a pixelated line-circle? (As long as I dont use any alpha) You mean a circle filled with one color and with the border drawn with another color? Hum, I think this could work but maybe you'l...
- Thu Feb 10, 2011 12:10 pm
- Forum: General
- Topic: Any ideas how to make a pixelated circle?
- Replies: 11
- Views: 7986
Re: Any ideas how to make a pixelated circle?
A faster way to draw a circle is to use the midpoint algorithm.
If you need a filled circle, draw an horizontal line connecting pixels mirrored on the y axe. To make a pixelized circle pretend the resolution is lower than it actually is and use rectangles to draw the points.
Cheers,
Andre
If you need a filled circle, draw an horizontal line connecting pixels mirrored on the y axe. To make a pixelized circle pretend the resolution is lower than it actually is and use rectangles to draw the points.
Cheers,
Andre
- Wed Feb 09, 2011 2:32 am
- Forum: Libraries and Tools
- Topic: Love Builder - Automatic .love and Executable Creation
- Replies: 45
- Views: 20482
Re: Love Builder - Automatic .love and Executable Creation
Ok, I've got LÖVE dependencies for Windows from here and setup a solution in VS2008. I had to Add additional include folders Add additional library folders Rename two files as stupid VS outputs all object files to the same intermediate directory Grab two missing files from luasocket source files But...