Create a Scenario/Map using Inkscape

Hi!

We are working with some corrections and updates in engine, you can see it in Repository last changes, in bottom of the site.

Now, we are proud to announce the first SVG/Inkscape integration, now Nostaljia support the entire Scenario to be created/draw in Inkscape.

Inkscape SVG Scenario

Inkscape SVG Scenario

We are working in SVG support for animations too.

The documentation is in SVN.

New version of MetalSlug

Hi!

We are proud to introduce a new improved version of MetalSlug Remake.

Please Click here to download MetalSlug!

Unzip and run metalSlug.jar.

metalSlug

metalSlug

VIDEO:Alpha Chrisalys Game Play

Pixel perfection collision

We have implement Pixel Perfect collision.

pixel perfect collision

Pixel perfect algorhytm uses a complex logic to implement a very precise collision method.

This implementation is very optimized, as you can see the FPS don’t change during the video, but if you set all sprites of a game to pixel perfect, may be a speed issue.

Nostaljia still have the default box collision method.

Each sprite can have the collision method defined to it.

The code to use is showed above:

Sprite p = new Sprite("00.png");//creates a sprite
p.setClashType(Sprite.CLASH_TYPE_PIXEL_PERFECT); //define pixel perfect collision

Easy don’t?

The engine control all the collision tests and return the right result.

A video show a real time example:

We hope you enjoy!!

We create a Shake Class, that shakes the screen!!

Yes!!

Now the engine can do a milk shake!!!

A Shake Class, that shakes the screen was created.

You can easy create a shake using the code above:

Shake shake = new Shake( currentScene.getCamera() , 2 , 2 , 10 );

Where, 2 ,2  and 10 are respectively shakeX, ShakeY and shake duration.

The plane4.java has it implemented.

plane4

plane4

If someone don’t lknow the engine make that explosion with a single line too:

Explosion explod = new Explosion( Anim.makeFromTiledImage("explosion.png", 64, 64, 1, "Explod") ,ovni.getX() , ovni.getY() );

Anim.makeFromTileImage is a static method of anim class the create a animation when you pass a tiledImage (64,64 is the size of the tile, 1 is the time that each frames persist, and “Explod” is the animation name, others paramaters are the position of explosion. The explosion class can be used in other cases too, to create other effects that enter in screen, and out when animation ends.

We hope you enjoy!!

« Older Entries