Search found 170 matches

by Qcode
Mon May 20, 2013 8:15 pm
Forum: Support and Development
Topic: A problem with my code?
Replies: 5
Views: 678

Re: A problem with my code?

First of all to make it easier to read, use the code tags. It's located in the buttons just above the post textbox. Now there are a few problems with this code to address, not only about drawing stuff. First of your problems is that, you're loading an image in love.update. That means that it will re...
by Qcode
Mon May 20, 2013 4:41 pm
Forum: Support and Development
Topic: A question about glsl code
Replies: 5
Views: 1864

Re: A question about glsl code

Thanks a ton for your help, but I'm not entirely sure I understand what I should have the shader do once it receives the canvas. The canvas looks like this: function addlighttocannvas() local lightcanvas = love.graphics.newCanvas(mapwidth, screenheight) local addlight = function() for i = 1, #torche...
by Qcode
Mon May 20, 2013 1:29 am
Forum: Support and Development
Topic: A question about glsl code
Replies: 5
Views: 1864

A question about glsl code

So I've been trying to learn how to write some glsl code, trying to make a lighting system for my new project. I've been running into a problem setting up multiple torches though. My current code is like this: haveshaders = love.graphics.isSupported("pixeleffect") if haveshaders then pixeleffect = l...
by Qcode
Sun Apr 07, 2013 12:01 pm
Forum: Libraries and Tools
Topic: Particle System Editor
Replies: 14
Views: 9517

Re: Particle System Editor

That update's fixed it. Thanks.
by Qcode
Sun Apr 07, 2013 2:31 am
Forum: Libraries and Tools
Topic: Particle System Editor
Replies: 14
Views: 9517

Re: Particle System Editor

Sorry, I should have told you, I encounter this error on startup.
by Qcode
Sat Apr 06, 2013 10:53 pm
Forum: Libraries and Tools
Topic: Particle System Editor
Replies: 14
Views: 9517

Re: Particle System Editor

Image
I'm on mac OSX 10.8 if that helps.
by Qcode
Fri Apr 05, 2013 6:53 pm
Forum: Games and Creations
Topic: Concerned Joe
Replies: 132
Views: 28580

Re: Concerned Joe

You're going to let people freely mod this? I've been watching this for a while, but this just got even better.
by Qcode
Sun Mar 24, 2013 8:12 pm
Forum: Games and Creations
Topic: The Cubistan - or what a total beginner can do in a week.
Replies: 4
Views: 1310

Re: The Cubistan - or what a total beginner can do in a week

I got to 250 then quit. I had a lot more fun than I expected to. I did think the names of the cubes were a bit cliche. I'd recommend changing them to cube puns, simply because all games are better with puns.
by Qcode
Sun Mar 24, 2013 4:55 pm
Forum: Support and Development
Topic: Debug Console
Replies: 4
Views: 1785

Re: Debug Console

You can do something like this function love.keypressed(key) if key == "rctrl" then debug.debug() end end That will freeze your game, and you can now interact with the console. You can change variables, and inspect local variables (there's info on how to do this here http://pgl.yoyo.org/luai/i/debug...
by Qcode
Sun Mar 24, 2013 3:05 pm
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 32708

Re: Debug - A whole new way of debugging your game

I think I've fixed the errors you are talking about. For some reason left and right keys were returning unicode values of around 6000. They couldn't be translated by string.char, so I added a unicode limit of 500. I also added some extra functionality to it, pressing tab will auto complete that vari...