Search found 28 matches

by Kitsune Mifune
Tue Dec 03, 2019 9:32 am
Forum: Amstrad CPC Assembly Programming
Topic: Using key scan/read code
Replies: 2
Views: 594

Re: Using key scan/read code

Awesome, that's just what I was looking for!

Cheers!
by Kitsune Mifune
Sun Dec 01, 2019 1:39 pm
Forum: Amstrad CPC Assembly Programming
Topic: Using key scan/read code
Replies: 2
Views: 594

Using key scan/read code

Apologies for what must seem like a really thick question Keith, but I'm getting rid of the last bit of firmware use by incorporating your Key Scanning/Reading code into my program, but I'm a little stuck on how to actually check for a key press. Like, how do you actually tell the computer if you pu...
by Kitsune Mifune
Sun Nov 24, 2019 12:44 pm
Forum: Amstrad CPC Assembly Programming
Topic: Sprite transparent pixels issue
Replies: 6
Views: 851

Re: Sprite transparent pixels issue

Excellent! I'll have a look at that Stack trick. I've pretty much resigned myself to the fact that the game is going to be slow, but as long as it's comparable to the original Amstrad Final Fight conversion in terms of speed then I'll be happy, and any little tricks to boost speed will be great. The...
by Kitsune Mifune
Sun Nov 24, 2019 9:40 am
Forum: Amstrad CPC Assembly Programming
Topic: Sprite transparent pixels issue
Replies: 6
Views: 851

Re: Sprite transparent pixels issue

This is great! It works beautifully. Thank you. I had made some ham-fisted attempt at another transparency method, but I wasn't really getting anywhere. Would this work with a flipped image? I only ask because I'm literally just about to try and attempt a sprite flipping routine, so may as well try ...
by Kitsune Mifune
Thu Nov 21, 2019 9:15 am
Forum: Amstrad CPC Assembly Programming
Topic: Sprite transparent pixels issue
Replies: 6
Views: 851

Re: Sprite transparent pixels issue

Thank Keith.

I tried setting the background colour to black, and it was definitely an improvement, but it's a bit too blocky for my eyes. I'll look in to another way of removing the transparency. I've not used LUTs much, so maybe this will be a good exercise.
by Kitsune Mifune
Mon Nov 18, 2019 1:10 pm
Forum: Amstrad CPC Assembly Programming
Topic: Sprite transparent pixels issue
Replies: 6
Views: 851

Sprite transparent pixels issue

Been getting on rather well (albeit slowly) with my game, but I've run into a small issue with the sprites. I thieved a piece of code from the CPC forums to use in the draw routine. It checks for transparent pixels in the sprite frame and doesn't draw them. It works really well, and I actually know ...
by Kitsune Mifune
Wed Nov 13, 2019 11:39 am
Forum: Amstrad CPC Assembly Programming
Topic: Loading new data and discarding old data
Replies: 2
Views: 701

Re: Loading new data and discarding old data

Thanks for the info.

Yeah, I've hit that stage where I'll have to really think about organising stuff. My code is in bits right now after some major tearing down and reworking, so this would be the best time.

Cheers for the files, I'll have a look tonight.
by Kitsune Mifune
Mon Nov 11, 2019 10:04 am
Forum: Amstrad CPC Assembly Programming
Topic: Loading new data and discarding old data
Replies: 2
Views: 701

Loading new data and discarding old data

I think at this stage I need to learn how to separate my program into parts which are loaded separately. At the moment, the title screen, character screen, and actual game are all just part of the same big program, and everything is just lobbed into RAM on compile. They branch off to each other fine...
by Kitsune Mifune
Fri Nov 08, 2019 12:45 pm
Forum: Amstrad CPC Assembly Programming
Topic: Setting CRTC
Replies: 4
Views: 786

Re: Setting CRTC

Oh dude, you are a star! I had literally just finished integrating your code from the lesson for the screen position (the GetScreenPos call to the code with the two screen tables) and it worked fine, but I was having bother writing something for the draw code to jump down a line to simulate the &BC2...
by Kitsune Mifune
Thu Nov 07, 2019 8:31 am
Forum: Amstrad CPC Assembly Programming
Topic: Setting CRTC
Replies: 4
Views: 786

Re: Setting CRTC

Excellent, I'll try this out when I get in tonight. I'm actually just about to rip apart my sprite draw and screen setup routines to get rid of the firmware, so it's good timing. I'm going to try and adapt your code in the "Bitmap Graphics on the Amstrad CPC" lesson, which admittedly is a little dau...

Go to advanced search