This one is in JS (for the browser)
See WIKI
A small preview here on you tube: Video Link
Check out Asteroids game latest version, to see features in action: Play Example game Asteroids
Features so far:
-Loading Images
-Loading Sounds
-Loading JSON data files
-Block fonts
-Animation strips
-"Sprites" and Animated Sprites
-Collision detection
-Sprite effects
-Input utilities
-State engine (Playbooks)
-Error trapping
Since the GAME1 game engine is RETRO, I decided to play around with some old code
I had laying around and combine the GAME1 game engine with the commodore 64 screen mode.
The question is, does it make sense to allow potential game creators to create games that look and feel like C64 games, even thoug…
I worked a little on the collision detection demo for GAME1.
Collision detection in 2d games is not always pixel perfect. The reason is that checking if each pixel of one sprite is colliding with any other pixel of any other sprite is (was) very CPU intensive.
To overcome this, collision boxes were i…
So far, GAME1 engine had the possibility to show “lot's of sprites”,
but there was no easy way to control which sprite was displayed in front of which sprite. Making it a lot of work to do psuedo 3d effects.
What you could do, was having several "SpriteMovers", and render them manually, …
Testing the asset-postload-feature I am working on for GAME1.
Check also out:
https://youtu.be/YxLUFJA35AY
The feature allows you to use any transform any sprite image, into
a deformed version of it.
Why?This for example allows, to draw a sprite once, and reuse it, as it's own scaled, and dithered…
I am currently working on adding tiles.
Tiles are often used in 2d games. Tiles make it possible to reuse graphics. For example define a 256x256 tile with grass, and the background can be tiles infinity with this to create a grassy scrolling world.
No scrolling yet, that is still to come. But I…
Added a “Link Sprite” feature.
What does this do?
It allows you to link a sprite's position to another sprite.
For example, sprite b (shadow) can be linked to sprite a (player). This means that whenever the player moves, the shadow follows.
A linked sprite also has an offset, so for exampl…
Improved the sprite engine to now be able to draw sprites with different composite operations.
In practice it means, I can make the lasers and explosions look better, since the lightness adds up!
Exhaust of space ship, with “lighten” composite operationIt looks better when moving though. Maybe captur…
Started to add some small documentation page on this experimental game engine.
Game1 itself is nothing fancy, the engine is mainly a self-learning project. It will not aim to challenge existing engines. Except maybe some very low end / bare bones 2d engines.
The feature spent most time on so far, is …