tototototototot

All posts tagged actionscript

ND2Dx update: faster, more flexible, new rendering techniques, 3D transformations and new dynamic shader system

After all these months without any update for ND2Dx, I decided to take some time and try to package all the modifications I have been doing on it when working on different projects over the past few months. It is not an easy task as lots of things have changed and not everything has been […]

ND2Dx: 3D transformations preview

Another preview before I release the new source code on GitHub: 3D transformation are coming back to ND2Dx ! No need to use any kind of new component or whatsoever. It’s directly integrated into Node2D and the new batching system I’m implementing at the moment. You’ll be able to use nodes with 2d and 3d […]

ND2Dx faster…

Still working on ND2Dx. Implemented a new direct gpu drawing system (like in Genome2D) and I get over 57.000 rotating sprites at ~50/52fps on my same old system. Using the display list, I now can get near the 30.000 sprites at ~60fps (compared to 21.000 before). Here is a screenshot before I set this up […]

Space Cropper, a Qix/Volfied arcade/action game

Space Cropper is a flash game I made a couple of years ago. It is a Qix/Volfied genre of game where you have to reclaim a certain percentage of the surface of the map to complete it. I made it in the spirit of the old “arcade” game with the graphics (mostly taken from Daniel […]

Adaptable TreeView UI Component for Flash as3

Here is a preview of a TreeView component I’m working on for the sake of the game editor I’m developing. The main and big idea that I borrowed from Sibirjak (components and other useful things in flash as3) is the special approach that is taken for DataProviders. See the common way we look at DataProviders in […]

Create a Game – Jelly Smash Tutorial part 4: Finite State Machine to implement Game Logic

Today we will see how to use a Finite State Machine (the one that is integrated into ND2Dx) to implement our game logic. This will be the last tutorial of the Jelly Smash Tutorial series. Unlike previous tutorials, I won’t go into every details and explain every bit of code that makes up the game […]

Benchmarks: SetTimeOut vs. Timer vs. CustomTimer

For the purpose of a Final State Machine that I’m developing for ND2Dx, I wanted to know which one of those approaches is the fastest and most reliable. Testing timers is not an easy task as you can’t really stress test them the same way you could test function calls. So here is my approach: […]

Benchmarks: Dictionary vs. Object vs. Array vs. LookupList

[Update: I put the code of the LookupList class at the bottom of the article] [BIG Update: there was an error in the LookupList class -> now it’s much slower than the rest] And another benchmark comparing various ways of getting an object for a key that is stored in a table. The key is […]

Benchmark: Flash Events vs. Signals

You may be wondering why a new benchmark for this. Well, I have three reasons: all of the other benchmarks I could find on internet were outdated I always prefer to test things for myself as I always test things for myself, I took some time to write a little benchmark tool that will be […]

Stage3D: Error #3606: Sampler 0 format does not match texture format.

I got this error when switching to ATF textures (the new Adobe Texture Format that compresses textures and package it in different format for different systems) in my project. I’m currently using ND2D as a Stage3D framework and it is not being updated anymore. Why do I stick to it is another problem, but I solved it by […]