Giter VIP home page Giter VIP logo

demo-parallax-landscape's Introduction

Amiga 500 demo featuring the following technical highlights:

  • Assembly programming on the Motorola 68000 for calculating 3D-rotation of the globe.
  • Heavy use of the Blitter to achieve parallax scrolling, also called 2.5D-scrolling. Note that the clouds move right while the left moves to the left (the further away the slower).
    • Considering the five bitplanes and the arbitrariness of the image sizes, the achieved frame rate of 5+ really stands out.
    • In comparison, Shadow of the Beast has a 20+ frame rate but relies on the several restrictions regarding the object overlap that is only partially alleviated by the double playfield setup.
  • Color cycling for the river plain during vertical blank by the Copper.
  • The sky has a color gradiant obtained by the Copper list during horizontal blanks.

Splash1 Splash2

The pixel art looks strangely familiar... I do not own any of used images. The demo was a purely educational endeavour to have fun while exploring the possibilities of Amiga's OCS.

How to Start

The easiest way is to put the repository into a mounted directory of an emulated A500 and to invoke the executable which is provided for convenience.

cd bin
Demo

At the start, the precalculation of the animation lasts about two minutes. So you need to be patient.

The sources are also included. Within your assembly IDE, you need to assemble src/Demo and start it from the src folder (relative pathes at work...).

By the way, press the mouse button to stop the demo.

Some History

I made this demo in order to achieve the same effects as Shadow of the Beast and the likes before actually understanding the tricks applied (and their restrictions).

demo-parallax-landscape's People

Contributors

phoyh 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.