Code Monkey home page Code Monkey logo

pyxelroaddemo's Introduction

PyxelRoadDemo

This demo uses road 3d projection method. It features hills, corners, scaling sprites, tracking player position, looping track, parallax background using python and pyxel library as a base to display stuff. Sprite scaling is heavily optimised as for loops in python can be extremely slow and thus affect fps. You can read about the maths behind all of this here http://www.extentofthejam.com/pseudo/
newgif123

What it is?

Small road demo using (only) Pyxel library featuring 2.5D road like in Outrun/Road Rash/etc games with turns and bumps. Scalable sprites (loaded via arrays rather than spritesheet), parallax background with 2 levels (you can expand it), very basic controls and looped racing track.

TO DO

  1. Adjustable pallette in the race depending on the sprites shown
  2. Player sprite and improved player control
  3. Player Y
  4. AI/Bots also with scalable sprites
  5. Lap count

Requirements:

  1. Python 3.10
  2. Pyxel 1.9.18

pyxelroaddemo's People

Contributors

ilya-ssh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.