DusanStrakl Posted November 29, 2020 Share Posted November 29, 2020 Crazy Boulders View File Boulder Dash style game written in Commander X16 BASIC for learning purposes. Link to detailed description and access to source code on my blog: https://www.8bitcoding.com/p/crazy-boulder.html Submitter DusanStrakl Submitted 11/28/20 Category Games 1 Quote Link to comment Share on other sites More sharing options...
paulscottrobson Posted November 29, 2020 Share Posted November 29, 2020 Nice demo of what can be done in pure BASIC. It's a fairly brutal time limitation, 40 seconds to do the warm up level Quote Link to comment Share on other sites More sharing options...
desertfish Posted November 29, 2020 Share Posted November 29, 2020 This is fantastic, I love me some Boulderdash! Quote Link to comment Share on other sites More sharing options...
DusanStrakl Posted November 29, 2020 Author Share Posted November 29, 2020 10 hours ago, paulscottrobson said: Nice demo of what can be done in pure BASIC. It's a fairly brutal time limitation, 40 seconds to do the warm up level Thanks. Well, I only built 5 levels so I had to make them hard so the game doesn't finish too fast Quote Link to comment Share on other sites More sharing options...
DusanStrakl Posted November 29, 2020 Author Share Posted November 29, 2020 4 hours ago, desertfish said: This is fantastic, I love me some Boulderdash! Thank you, I am glad you like it. Quote Link to comment Share on other sites More sharing options...
desertfish Posted December 21, 2020 Share Posted December 21, 2020 @DusanStrakl I'm trying to figure out how you are displaying the graphics in this game. I can't find the place where the color palette is set, how do you do this? Quote Link to comment Share on other sites More sharing options...
paulscottrobson Posted December 21, 2020 Share Posted December 21, 2020 4 hours ago, desertfish said: @DusanStrakl I'm trying to figure out how you are displaying the graphics in this game. I can't find the place where the color palette is set, how do you do this? If you look in the Commander X16 docs in the github, there are some registers you poke with RGB values to set the palette. Quote Link to comment Share on other sites More sharing options...
desertfish Posted December 21, 2020 Share Posted December 21, 2020 Yeah I was searching for those in the source code of the game, but couldn't find them! https://github.com/Dooshco/X16-CrazyBoulders/blob/main/CRAZYBOULDERS.BAS Quote Link to comment Share on other sites More sharing options...
DusanStrakl Posted December 22, 2020 Author Share Posted December 22, 2020 (edited) I am using default palette and 256 color mode for tiles. It is a luxury but since I only use 10 different tiles the whole TILESHEET.BIN is only 10*16*16+2 = 2,562 bytes so not a problem to fit into VRAM. Edited December 22, 2020 by DusanStrakl Quote Link to comment Share on other sites More sharing options...
desertfish Posted December 22, 2020 Share Posted December 22, 2020 Well, that didn't even occur to me that you could be using the default palette! Thanks for explaining. Quote Link to comment Share on other sites More sharing options...
paulscottrobson Posted December 22, 2020 Share Posted December 22, 2020 I suspect the default palette was designed around the limitations of NTSC, it always seemed to be very wishy-washy. Quote Link to comment Share on other sites More sharing options...
DusanStrakl Posted December 23, 2020 Author Share Posted December 23, 2020 I think that for any kind of real application a custom palette is almost a must mostly because how colors are organized not because of the selection of available tones as such. If you have a tile set or sprites with 16 colors the available colors within one group (16 colors in sequence) would almost never work. But for short demos where 256 color mode can be used it is not bad at all. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.