Profile
None
Yet another 2D Game Engine
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
0 comments
1 followers
9 entries
Advertisement
chao51
October 21, 2021
A little pause

Hi!


For who is following the progress here, I thought I better mention the status.  Right now there is a little pause on the development.

 

Why?  Well, I am getting side tracked into some non gaming development (using the Game1 game engine).   If you read my last post, you saw that…

6,726 views
chao51
October 10, 2021
Mad experiment with the GAME1 retro game engine

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…

18,616 views
chao51
October 02, 2021
Collision detection

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…

5,311 views
chao51
September 30, 2021
Testing layered sprites feature

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, …

9,482 views
chao51
September 13, 2021
Testing the asset-postload-feature

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…

4,599 views
chao51
September 03, 2021
Tiles and Tools

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…

4,596 views
chao51
August 28, 2021
Sprite linking in my retro game engine

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…

5,433 views
chao51
August 16, 2021
Added sprite

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 operation

It looks better when moving though. Maybe captur…

7,132 views
chao51
August 14, 2021
Started wiki page for GAME1 game engine

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 …

7,727 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement