2D GAMES - PART 1

Disney is saying that will not use 2D anymore for the creation of their movies.

Is 2D dead?

There are many webgame creators hobbyists that love 2D.

We can use Avalon to do this.

It's a little different from 3D because we need to use Pages for the levels.

The "sprites" will be created inside rectangles. You need to use transparent GIFs.

The code is very easy and you can analise it at the downloadable material.

The "Collision" method is similar that we have used at our 3D games.

IMPORTANT: to note that our "Collision" function tests only if: one or more of the 4 points of the rectangle A are inside the rectangle B.

Like a tribute to the MIT guys that created the first videogame ("Space Invaders") our first 2D demo is about alien invasion...

TIP:Pay attention to how we exclude that horrible Bar using Style.

For the demo, create a folder having the name of the .ZIP file and download it - right-clicking the link - and unzip inside the folder :

Dd4.zip

If you like only to see the application running you don't need to do the above download. Only liberate the firewall and play this web3d application:

We are doing our tests at a: Notebook DELL Latitude D600 - Intel Pentium M755 2.0 GHZ - Memory: 512 MB - VideoCard ATI Radeon 9000 32MB DDR 4xAGP - Resolution 1400x1050 - Communication: ADSL 256 kbps (Download: 45 kBps, Upload: 14 kBps)


PREVIOUS LESSON NEXT LESSON
T.CONTENTS HOMEPAGE