Hi everyone
I always need a way to see if an object is overlapping another object. I know that you can do obj1.overlapsObject(obj2), but this means that I have to test obj1 against all possible objects, and it is slow. I would like to do obj1.getOverlappingObjects(), and wade internally could find a quick and efficient way of doing this without testing every possible object in the scene.
To me the main thing that sets wade apart from the other html5 engines, is its really strong performance on mobile browsers. If I were you, I would focus on optimizing mobile performance (if possible), so it remains the fastest html5 engine.
Well to me it seems 0.9 is already realy solid engine for 2D, But i will agree with Elliot on camera contorls. Easier camera usage.
All excellent points, please keep suggesting :)
I agree about the camera.
Oh, i missed a thing, do we have native simple functions to draw? Line, Rectangular & so on?
sprite.setDrawFunction(wade.drawFunctions.solidFill_('red'));sprite.setSize(100, 100); // draw a 100x100 red squaresprite.setSize(150, 1); // draw a red line
Here's another one from me:
I used to use the Torque Game Engine, and in their scripting language (which wasn't as cool as javascript, but still quite good), you could do object.setTimeout(....) which is basically the same as doing setTimeout in javascript, the difference being that it's tied to an object, so when that object is removed from the scene, the timeout function is automatically cancelled. In javascript, I can do that, but then I have to remember to cancel the timeout myself.
I think this is quite handy, and possibly the only feature of the language that I'm missing here. I think it's possible to do this in javascript, and add this type of funcionality to Wade SceneObjects?
This is all well and good, but I think in reality wade has already MORE than what you need to make a decent 2D game. The real problem is that it's hard to find the information you are looking for, most of the time.
You are right hermes, and we are working on a new website (which should launch soon) with lots of info and learning material for WADE. Like you say, it will have the option to search (for samples, demos or documents) so it's going to make it easier to find what you need.
Wow, Seems pretty good update on camera movement) Will try tomorow how it works out.
The new camera system is great, I think it's the most flexible I've seen in any 2D engine. I like the fact that it's straightforward to use if you just want basic movement, but it's flexible enough for you to do some really advanced stuff with not much effort.
Great job with the camera indeed. Looking forward to the new website too... how soon is soon?
It's sooner than you think :)
We are finalizing the list of things that will go into the next version (0.9.2), so if you have any "urgent" requests shout now an we'll see if we can do it.
Please I need way to rotate objects gradually, like sceneObject.moveTo. Maybe sceneObject.rotateTo ?
Hi, I'm quite new here. The engine is great and the tutorials are easy to pick up. Can I request for a tutorial for a preloader bar or even a preloader text. Thanks!
Sure, I've just added a simple snippet that shows how to display a loading image here.
You could add a progress bar by loading data asynchronously (with wade.preloadImage for example) and setting a callback to update your progress bar when each image (or sound) is loaded.
It may be worth adding a couple of functions to WADE to make it easier to create a progress bar... I'll keep that in mind for version 1.1
Thanks! that would be very helpful :)
I've just thought of one little thing to add that would be nice: at present, when you create an animation and add it to a sprite (which doesn't have any animations yet), you have to set the size of the sprite manually with sprite.setSize(). If you don't do that, the sprite doesn't show up because its size is 0.
It would be very convenient if wade could set the size of the sprite automatically when the animation is added.
I would like to add another vote for a progress bar!
I would like to add possibilty to open 2 scripts :
Request for Writing Augmented Reality Applications using Wade and JSARToolKit.