Jump to content

svenvandevelde

Members
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    14

Files posted by svenvandevelde

  1. Equinoxe Demo

    Hi,
    Find a first playable demo of Equinoxe, my Commander X16 shooter ...
    I know it's not much yet, but I've come from very far making this.
    To make this, I had to learn how to:
    - implement a memory manager algorithm for vram on the vera
    - implement a memory manager algorithm for bram
    - implement a (fast) collision detection algorithm using spacial hashing technique
    - implement a fast method to shoot bullets to an angle direction
    - implement a fast method to calculate the angle between 2 coordinates (so calculate the unit vector)
    - fixed point arithmetic
    - sprite design using blender and spriter
    - tile design
    - implement a dynamic tile walking algorithm
    - vera library with all kinds of functions to paint sprites and tiles and control the video ram
    - dynamic level loading
    - memory banking
    - mouse control of the CX16

    and more ...
    So as this demo may not be much, I've really learned a lot on this path to make this.
    And still continuing to develop this game as time floats...

    Let me know in the comments if this is something you like or not ...

    This demo must be downloaded as the emulator version on the web does not allow to load a card.
    So unzip the cx16.zip and a cx16.vhd file will be created.
    Load the game with x16emu -sdcard cx16.vhd
    In the emulator, type load "equinoxe.prg", 8, 1
    Enjoy!
    Sveni
     

    30 downloads

       (0 reviews)

    Updated

  2. A demo of the atan2() function approach, to calculate the angle between 2 points.

    Find attached a small demo program that calculates the angle between the middle point of the sceen and the mouse pointer position.
    This demo only runs on the R39 emulator version of the cx16.
     
    The angle calculated is between 0 and 63, so each quadrant in the circle has 16 different angles (0 to 15).
    Please comment to the following article that goes into details on this atan2() approach ...
    Sven

    8 downloads

       (0 reviews)

    Updated

  3. Fragmentation demo of heap memory manager in banked ram

    A demo showing a heap memory manager being functional, dynamically allocating and freeing memory blocks of various sizes in banked memory of the CX16.

    8 downloads

       (0 reviews)

    Updated

  4. Space Flight

    .

    308 downloads

       (1 review)

    Updated

  5. Vera Modes - Demo

    This demo program provides an overview of what the vera card can do in terms of the different configurations in text mode, tile mode, and bitmap modes.
    The demo is nothing really fancy, but the workhorse underneath is the new API library (veralib.c and veralib.h, conio-cx16.c etc. ) that allows to configure and control the vera card of the CX16 using the kickc compiler of Jesper Gravgaard:
    camelot / kickc · GitLab. The veralib library and source code of this demo program has become an integral part of the compiler and test programs, and can be downloaded also from src/test/kc/examples/cx16/cx16-vera.c · CX16_VERA · Sven Van de Velde / kickc · GitLab.
    If you're a C-programmer, and you're interested in using this library, please beware that this is still work in progress. However, if you're motivated to try it out, i'm really interested to get feedback on this c-library to understand if the API is useful and clear. Feel free to try out the program, by running it in an emulator in windows; the mobile phone emulators won't be able to run this program properly because the keyboard is needed to run this. More features are planned to be added. One of the features planned is to provide mouse support, so it can be run using the android emulators too.
    kind regards,
    Sven

    122 downloads

       (0 reviews)

    Updated

  6. VERA window panning demo

    This program is written using kickc of Jesper Gravgaard. I'm helping him to create a framework encapsulating the CX16 vera in order to be able to quickly create graphical effects for games.
    This is a short demo and I hope you like it.
    This program uses the keyboard to progress through the program!
    So be sure to run this from the desktop, since the emulator on mobile phones do not have a keyboard!

    57 downloads

       (0 reviews)

    Updated

×
×
  • Create New...

Important Information

Please review our Terms of Use