Page 1 of 2

T-Rex game for Oric

Posted: Mon May 29, 2017 10:48 am
by iss
Hi all!
I'm very glad to present a small action game for Oric: Run T-Rex, Run !!!
The game is published in CEO-MAG Nº325 (5/2017) and is available on oric.org.

Code: Select all

Run T-Rex, Run!!! for Oric
==========================

About:
------
  This is a simple side-scrolling game
  for Oric-1/Atmos/Telestrat/AtmoStrat.

  Basically it's a remake of the Google
  Chrome secret hidden game, which is
  available when the browser runs in
  off-line mode.

  More information about the original
  can be found at:
  https://goo.gl/9tXcLj

  ... and a "hacked" version for on-line mode
  or for other browsers here:
  https://goo.gl/6Nlgrv

  ... and here as extracted sources:
  https://goo.gl/xtgiVJ

Rules:
------
  The Game is very easy - run, jump or duck!

Technical:
----------
  Altrough the game looks unpretentious,
  it uses some unique techniques:

  * 2 pages switching for smooth animations:
    The render "engine" uses 2 pages - one
    in Text mode and one in Hires. After
    every new frame is updated pages are
    quickly switched.

  * Automatic vertical synchronization:
    Using 50/60Hz attributes with special
    calculated timinigs at startup allows
    to catch the vertical retrace and to
    initialize VIA's T1 properly.

  * Two different render routines are used
    for Text and for Hires drawing.

  * The standard character set is used for
    sprites. Some chars are redefined on-the-fly
    for every new frame.

Legal stuff:
------------
  This game is FREE.
  Many ideas and resources used in the game
  are found free on Internet, but they are
  property of their authors as follow:

  * original game, logo and sprites:
  - Google, Google Chrome: https://goo.gl/wCcNRR

  * 2 pages technique:
  - Twilighte: https://goo.gl/17842S
  - Dbug: https://goo.gl/8LoQdV

  * Auto V-Sync:
  - ThomH: https://goo.gl/vuakjN

  * Background music:
  - Gershon Kingsley, Popcorn Song 1969: https://goo.gl/zwVROM
  - X-agon, Popcorn ZX/AY remix: https://goo.gl/W1lCQN
  - ym2mym + mym player - OSDK: https://goo.gl/kYWmII

  * Character generator and bold font:
  - peacer: https://goo.gl/kMS7IC

  * BETA testing and support:
  - jorodr



Cheers!
-------
iss, 2017
t-rex.jpg
t-rex.jpg (6.43 KiB) Viewed 20297 times
Attached zip-file contains TAP and DSK versions ready to play and the above text info.
All comments and feedback is highly appreciated!
t-rex.zip
(56.95 KiB) Downloaded 511 times

Re: T-Rex game for Oric

Posted: Mon May 29, 2017 12:09 pm
by jede
Will you release Oric source code ?

Re: T-Rex game for Oric

Posted: Mon May 29, 2017 12:28 pm
by iss
jede wrote: Mon May 29, 2017 12:09 pm Will you release Oric source code ?
For compilation are used my own make-based build system, cc65 toolchain, some OSDK tools and some LUA scripts for sprite manipulation and generation. If there is interest I can post the source code.

Re: T-Rex game for Oric

Posted: Mon May 29, 2017 1:01 pm
by Chema
Yeah, please do it. If possible add it to the svn, even if it is not possible to build it with OSDK.

It is really nice. Well done!

I am pretty interested in the actual implementation of the automatic Vsync... I might use it myself if I am able to, and you don't mind :)

Re: T-Rex game for Oric

Posted: Mon May 29, 2017 1:04 pm
by jede
iss wrote: Mon May 29, 2017 12:28 pm
jede wrote: Mon May 29, 2017 12:09 pm Will you release Oric source code ?
For compilation are used my own make-based build system, cc65 toolchain, some OSDK tools and some LUA scripts for sprite manipulation and generation. If there is interest I can post the source code.
you can also put source code on github. It's interesting for atmostrat part :)

Re: T-Rex game for Oric

Posted: Mon May 29, 2017 8:10 pm
by coco.oric
Thanks ISS for this 2e game of the year (after vexed 2 which should be on oric.org soon)

And i agree with Chema, i'm interested in your vsync technic

Re: T-Rex game for Oric

Posted: Tue May 30, 2017 8:17 am
by iss
Attached is the auto vsync code together with some standard VIA related definitions.
Maybe interesting will be the 'compat.h/compat.s' too, which main purpose is to make
code compatible between CC65 and OSDK.
The auto vsync code is exactly coded according ThomH's message and lot of optimizations can be done.
For the complete game source code I just need some more time to make it bit more friendly.
vsync-auto.zip
(3.91 KiB) Downloaded 459 times

Re: T-Rex game for Oric

Posted: Wed May 31, 2017 9:28 pm
by Dbug
Nice :)

I'm glad to see a game that has music and also actually implements the auto-vsync thing and page flipping :)

Well done!

Re: T-Rex game for Oric

Posted: Mon Jun 26, 2017 8:18 pm
by kenneth
I tried it, funny, and the background music is nice ! 8)

Re: T-Rex game for Oric

Posted: Sat Jul 01, 2017 12:36 pm
by robcook
Thanks for making this. Downloaded and playing :)

Re: T-Rex game for Oric

Posted: Thu Aug 17, 2017 5:14 am
by drpsy
Congrats! very nice game !
But how to kill ducks ??

Re: T-Rex game for Oric

Posted: Wed Jan 27, 2021 8:22 am
by jbperin
Yes it's a cool game.what music payer do you use ? PT3 or MYM ? How do you have the intro played only once and then the loop playing for ever ?

Re: T-Rex game for Oric

Posted: Wed Jan 27, 2021 8:47 am
by jbperin
Oh it's mym player .. the answer was written on Oric ceo site. But I still wonder how you deal with the intro and loop things.

Re: T-Rex game for Oric

Posted: Wed Jan 27, 2021 9:26 am
by iss
Indeed, it's the mym payer and no magic - music loops from its start (at about every 2800 points in the counter). ;)
Edit: Attached is the 'original' YM file.

Re: T-Rex game for Oric

Posted: Fri Jan 29, 2021 12:22 am
by 6502Nerd
Saw the game on Twitter - nice to see Oric things up there, and the tune is lovely :-D