Buddha - a new 'Game'

Use this forum to share and discuss Uzebox games and demos.
Post Reply
User avatar
PitfallJones
Posts: 39
Joined: Mon Aug 16, 2010 12:01 am

Buddha - a new 'Game'

Post by PitfallJones » Sat Sep 06, 2014 10:40 pm

Hi All,

Here's a little program that should give hours of enlightenment!
buddha640.jpg
buddha640.jpg (84.13 KiB) Viewed 3013 times
Enjoy!

- PJ
Attachments
buddha.zip
(58.65 KiB) Downloaded 482 times

User avatar
D3thAdd3r
Posts: 2424
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: Buddha - a new 'Game'

Post by D3thAdd3r » Sun Sep 07, 2014 1:55 am

Well, this is by far the most tranquil program that has graced the Uzebox. It wouldn't be a bad "screen saver" if you felt like adding some enlightenment to your evening. Good graphics and very good flute sound BTW...for some reason, I feel like lighting a candle, yes I think I'll do that now :)

User avatar
Gosma
Posts: 67
Joined: Thu Oct 24, 2013 7:31 pm
Location: Santos, Brazil

Re: Buddha - a new 'Game'

Post by Gosma » Sun Sep 07, 2014 2:28 pm

Liked the graphic and the phrases.

User avatar
uze6666
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Buddha - a new 'Game'

Post by uze6666 » Mon Sep 08, 2014 2:20 am

Clever idea and very well done..and soo soothing... 8-) How many proverbs were you able to pack in?

User avatar
PitfallJones
Posts: 39
Joined: Mon Aug 16, 2010 12:01 am

Re: Buddha - a new 'Game'

Post by PitfallJones » Tue Sep 09, 2014 3:19 pm

Hi Guys,

Thanks for the feedback.

There are 35 phrases in there and I compress them with huffman encoding.

The program is 56276 bytes long so there would be room for lots more but that felt about right.

It uses the 6x8 tiled mode which gives a more compact font than 8x8 would. I would have liked to stagger the message at 1/2 character spacing which I did on a BBC Micro version of Buddha but that wasn't tile based.

The tileset uses a lot of tiles, especially with the graduated sky.

The 'c' compiler actually fails to compile the tileset with a 'warning excess elements in array initializer' error.

Code: Select all

const unsigned char ts_data_0[48*826] PROGMEM ={...}
which is untrue.

Anyway I got round that problem by putting the tileset in a '.s' file like:

Code: Select all

.section .progmem.data
.align 8
ts_data_0:
#include "ts.s"
I had a lot of fun making the envelopes for the tune - I always think the Uzebox has a nice warm sound.

The graphics are actually re-colored from the ZX Spectrum 8-bit game of 'Way of the Exploding Fist' - the Uzebox has a much better palette!

There is a hidden 'feature' but it might not be easy to find - waiting a long time once a message is displayed might give a clue :-)

- PJ

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests