Ok, wow.
The repeat was a nice idea. Really didn't think you could get that kind of recursion within one start of layout.
Thanks again!
Also, thats pretty darn fast.
Sorry the overlay, or mask method is it until some shader type effects are implemented using webgl.
You should check out the Canvas plug as a mask.
Yeah, the fix for the plug is explained in its thread, works pretty good.
With the exception that set wont work on a non existing data structure.
Been trying my luck at doing some mazes in events, but not doing to well.
Thought I'd post here to get any recommendations/ tips.
In the cap I tried to do Prims
failmaze
seeded random
datastructures
Pretty burnt out now. lol
Might want to think about using a different object.
Data-structures is pretty useful.
360/8=45 so pick a random number 1-8 multiply it by 45.
If we get anglelerp you could just do:
sprite set angle to anglelerp(self.angle,random*45,something*dt)
There are two types of objects, layout, and non-layout.
Does that one give you a box to move around in the layout, or does it just add it to the object bar?
Most systems don't allow you to save to the browser temp folder.
Just click save as, and chose an alternate path.
Develop games in your browser. Powerful, performant & highly capable.
Um, kinda.
An "a la carte" method would be interesting. Say you didn't need the whole platform behavior, but you need gravity, or jump, etc.
It just divides the rectangle up into the size of the second sprite.
Looks a little better imho, and its easier to get around the issue with hotspots on the second object.
So rectangle width divided by the second objects width/2 *the second objects width.
Here's a different way to look at it.
http://dl.dropbox.com/u/666516/randangleimagepoint.capx
As to the layer angle, remember the rotation is counter clockwise, since in essence you are rotating the view.
Member since 12 Nov, 2008