New tile based platform engine – theory behind the player
This post will explain the theory behind the player of my tile based plaftorm engine, and answer to some questions readers made commenting steps 1 to 4 First, you must know how Flash converts coordinates to pixels. The player in this platform is a rectangle whose width is 12 pixels and height is 18 pixels. … New tile based platform engine – theory behind the player
New tile based platform engine – part 4
For all jumping fanatics out there, I developed the jumping routine. You can jump hitting SPACE, hope you like it. From next post, I’ll start explaining how I developed this script and obviously I will add a lot of tile types. Now I need some decent pixel art to give the game a polished look. … New tile based platform engine – part 4
New tile based platform engine – part 3
In this 3rd step I introduced the gravity. Now the hero starts on the top of the screen and he can walk “downhill” thanks to gravity. During next step I’ll introduce jumps, then a massive explication will follow. And AS3 version, of course. I have to say, making a platform engine is funny and a … New tile based platform engine – part 3
New tile based platform engine – part 2
In the second part of the engine, I added boundary walls. Still raw code at the moment, but you can see it in action here. It’s the same thing as the one published in part 1, I just added walls and collisions. One note… the hero now has its anchor point on its center, where … New tile based platform engine – part 2
New tile based platform engine – part 1
I am about to develop a tile based platform engine that (in my opinion) will allow to create a lot of different games just changing some parameters. At the moment it only allows to move horizontally but everything is planned, from rooms to jumps, ladders and ropes. My goal is making the developer only focus … New tile based platform engine – part 1
Create a Flash game like PixelField – part 3
This is the 3rd step of the creation of this awesome game. In this step, I created a full playable game with 3 levels. Level generation is made through a function and a switch that renders the proper level. Full source code commented as usual, be sure to read part 2 before jumping into this … Create a Flash game like PixelField – part 3
Seattle Casual Connect breakdown
Living in Italy is fantastic, but this also means I’ll probably miss every interesting IT conference. Anyway, thanks to Michael Sorrenti from Flash Magazine I can enjoy a full report of the conference, and he asked me to share it with you, so we’ll be able to see what happened without even suffering jet lag. … Seattle Casual Connect breakdown
Create a Flash game like PixelField – part 2
Here we are with the second part of Create a Flash game like PixelField. In this step we’ll see how to draw a level. The game is obviously a tile based one, and I like how tiles are a bit smaller than the real tile size, to leave a little gap between tiles and make … Create a Flash game like PixelField – part 2
Mouse avoider/Biggification remix prototype
Just a quick uncommented prototype involving growing (and moving) spheres and a sphere you control with the mouse. Click the mouse to change color, if you touch a sphere of the same colour as yours, you’ll make it disappear. Mouse.hide(); speed = 30; passed = 0; placed = 0; growth = 0.1; velocity = 5; … Mouse avoider/Biggification remix prototype
Create a Flash game like Snowflakes – AS3 version
As announced in Create a Flash game like Snowflakes, here it is the AS3 version. I used the same comments to help you understanding the conversion. package { import flash.display.Sprite; import flash.ui.Mouse; import flash.events.*; public class snowflakesas3 extends Sprite { // max stars on stage var max_stars = 20; // current stars on stage var … Create a Flash game like Snowflakes – AS3 version
Create a Flash game like Snowflakes
Today I enjoyed a cute game called Snowflakes and I am about to show you how to create the main engine behing the game. The game is simple: a bunch of stars (snowflakes in the game, but I guess the author new saw the snow…) is falling from the sky, and you can affect their … Create a Flash game like Snowflakes
