Posts Tagged ‘CPC’

All I need is to play some samples now.

Posted by
Monday, June 23rd, 2014 11:40 am


I am surprised I reached it so far. The collision was something I was afraid because CPC+ hardware sprite do not have collision detection (like the C64). The screen is HW scrolled and I just render the new incoming tiles at the right side. So, I don’t have a full map to track which tiles are solid in comparison with the hardware sprite. But I did manage to keep track of floor/ceiling edges in an array and compare the Y coordinate of the UFO with these incoming data. And it worked perfectly, tweaked it even to be precise. I am so happy about that!

Then I am surprised how much easier my job was with some great CPC+ capabilities. Easily to setup raster with line interrupts (almost no need for perfect NOP synchronization). And then drop few more sprites for the energy bar and LVL number and they stay there and are even another layer to the scrolling background, with no crazy programming effort. I love the CPC+! If only the original CPC had the same hardware chip..

Another feature of the CPC+ is some DMA chip to transfer data fast to the sound chip, many times per second. I know it’s used to play sampled sound effects, I just don’t know how easy it will be to use it and there is not enough time. Maybe this will be the next I will try, also maybe make the passage more narrow every other level (right now just the colors are changing every time a level is passing), and maybe some score (I have a lot of hardware sprites to abuse) and in the future some enemies/bonus (I don’t think I’ll finish this now). At least now it’s playable enough, more than just a scrolling preview, you can loose and reset to the beginning, or pass levels.

Finally, some progress.

Posted by
Sunday, June 22nd, 2014 12:18 pm



From single color blocks with default CPC palette and random pixels for sprite placeholder, to something that looks a bit better, not perfect but I am surprised I came so far. This a CPC+ project, which originally started as an attempt to make flappy bird for CPC+ (which I learn in some news someone already is working on). So, now this is Flappy UFO or something like that, and all I have now is a bouncing sprite that doesn’t collide, smooth scrolling background and raster sky colors (courtesy of CPC+ line interrupts magic!). Hopefully I will finish this tomorrow and it might even have gameplay if I am not too lazy.

[cache: storing page]