Is the case... I only write with FlashDevelop and compile with Flash CS3.... 🙂...... now i changed to 2.0.0 version and I dont have more this problem 🙂
2.0.1 Optimized (UPDATE: Now with less fail!)
FlashkreazyLines, can I ask about:
-your operating system: Windows, Macintosh, or Linux?
-your processor speed: how many hertz/hz?
-your RAM: how many bytes?
I'm concerned that the problem may be an out-of-memory error. Can you try giving Flash CS3 more memory?
-your operating system: Windows, Macintosh, or Linux?
-your processor speed: how many hertz/hz?
-your RAM: how many bytes?
I'm concerned that the problem may be an out-of-memory error. Can you try giving Flash CS3 more memory?
atlon dual core 1.6 | 2gb RAM | windows xp
...Well, that's not the problem then. 😕
kreazyLines wrote:
I continue with serius problem with Flash CS3 and FlashDevelop.... If i have a lot objects in the library... never compile... (a lot objects only 7) I remove 1 and compile. :S
I doubt the quantity of library items has anything to do with your problem. I'm betting it's something to do with linkage settings. What precisely is the error message you get when you are unable to compile?
I'm sure FlashDevelop has nothing to do with this either, since all it does is issue a compile instruction... but are you saying that compiling directly from Flash CS3 you don't get the same compile errors?
On page 2 of this thread another user--circinus--posted a slightly altered version of the library. I don't find any difference in performance at all, but you might want to test that out as well.
Is there any chance we can refactor the classes to follow as3 naming conventions: dropping all the "b2", putting the classes in a "org.box2flash" package structure, using lower case letters for function names, etc.
I presented box2d recently to my local user group and the syntax was a huge turn off.
I presented box2d recently to my local user group and the syntax was a huge turn off.
Right now, the Box2D official documentation and wiki are useful for both C++ and AS3 users. They would be significantly less useful if all the class names changed, and I have no interest in rewriting them using AS3 conventions. Additionally, maintaining future AS3 ports of Box2D to match C++ would be more difficult. The advantage that this AS3 port has over Chipmunk and Physaxe is that, as a direct port of Box2D, it is relatively easy for us to stay up-to-date with all of Box2D's features, and I vote that we keep it that way.
That said, pushing all of Box2D's packages into a "org.box2d" or "org.box2dflash" package would be a pretty minor change, in terms of keeping the AS3 and C++ version consistent.
That said, pushing all of Box2D's packages into a "org.box2d" or "org.box2dflash" package would be a pretty minor change, in terms of keeping the AS3 and C++ version consistent.
I second that. Updates before looking good
My opinion is, that if we really want to expose box2d to the actionscript community, we need to make it more accessible.
I presented box2d to a group of 30 developers ranging from entry-level to hard-core. I felt like I had to apologize that it broke every actionscript naming convention that exists and that did nothing but confuse everyone (as if explaining the engine itself wasn't difficult enough already). In my experience, you want the community as involved as possible to help the project structure and creativity mature.
I don't think it would be too difficult to refactor class names or functions. Maybe we could even make it a separate branch. I can take a stab at refactoring 2.0.1, even if that means that branch might lag a little behind the most recent C++ updates.
I presented box2d to a group of 30 developers ranging from entry-level to hard-core. I felt like I had to apologize that it broke every actionscript naming convention that exists and that did nothing but confuse everyone (as if explaining the engine itself wasn't difficult enough already). In my experience, you want the community as involved as possible to help the project structure and creativity mature.
I don't think it would be too difficult to refactor class names or functions. Maybe we could even make it a separate branch. I can take a stab at refactoring 2.0.1, even if that means that branch might lag a little behind the most recent C++ updates.
Go right ahead. If changing the names significantly increases adoption of Box2D Flash, then perhaps I will reconsider my position. It's also worth pointing out that skatehead is still in charge, not me, and he might like your idea, so go ask him.
Original thread: https://box2d.org/forum/viewtopic.php?t=908