Coder Social home page Coder Social logo

shadowlamer / sixsixsixsix Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 975 KB

Another try to make ZX Spectrum game

Home Page: https://idpixel.ru/news/2253-budni-tehpodderzhi-v-simuljatore-6666/

License: ISC License

CMake 0.70% Shell 0.92% C 72.24% Objective-C 15.90% VBA 0.07% JavaScript 10.17%
retrogaming zx-spectrum just-for-fun yrgb2020

sixsixsixsix's Introduction

6.6.6.6

This is the second attempt to make a game for ZX Spectrum.

Long-long ago, between the world of darkness and the world of living people, it was built - a line of defense, a trap for dark forces. The Net. But from the blows of the creatures of darkness, cracks are already scattering across it. If the defenses collapse, the world will end. The only hope is to repair the cliffs and restore the fallen areas before the entire Network collapses.

But who can handle this task?

You?

The hero of the game is a rookie in the army of Light, protecting the sparkling The Net from the intrigues of the Dark Forces, a fighter against darkness and chaos, a technical support employee who first went to work. evil, restart the routers, and turn off and then turn on the frozen equipment. Each task consists of two stages: a bike ride, where you need to overcome a winding path in the allotted time, and the answer to a question, with a choice of one of three options. Five attempts, and the attempt is wasted both in the wrong answer to the question and in the fall from the bike.

Let the Evil tremble! Our hero is already close!

P.S. Beware of puddles on the road. "

Title image Screenshot

Prerequisities

  1. nodejs and npm because assets preparing scripts written in JavaScript.
  2. bin2c
  3. zmakebas
  4. cmake
  5. sdcc
  6. Fuse emulator

Building

Prepare assets

In a project root directory:

./assets.h

Compile binary

In a project root directory:

mkdir build
cd build
cmake ..
make

Compose tape file

In a project root directory:

./maketape.sh build

This will create tape file sixsixsixsix.tap in a project root directory.

Playing

In a project root directory:

./emulate.sh

Tools

There are some useful tools in tools directory. These tools are used to compile assets to C headers and are called by assets.sh.

Sprites extractor

Sprites are extracted from .scr files to C header files. Extractor can extract sprites from several files. Empty sprites are ignored.

Usage:

sprites_extractor [options] file.scr [file2.scr ...]

Options:

Short Long Description Default
-o --outfile out file sprites.h
-n --name array name sprites
-p --prefix guard prefix _
-w --width sprite width in bytes 2
-h --height sprite height in bytes 16
-? --help print usage information false

Tracks converter

Track data are extracted from .svg files. Just create simple .svg with one , give a path name and run converter.

Usage:

track_converter [options] file.svg [file2.svg ...]

Options:

Short Long Description Default
-d --directory Output directory .
-p --prefix Guard prefix __TRACK
-h --help print usage information false

Tape composer

This tool actually has own repo and npm package

sixsixsixsix's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.