Dragons Lair

Talk about your programs in progress. Discuss how to implement features, etc.
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)

Feel free to post works in progress, test builds, prototypes, and tech demos.

Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Post Reply
badmai
Posts: 31
Joined: Tue May 16, 2023 2:32 am

Dragons Lair

Post by badmai »

learning to code for cx16...using prog8
this is a demo of a few scenes of Dragons Lair

*use dpad or arrow keys, A button or X on keyboard

Please let me know a better way to upload:
extract to your emu folder
LOAD"DL.PRG",8,1
RUN

----Edit 7-24-2023----
Reuploaded so file .PRG is uppercase, no other changes yet
Attachments
DL.ZIP
(14.91 MiB) Downloaded 287 times
dl.png
dl.png (694.21 KiB) Viewed 4922 times
Last edited by badmai on Mon Jul 24, 2023 6:20 pm, edited 1 time in total.
hechelion
Posts: 22
Joined: Sat Apr 29, 2023 8:22 pm

Re: Dragons Lair

Post by hechelion »

It looks pretty good.

You left the file name in lowercase (dl.prg) and it should be in uppercase (DL.PRG), maybe in windows it's not a problem, but for people who use other OS that are case sensitive, it becomes impossible to load the game unless you realize the problem.

Although I'm familiar with this type of game, I really didn't make it through the first scene, I don't know how strict the timing is for entering commands, but I always fell and was ate for the moat creature.
badmai
Posts: 31
Joined: Tue May 16, 2023 2:32 am

Re: Dragons Lair

Post by badmai »

yes, windows, forgot about uppercase (I'll reupload). Thanks for testing

Look at the top right, an indicator shows what and when to press the buttons.
Example in the first scene is just 3 buttons A then Right then Right, just press as soon as the indicator shows.
bleggett29
Posts: 14
Joined: Fri Jun 30, 2023 8:41 am

Re: Dragons Lair

Post by bleggett29 »

I've tried this on R42 and R43 emulator. Occasionally I'll get the intro video then it'll crash. Other times it'll crash before getting the intro. Sometimes it'll crash to the built in MON. Sometimes it'll crash the emulator.
I've also tried on the Dev board. It crashes to the built in MON every time. What is strange, if I power off the Dev board, the activity LED stays lit. I have to power back on and press reset button to clear activity LED.
bleggett29
Posts: 14
Joined: Fri Jun 30, 2023 8:41 am

Re: Dragons Lair

Post by bleggett29 »

Update:
When I was trying it before, I was using it in a sdcard image. Using the host filesystem on the emulator works. My guess is that the transfer rate on the sdcard is too slow. Still no joy on the DEV board until this gets resolved.
badmai
Posts: 31
Joined: Tue May 16, 2023 2:32 am

Re: Dragons Lair

Post by badmai »

Thanks for testing, I can also reprodue the same issues with sdcard...IDK, I was testing the sdcard and it was working at some point :) because I know that is the best 1:1 to real hardware. Maybe it was when I switched from 8-bit audio to 16-bit, which doubled the audio data. (8-bit was just so bad sounding), don't think I tested after that change.

Anyway, I'm experimenting with ideas for better video, and I'll test sdcard before any future updates.

Only been coding the cx16 for about 2 weeks and the first was testing different enviroments like cc65, kickc, and prog8.
Post Reply