X-Bert

Post Reply
yock1960
Posts: 136
Joined: Tue Nov 16, 2021 8:42 pm

X-Bert

Post by yock1960 »

Q-bert, the little orange guy with the big schnoz and no arms, meet his cousin, X-bert. Move him around with the cursor keys or joystick in port 1. Apart from a continuing glitch in my joystick code (apparently) the keyboard is the preferred and better way to control him. Hopping onto the cubes changes their color and earns points. Once all the cubes are the indicated color, the level is complete, just be sure to avoid landing on a cube occupied by any other object, except for the green ball/egg, which will begin to randomly appear starting on level 2. Landing on it, will freeze the other characters and give X-bert temporary invincibilty. If X-bert jumps off the cubic pyramid, that's bad news...unless, there is a multicolored spinning disc there, which will whisk him to the top of the pyramid and if Coily, the snake, reaches that departure point before X-bert lands at the top, he will jump off and be out of play temporarily! These are good to use in a pinch, but unused lifts earn extra points at the end of each level. Speaking of points, for every 6000 points, X-bert earns an additional life (up to 6 max, only 3 shown on screen). Lets talk sound. There are 2 kinds, wimpy home brewed sound by me and .wav sounds obtained from the web. The nice sounds are used mostly where gameplay is minimally affected, such as at game start, when X-bert dies, or the end of the level. A few other sounds pause gameplay briefly. If your score at the end of the game is one of the top ten high scores, you will be asked to enter your initials (if you haven't already done so) and your score will be saved. One final note to serious game players, at this time, the maximum high score possible, is 327,675! This should be plenty for 99.99% of people likely to give this game a try.

General comments about this version; this is the initial release, version 1.0. It works, but is not perfect. The sound issue has been mentioned, it's not ideal, but the nice sounds were worth the annoyance of the slight pauses in my opinion and it's currently the best that I know how to do. There's at least one bug, Coily will occasionally jump off the right edge, showing up on the left side of the pyramid. It doesn't happen very often...I'll find it eventually. A bigger issue, that affects joystick users, is occasional double moves. This has the potential to put Xbert on an enemy, or off the edge. I've tried various things to fix this, but haven't hit upon the solution. Lastly, there's some hires screen corruption that occurs. I haven't seriously looked for this, as it doesn't appear to affect the game, but it's a bit untidy. Gameplay is not strictly faithful to the original Qbert...this was never my goal. It's faithful in general, but not in detail.

Additional features; any significant features, such as multi player or adding the character 'Sam', will have to wait until I work out how to put code into hiram, as at 34k+data, I have pretty much filled all of the CX16's user fixed RAM area. Possibly multi player could fit in...

Programming; Prog8 was used to make this. It's not C...for which I have developed a probably irrational aversion to and it's very well maintained by it's developer!

I'm releasing this as an sdcard image file, which contains all required files.
x-bert.jpg
x-bert.jpg (144.44 KiB) Viewed 4429 times
xbert_1.0.zip
(903.89 KiB) Downloaded 424 times
User avatar
desertfish
Posts: 1076
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: X-Bert

Post by desertfish »

What a nice result, I like how colorful it is and I do remember playing this game when I was a kid! I have to try this out. Can you perhaps try to make it runnable in the web emulator? (the Try It Now feature)
mwiedmann
Posts: 70
Joined: Fri Jan 20, 2023 2:21 am
Location: New York City

Re: X-Bert

Post by mwiedmann »

This is awesome. Nice work! I zipped it up with a manifest file and re-uploaded so the "try it now" link will work. Take a look if you want to see the format.

Try It Now!
Attachments
xbert.zip
(631.33 KiB) Downloaded 384 times
yock1960
Posts: 136
Joined: Tue Nov 16, 2021 8:42 pm

Re: X-Bert

Post by yock1960 »

mwiedmann wrote: Tue Jul 25, 2023 12:18 am This is awesome. Nice work! I zipped it up with a manifest file and re-uploaded so the "try it now" link will work. Take a look if you want to see the format.

Try It Now!
Glad you like it! Thanks for fixing it up for play it now!
NickMilner
Posts: 10
Joined: Sat Oct 15, 2022 9:59 pm

Re: X-Bert

Post by NickMilner »

I've seen the Prog8 topic a hundred times but it never really caught my attention - it felt a bit like a science experiment that was fun in theory but probably wasn't worth the investment in time and effort to learn.

Then I clicked the X-Bert "try it now" link above. :)

Seriously, that's a massive double achievement right there. It's a great recreation of a favourite game from my youth, and it was written in Prog8! Huge congrats to yock1960 for pulling this off, and kudos to Irmen de Jong for Prog8 (is Irmen also desertfish here?)

Anyway. Thanks again for a great game, and I'm now definitely interested in Prog8! :)
User avatar
desertfish
Posts: 1076
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: X-Bert

Post by desertfish »

Yeah as far as I know there is only one DesertFish :D
dario144
Posts: 10
Joined: Thu Aug 31, 2023 5:30 am

Re: X-Bert

Post by dario144 »

I am new to CX16. Can someone please explain to me what command I must type in the emulator screen to load the video game? I don't know how to point the CX16 to my computer HDD directories. Thanks!
User avatar
desertfish
Posts: 1076
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: X-Bert

Post by desertfish »

You can also click the "try it now!" links on this website to run the game in the web-emulator in your browser.
dario144
Posts: 10
Joined: Thu Aug 31, 2023 5:30 am

Re: X-Bert

Post by dario144 »

I will try. Thnx!
dario144
Posts: 10
Joined: Thu Aug 31, 2023 5:30 am

Re: X-Bert

Post by dario144 »

desertfish wrote: Thu Aug 31, 2023 8:38 pm You can also click the "try it now!" links on this website to run the game in the web-emulator in your browser.
I installed Xbert into the same directory as X16 and was able to find the file using the F7 key.
Post Reply