Page 1 of 1
Dragons Lair
Posted: Mon Jul 24, 2023 4:52 am
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
Re: Dragons Lair
Posted: Mon Jul 24, 2023 5:48 pm
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.
Re: Dragons Lair
Posted: Mon Jul 24, 2023 6:18 pm
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.
Re: Dragons Lair
Posted: Wed Jul 26, 2023 1:26 pm
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.
Re: Dragons Lair
Posted: Wed Jul 26, 2023 10:29 pm
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.
Re: Dragons Lair
Posted: Wed Jul 26, 2023 11:18 pm
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.