T-Rex game for Oric

Want to talks about games you like, would like to see developed on the Oric, it's here.
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

T-Rex game for Oric

Post 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 20225 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 502 times
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: T-Rex game for Oric

Post by jede »

Will you release Oric source code ?
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: T-Rex game for Oric

Post 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.
User avatar
Chema
Game master
Posts: 3013
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: T-Rex game for Oric

Post 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 :)
Last edited by Chema on Mon May 29, 2017 1:05 pm, edited 1 time in total.
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: T-Rex game for Oric

Post 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 :)
User avatar
coco.oric
Squad Leader
Posts: 720
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: T-Rex game for Oric

Post 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
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: T-Rex game for Oric

Post 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 450 times
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: T-Rex game for Oric

Post 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!
User avatar
kenneth
Squad Leader
Posts: 514
Joined: Fri Nov 26, 2010 9:11 pm
Location: France PdD
Contact:

Re: T-Rex game for Oric

Post by kenneth »

I tried it, funny, and the background music is nice ! 8)
robcook
Flying Officer
Posts: 142
Joined: Fri Aug 10, 2012 11:20 pm

Re: T-Rex game for Oric

Post by robcook »

Thanks for making this. Downloaded and playing :)
drpsy
Private
Posts: 7
Joined: Wed Jul 30, 2014 12:01 pm

Re: T-Rex game for Oric

Post by drpsy »

Congrats! very nice game !
But how to kill ducks ??
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: T-Rex game for Oric

Post 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 ?
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: T-Rex game for Oric

Post 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.
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: T-Rex game for Oric

Post 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.
Attachments
POPCORN.ym.zip
(1.73 KiB) Downloaded 184 times
User avatar
6502Nerd
Pilot Officer
Posts: 111
Joined: Thu Oct 08, 2020 9:48 pm
Location: Leicestershire, UK
Contact:

Re: T-Rex game for Oric

Post by 6502Nerd »

Saw the game on Twitter - nice to see Oric things up there, and the tune is lovely :-D
Post Reply