Developing a Facebook Application for absolute beginners – step 3

Emanuele Feronato on Sep 30, 2009 • 21 Comments

In step 1 we created a simple Facebook application, and in step 2 we made our application able to write on the wall Now it’s time to add images and more text to users’ wall when they run the application. This is what I am creating: I know I wrote “appliction”… but it was a [...]

Rendering joints with Box2D

Emanuele Feronato on Sep 29, 2009 • 7 Comments

In most Box2D projects you can see how to render bodies or attach objects to them, but I couldn’t see any tutorial about rendering joints. If you look at the classic rendering loop it’s something like this one for (var bb:b2Body = m_world.m_bodyList; bb; bb = bb.m_next) { if (bb.m_userData is Sprite) { bb.m_userData.x = [...]

Developing a Facebook Application for absolute beginners – step 2

Emanuele Feronato on Sep 28, 2009 • 22 Comments

It’s time to add some features to the application we created in step 1. This time we’ll add some interaction with Facebook, such as publishing results on your wall. The new script is this one: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [...]

Simulating a hook with Box2D

Emanuele Feronato on Sep 27, 2009 • 4 Comments

In a comment to Pumpkin Story prototype, a reader asked for a function to simulate a hook. This can be quite easily done in some steps. This first step will set a rule: you can only hook to a static body. Obviously it’s not a mandatory, rule, but just a gameplay one. In this example, [...]

Pumpkin Story prototype

Emanuele Feronato on Sep 24, 2009 • 8 Comments

This quick Pumpkin Story prototype is made merging and mixing these scripts: Drawing arcs with AS3 and Creation of a Flash artillery game using Box2D. If you notice, it’s similar to an artillery game (like Bloons) with the “only” difference you are the bullet. This opens some interesting gameplay options, so interesting I am going [...]

Php

MySQL to JSON with PHP

Emanuele Feronato on Sep 23, 2009 • 5 Comments

Ugly title for a post, really… but I did not find any function to convert the result of a MySQL query directly into JSON notation, so I made my own function. I really needed it today, so I am sharing it with you. It’s not a everyday use function, but I am sure some of [...]

Drawing arcs with AS3

Emanuele Feronato on Sep 22, 2009 • 8 Comments

If you have ever tried to draw arcs with AS3 (or AS2), you probably smashed your computer on the floor after spending hours with curveTo(). That’s not what we need when we want to draw simple arcs, without any Bezier curve. That’s why I made my own function. It’s not that interesting since it only [...]

Developing a Facebook Application for absolute beginners

Emanuele Feronato on Sep 20, 2009 • 91 Comments

With more than 300 million active users and 50% of them using it every day (source), Facebook can be an interesting way to make some viral marketing. One of the most effective ways is developing an application users (and users friends – and friends of users friends – and…) will use every day. This tutorial [...]

AS3 level editor

Emanuele Feronato on Sep 18, 2009 • 10 Comments

Almost a year ago I blogged about a basic level editor for a tile based game, and now Philipp Zins from Germany show us his AS3 level editor- I made the level editor in ActionScript 3. You can scroll through the tiles with the mouse wheel – it isn’t necessary now, but very helpful if [...]

The return of “Under Construction” – evolution of a malpractice

Emanuele Feronato on Sep 16, 2009 • 13 Comments

In the late 90′s most personal and some commercial websites used to place a big, animated, irritating image like this one: This picture, placed in a webpage browsed at a 800×600 resolution (the most popular one during those years), fills half of the visible area. This means the page was shouting “hey, I am incomplete, [...]

Page 1 of 212