Search found 277 matches

by kraftman
Wed Apr 11, 2012 6:24 pm
Forum: Support and Development
Topic: "Variable nil" error
Replies: 6
Views: 980

Re: "Variable nil" error

Refpeuk wrote:Oh, I see. I thought it worked the same was as assigning multiple variables. Eg:

Code: Select all

local wmx,wmy = mouseworld(love.mouse.getPosition())
Thanks for that!
no problem, to be honest ive never tried doing something like that so im not sure how it does work. Oh well!
by kraftman
Wed Apr 11, 2012 5:46 pm
Forum: Support and Development
Topic: "Variable nil" error
Replies: 6
Views: 980

Re: "Variable nil" error

You can't pass over the return values of functions like that, so as far as character:rotate is concerned it is only receiving wmy and wmy, which are actually the x values of the mouse and character:center functions
by kraftman
Wed Apr 11, 2012 5:37 pm
Forum: Libraries and Tools
Topic: GÖÖEY (WIP)
Replies: 12
Views: 6135

Re: GÖÖEY (WIP)

So I can't use it... Could you release two versions, one with framebuffers and one without them? (Not for me, I don't think I'd use any GUI library not written by me, but I'm not the only one who doesn't support framebuffers) unless someone who cant use framebuffers actually wants to use it, I don'...
by kraftman
Wed Apr 11, 2012 5:00 pm
Forum: Libraries and Tools
Topic: GÖÖEY (WIP)
Replies: 12
Views: 6135

Re: GÖÖEY (WIP)

Not sure if this counts as a double post since the last one was so long ago; I've added multi line edit boxes with syntax highlighting and scrollbars now, they use framebuffers to reduce the effects of having to call love.graphics.print so many times to get different coloured fonts: MultiLineEditBox...
by kraftman
Wed Apr 11, 2012 2:20 pm
Forum: Support and Development
Topic: Collision? How?!
Replies: 10
Views: 2065

Re: Collision? How?!

to do this, you need to check if the objects overlap, or will overlap. how much of the code have you got so far? do you have the players movement sorted out?
by kraftman
Wed Apr 11, 2012 10:01 am
Forum: Libraries and Tools
Topic: Quadtree Spatial Indexing Demo
Replies: 14
Views: 3975

Re: Quadtree Spatial Indexing Demo

nice, I did something similar recently with spatial hashing but not quadtree:
Balls and Walls.love
(1.6 KiB) Downloaded 293 times
Click to increase ball number, arrow keys up and down for grid density
by kraftman
Tue Apr 10, 2012 11:49 pm
Forum: Games and Creations
Topic: Wyrm
Replies: 14
Views: 3963

Re: Wyrm

nice one! i got to 203 and then some how broke right click ><
by kraftman
Tue Apr 10, 2012 11:11 pm
Forum: Games and Creations
Topic: Wyrm
Replies: 14
Views: 3963

Re: Wyrm

Excellent! I really like it :D any chance you could add a score?
by kraftman
Tue Apr 10, 2012 11:07 pm
Forum: Support and Development
Topic: Any way to make textbox inputs?
Replies: 6
Views: 2315

Re: Any way to make textbox inputs?

Here's what I've come up with so far today, it includes syntax highlighting but unfortunately its built on top of a quite heavy GUI lib.