Search found 8 matches

by Arthurio
Wed Jul 29, 2009 11:24 am
Forum: General
Topic: errors
Replies: 4
Views: 3467

Re: errors

well what happens if you put print("debug1") right after function load() ? ...
by Arthurio
Wed Jul 29, 2009 11:20 am
Forum: General
Topic: Little help lua table ( one more lol )!
Replies: 2
Views: 2601

Re: Little help lua table ( one more lol )!

Perhaps you could try explaining what you are trying to do? --declare the variable before trying to use it images = {} function loadImages() --load images only once loveball = love.graphics.newImage("images/love-ball.png") end function newImage(tx,ty) --use the image reference table.insert...
by Arthurio
Wed Jul 29, 2009 3:05 am
Forum: General
Topic: Documentation is pretty, bland.
Replies: 9
Views: 7613

Re: Documentation is pretty, bland.

I wholeheartedly support this. The current documentation is lacking to say the least. Imo there should be: 1) more info about parameters: min and max values, default values, maybe tips 2) more info about what a particular function or method does 3) examples!! and links to examples! with code, screen...
by Arthurio
Wed Jul 29, 2009 12:59 am
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 24176

Re: Graphic layers?

For only drawing inside the visual area take a look at love.graphics.setScissor. I tested that ... setScissor is nice but setScissor + not calling a .draw function at all = much much better performance. So much better in fact that using only setScissor has almost no impact in comparison. This simpl...
by Arthurio
Tue Jul 28, 2009 10:27 pm
Forum: Support and Development
Topic: physics problems
Replies: 0
Views: 3233

physics problems

Check the attachment. Sorry bout the messy code, I'm just testing stuff. The included graphics are placeholders, found on the web. move: w, a, s, d run: shift + a or w jump: space toggle debug stuff: h My problem is the following: I want to check if the character should be able to jump or not but th...
by Arthurio
Tue Jul 28, 2009 10:00 pm
Forum: Support and Development
Topic: Gravity well in Love?
Replies: 6
Views: 5323

Re: Gravity well in Love?

I don't think you can use 'gravity' for what you want to do because the box2D gravity is global and directional.
Try body:applyForce(fx, fy) http://love2d.org/docs/Body_applyForce_1.html

edit: I think you need to do this every update for every object that is near the gravity well
by Arthurio
Tue Jul 14, 2009 2:21 pm
Forum: Support and Development
Topic: LuaEclipse and LÖVE
Replies: 1
Views: 3905

LuaEclipse and LÖVE

Hi I'm really new here. I was looking for a 2D game engine and found LÖVE. And it looks Awesome! :) So I started thinking: how can I start off on the right foot ... looked around on the web and found LuaEclipse which sounds like the right tool for the job since I've always liked Eclipse. I wrote dow...
by Arthurio
Sun Jul 12, 2009 7:16 pm
Forum: Games and Creations
Topic: A hello, some thanks, and a shooter
Replies: 5
Views: 8103

Re: A hello, some thanks, and a shooter

Great game! :)
Now it just needs online stats ;)

Btw ... it does get quite ridiculous around the 1m score level... sometimes I could swear the enemies/sec rate was higher than my bullets/sec :)