Skip to content

Clone of the classic arcade game built with Unity DOTS

License

Notifications You must be signed in to change notification settings

EugenyN/DOTS-Arkanoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arkanoid logo

DOTS Arkanoid

It's a clone of the classic arcade game created with the experimental Unity DOTS technologies. The game is based on the original Arkanoid gameplay. And the visual style refers to the games of the 16-bit era.

The goal of this project is to get to know Unity DOTS better. The DOTS (Data-Oriented Technology Stack) is a set of technologies developed by Unity for building high-performance, multithreaded code. The most important part of DOTS is the ECS component system, which allows to write code in a data oriented way. The DOTS Arkanoid project uses physics and rendering built on ECS (DOTS Physics and Hybrid Renderer). Some technical details are described below.

scr1 scr2 scr3 scr4

Game design details

  • Original game mechanics and retro look inspired by Arkanoid arcade game and SNES Arkanoid: Doh It Again 1997 by Taito. Local coop mode inspired by Block Block (World 910910) arcade game by Capcom.
  • For input you can use touch screen, keyboard (A, D, Left, Right, Space), a mouse (only player 1) and gamepads (Xbox Controller/XInput)
  • Catch, Enlarge, Laser, Disruption and other power-ups have implemented, hi score and balls speedup mechanics have implemented as well.
  • 5 original stages are included, arcade version of field size 13x18 is used.
  • The ball movement and bouncing physics is close to the original Arkanoid physics.
  • Press Alt+Enter to switch between full screen and windowed mode (for desktop builds).

Tech details

  • Pure ECS in runtime, except Audio, UI and resources, where managed components are used.
  • URP + Entities Graphics with shader for UV coord. animation.
  • DOTS Physics for triggers (ICollisionEventsJob), queries (CastCollider) and masks filtering
  • Burst compilation and jobs scheduling is used for most jobs, however, some sync points optimizations are possible.
  • You can use "F1" cheat button to spawn multiple balls.

Links

Third party resources

  • "Press Start 2P" font, designed by CodeMan38 (OFL)
  • Title logo "Wonder Boy/Sega" by http://arcade.photonstorm.com/
  • Sprites from Arkanoid: Doh it Again 1997 SNES/Taito
  • Sound effects from Arkanoid II NES/Taito
  • Original Arkanoid gameplay by Taito Corporation

Download

You can download DOTS Arkanoid packages for Android and Windows in Release page.

License

Copyright (c) 2022 Eugeny Novikov. The source code is under the MIT license.