Author Archives: Zevan

Prefix Notation (Lisp Style)

Today's quiz is not multiple choice. Instead, your task is to write a lisp style math parser. This may sound tricky, but it's surprisingly simple. (well... not simple exactly, it's just simple compared to what one might assume).
Lisp uses prefix notation... where the operator is placed before the operands:
10 * 10
becomes:
* 10 10
You [...]

Posted in Math, QuickBox2D, Quiz | Tagged , , , , | Leave a comment

AS Quiz #15 (Hardest Quiz Yet)

This is probably the hardest quiz yet. After yesterdays very easy quiz I figured I'd do something really trickey... binary is always a good way to make a quiz hard... so most of the questions are about binary operators and ByteArray... there is also one question about Bezier math.
Number of Questions : 7
Difficulty : Hard
Topic [...]

Posted in Quiz | Tagged , , , | 3 Comments

AS Quiz #14

Today's quiz is about TextFields.
Number of Questions : 6
Difficulty : Easy
Topic : TextFields

Posted in Quiz | Tagged , , , | 1 Comment

AS Quiz #13

Today's quiz is not multiple choice. Instead, your task is to draw a spiral using a recursive function.

Optionally you can alter your function to draw other types of spiral forms:

(You can view various solutions in the comments - as well as my solution at wonderfl)

Posted in Quiz | Tagged , , , | 6 Comments

QuickBox2D Tutorial

Today the first part of a 3 part QuickBox2D tutorial went live on active.tutsplus.com
It's an intro tutorial, so it just scratches the surface. Part 2 digs a bit deeper and part 3 covers complex stuff like joints and contacts.... (part 2 and 3 will be posted sometime in the near future).
Check it out here...

Posted in Uncategorized | Tagged | 11 Comments

AS Quiz # 12

Today's quiz is not multiple choice. Instead, use your choice of the Graphics class or BitmapData to write a function that generates the below image:

Your function need not take any arguments, it need only return a display object containing the above image.
Feel free to post your solution in the comments.
[EDIT] Solutions:
The solutions that have been [...]

Posted in Quiz | Tagged , , , | 14 Comments

AS Quiz #11

Today's quiz jumps around from topic to topic, touching on filters, events, BitmapData and more...
Number of Questions : 6
Difficulty : Medium
Topic : Miscellaneous

Posted in Quiz | Tagged , , , | 6 Comments

AS Quiz #10

Today's quiz is about Events and OOP.
Number of Questions : 5
Difficulty : Easy
Topic : Events and OOP

Posted in Quiz | Tagged , , , | 3 Comments

AS Quiz #9

There were lots of great submissions to yesterdays quiz. If you haven't seen them, check them out here...
Click here to see two solutions two solutions to yesterdays quiz...
Today's quiz is medium level and covers a few different topics...

Number of Questions : 6
Difficulty : Medium
Topic : Graphics Class and more

Posted in Quiz | Tagged , , , | 5 Comments

AS Quiz #8

Today's quiz is not multiple choice. Instead, your task is to write a function that draws stairs that look like this:

Your function should have the following arguments:

drawStairs(graphics, stairNum);
// you may include additional arguments for size, depth etc..

Feel free to post your solution in the comments.
I'll post my solution for this in the comments tomorrow. [...]

Posted in Graphics, Quiz | Tagged , , , | 19 Comments