Coder Social home page Coder Social logo

x16-sprite's Introduction

x16-sprite

X16 Sprite Demo

sprite.bas - Use arrows to move the little puck-shaped man around the screen and eat whatever text is there.

ghost.bas - Use arrows to move the monstrous ghost around the screen and haunt everything in its path. Use spacebar to change the color of the ghost.

load_tiles.bas - Demo to show game screen with all data in-line BASIC, no binary loads, to be comaptible with WASM emulator. Does not load any sprites due to reaching the upper limits of BASIC program length.

build_tools.sh - Builds toolchain to convert plain text hex files (*.txt in this repo) to binaries and in-line BASIC.

build_basic.sh - Builds in-line BASIC DATA and VLOAD couplets from all text hex files in repo.

build_bins.sh - Builds VLOAD-able binaries from all text hex files in repo. Required before running load_tiles_sprites.

load_tiles_sprites - Demo to show game screen using binaries directely loaded to VRAM for sprites and tiles. Places player sprite at starting location.

As seen on YouTube:

https://youtu.be/inQlBW3QCRQ -- first version of sprite.bas, checkout initial commit to re-create

https://youtu.be/PpCiK61k3OA -- sprite.bas

https://youtu.be/neKg_cboFSw -- ghost.bas

x16-sprite's People

Contributors

slithymatt avatar

Watchers

 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.