Search found 1239 matches

by BlackBulletIV
Tue Jan 11, 2011 8:53 pm
Forum: Support and Development
Topic: syntax error when trying to use AnAL
Replies: 8
Views: 4257

Re: syntax error when trying to use AnAL

changing the "animation" variables doesn't do anything to change the error. I wouldn't expect it to. Your current is occurring in the call to newAnimation somewhere (you might want to check out the source code of this library you're using). My suggestion was just preventing yet another er...
by BlackBulletIV
Tue Jan 11, 2011 9:16 am
Forum: Support and Development
Topic: syntax error when trying to use AnAL
Replies: 8
Views: 4257

Re: syntax error when trying to use AnAL

I don't know what your latest error is about, but where is the variable "animation" defined? Do you mean "anim1"?
by BlackBulletIV
Tue Jan 11, 2011 9:11 am
Forum: General
Topic: Best and worst game-making habits (forum-game)
Replies: 16
Views: 7909

Re: Best and worst game-making habits (forum-game)

Best: Consistent code style. Having the style of your code kept strictly to set guidelines makes it far easier to read, for yourself, and especially others (ever tried reading inconsistently styled code?). Worst: Not testing often. If you don't test what you've written a lot (make a change, test, re...
by BlackBulletIV
Mon Jan 10, 2011 9:11 am
Forum: Support and Development
Topic: Strange physics error when creating rectangle with 0 height
Replies: 6
Views: 2319

Re: Strange physics error when creating rectangle with 0 hei

That's just how Box2D asserts work, unfortunately. There has been some fixing, I don't know how far they are. Well I guess Box2D was programming with C++ in mind. That would be fine when running C++ programs from the console; but unfortunately it means the error doesn't get to Lua. bill == anjo, th...
by BlackBulletIV
Sun Jan 09, 2011 6:28 pm
Forum: Support and Development
Topic: Strange physics error when creating rectangle with 0 height
Replies: 6
Views: 2319

Re: Strange physics error when creating rectangle with 0 hei

I understand that. What I was posting about is the weird Love handled the error. Love doesn't normally freeze, show a grey screen and then spit out an error message to the console telling me that some assertion failed in a Box2D file ( which by the way has another username, my username is michael).
by BlackBulletIV
Sun Jan 09, 2011 6:13 pm
Forum: General
Topic: Total deployment
Replies: 15
Views: 10477

Re: Total deployment

I agree. Love on iOS would be a serious enhancement for it. Someday I plan to learn the Cocoa APIs and Objective-C, if no one has done it by then I might give it a shot.
by BlackBulletIV
Sun Jan 09, 2011 4:45 am
Forum: Support and Development
Topic: Strange physics error when creating rectangle with 0 height
Replies: 6
Views: 2319

Strange physics error when creating rectangle with 0 height

I'm getting a strange physics error when I create a rectangle with a height of 0. This is the code: function Entity:setRectangleShape(x, y, angle) self.shape = love.physics.newRectangleShape(self.body, x or 0, y or 0, self.width, self.height, angle or 0) end I call the function with no parameters pa...
by BlackBulletIV
Sun Jan 09, 2011 1:49 am
Forum: Games and Creations
Topic: Kurosuke (working title)
Replies: 96
Views: 66858

Re: Kurosuke (working title)

How do I use the editor? Also, in the new version I found it really hard to get out the water. I eventually got out on the left side and did a huge run and jump to get over to the other side. It wasn't this hard before, is it just me? By the way, I can't shoot lightning anymore or use that bomb feat...
by BlackBulletIV
Sat Jan 08, 2011 8:21 pm
Forum: General
Topic: Best and worst game-making habits (forum-game)
Replies: 16
Views: 7909

Re: Best and worst game-making habits (forum-game)

Best: Splitting code up into multiple functions, classes, etc. AND files. Reading a gigantic function is hard work, as it is for classes and the like. What's even harder is reading a file that's a few thousand lines or more; that's painful. Splitting up code will help organisation, save headaches la...
by BlackBulletIV
Sat Jan 08, 2011 10:20 am
Forum: Games and Creations
Topic: Gravity Game
Replies: 54
Views: 18110

Re: Gravity Game

Could you give us a demo of what's been done? (meaning a .love file)