FoxCode and Gio,I will be sending the code.Right now I'm translating to english since I live in Brazil and the code is commented in portuguese.I'm doing with some friends or an integrated work for the university we study.We gonna make an mobile Tamagotchi game.It will have 3 minigames:a doodle jump, an candy crush and an angry birds like game.I was in charge of the angry birds game.Since I liked soo much this new framework/javascript editor i choosed wade to do my part of the project.My other friends decided to go with pure javascript.My friends are pretty advanced in their works,but i'm still strugling with some bugs.They criticized my choice but I decided to give it a go,and now, I'm pretty much in the end of a prototype, but the deadline is close and I'm still strugling with some bugs.The are charging my part saying I'm taking too long to finsih such an "ordinary" game.So I will tell some things that I encountered and will be sending the code right away.
◘The onCollision,onPreCollision and OnUpdate are not working when called in app.js or when coding an behavior.I think you guys could check that out.
◘My game is pretty dam simple, but if I do not compile an exe, it struggles with performace(When I run in mozila for example).I tested the apk and i have the same performace issue.I will be honest,I'm really nervous and desperate about this, because, as my friends will integrate all of our projects, and then compile to an APK with XDK, and, to present for our professors,will be in an HTML form,My game must work via html!
◘Another very odd problem is when the game is over, I have an restart button.The button clears the scene and then calls the wade.app.init().It should work fine, but when it recals the init function, the physics is not inicialized properly.Some collision boxes are not inicialized and ,sometimes,no physics at all is inicialized.
I will correct the error of behaviors , translate some comments(I'm brazillian!),try some performace improves, and will be sending the game.Since I'm not an experienced programmer I ask understanding as to the possible code errors , but I do believe there are not many of them, since I already spent countless hours reviewing the code and already watched all the tutorials already posted by the clockworkchili.If you guys can help me and change some things please feel free to do so.You guys have no idea how immensely grateful I will be to you.I really hope this framework grows and be more widely spread and used for game developers.In the next couple hours I will be sending the Code.
With immense gratitude,Marcos Andre.