PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Spriteangle not working like I thought

two questions.

1) I was using SpriteAngle() but have found it unpredictable. It doesn't seem to use a 0 to 359 degrees. How does it work? Idealy it should work on a 0 to 359 degree system that corresponds with the SetSpriteDirection Angle to simplify things.

2) Does PPL support jagged arrays?
1.) I had such problem. Its simply a small bug (hope Kornalius will fix it):
Sprite Angle is in radians:0..2*PI, whereas SetSpriteDirection requires angle in deegres (0..360)
1. I will look into it, thanks for pointing it out!

2. Jagged arrays? What are they?