Search found 30 matches

by Alex
Wed Apr 22, 2009 5:02 am
Forum: General
Topic: Ludum Dare 14
Replies: 18
Views: 7897

Re: Ludum Dare 14

I found another love entry.
by Alex
Mon Apr 20, 2009 11:00 pm
Forum: Support and Development
Topic: Just Beginning Love
Replies: 14
Views: 12515

Re: Just Beginning Love

Programming in Lua is a great read. It'll teach you Lua and give you a real appreciation of the language. I highly recommend that EVERYONE who hasn't already read it and is interested in love read at least the first three parts. If you're interested as to how Love is implemented, the source is the ...
by Alex
Mon Apr 20, 2009 3:50 am
Forum: Games and Creations
Topic: Mines Of DOOM!!! ( for LudumDare 14 )
Replies: 6
Views: 5017

Re: Mines Of DOOM!!!

Code: Select all

ERROR!
Invalid joystick index: 0.
:(
by Alex
Mon Apr 20, 2009 2:54 am
Forum: Support and Development
Topic: using continue
Replies: 17
Views: 12841

Re: using continue

It would seem that you need to abstract your code into functions if you want to make anything cleaner. Having all of your bullet creation, deletion, hit detection, and networking code together in a giant loop is a big sign that you should be breaking things into smaller chunks or it'll just get ugli...
by Alex
Mon Apr 20, 2009 2:10 am
Forum: Support and Development
Topic: Apply Force Relative To Rotation?
Replies: 12
Views: 13784

Re: Apply Force Relative To Rotation?

Hmm. This isn't a problem I've encountered, and I've been using I think a max of four keys at a time or so. It could very well be an issue one of many levels, though. Different keyboards support a maximum number of keys, so this could very well be your problem. Other than that, the OS you're using, ...
by Alex
Sun Apr 19, 2009 4:18 pm
Forum: Support and Development
Topic: character control in physics side scrolling
Replies: 4
Views: 4008

Re: character control in physics side scrolling

See other threads on physics. applyForce doesn't work(), use setVelocity(). Also you have to scale down the sizes of things for box2D to handle them sanely (CAMERA is the widely accepted solution to this).

Your game made me smile. :D
by Alex
Sun Apr 19, 2009 4:09 pm
Forum: Support and Development
Topic: using continue
Replies: 17
Views: 12841

Re: using continue

@bartbes I don't understand what you want to tell me... I am using for example the following loops: 1. loop goes through all players... 2.loop goes through all bullets of player X the first test is if bullet hits another player 2. hits terrain and after that and bullet is still alive let bullet fly...
by Alex
Sun Apr 19, 2009 2:00 am
Forum: Support and Development
Topic: Regenerating the swig binding
Replies: 5
Views: 5954

Re: Regenerating the swig binding

benob wrote:BTW, I'm also interested by the gory details of your hate relation with SWIG.
Me too. I've seen SWIG around, but I only just took a look at it due to this thread. It's certainly a tool that's piqued my interest, so I'd like to hear more about it.
by Alex
Sun Apr 19, 2009 1:58 am
Forum: Support and Development
Topic: using continue
Replies: 17
Views: 12841

Re: using continue

It is important to keep in mind that what may be standard practice in one language may be very hard to do in another. Often this does not mean that the language that is making things difficult is lacking a basic feature, rather there are just other ways of doing what you're trying to do that suit th...
by Alex
Sun Apr 19, 2009 1:49 am
Forum: Support and Development
Topic: Apply Force Relative To Rotation?
Replies: 12
Views: 13784

Re: Apply Force Relative To Rotation?

getAngle() returns the angle in degrees, not radians as would be expected. This will change in the 6.0 release. Until then, use math.rad() or math.deg() to switch from degrees to radians or radians to degrees. Hopefully you know the difference? If not, it's an essential topic to learn about if you'r...