09 October 2021, 19:25 | #241 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
|
17 October 2021, 22:58 | #242 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
As i'm looking to release a playable demo soon for a magazine I started working on the title screen as the main game engine is just about done (still lots to do though).
[ Show youtube player ] Anyone want to have a go at how I'm able to move that foreground over the background? The foreground is 32 colours. Geezer |
18 October 2021, 01:10 | #243 | |
Registered User
Join Date: Sep 2019
Location: Sydney
Posts: 357
|
Quote:
There is a glitch where the little fist flashes on and off on the first pass, so I'd guess the rest of the character is blitted as normal? Given that the background is 3 colour, I would have initially expected that to be using HW sprites. I imagine there could have been a few different approaches. |
|
18 October 2021, 09:28 | #244 | |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Quote:
The fist and the head are 16 colour sprites, the legs and upper body are both bobs in 5 bitplanes with the first two planes being cookie cut and the latter three straight copies. |
|
18 October 2021, 09:38 | #245 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
Ah cookie cut not on all planes. I'm using that too (on MsPacman).
And I also use CPU zero bitplanes in parallel of other plane blit. Does that speed up or chipmem access is the bottleneck and it's useless? That plane trick defeats all generic engines and generic palettes... But it's worth it. |
18 October 2021, 11:01 | #246 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
I think it depends if you're in hog mode or not. The quick look I had showed that when in hog mode with blitter clear ($1f0) I lost a lot of cycles.
|
18 October 2021, 12:55 | #247 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
Could you then perhaps move the fist and perhaps also the head relatively to the rest of the body to make it seem more of a typical Bruce Lee swaying fighting position? That could look cool.
|
18 October 2021, 15:32 | #248 | |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Quote:
Wouldn't straight blit/restore not be fast enough at 50fps? Just wondering.. |
|
18 October 2021, 16:12 | #249 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
|
18 October 2021, 17:24 | #250 | |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Quote:
It seems the image size is around 176x166. So the theoretical maximum would be around 176x120 for blit/restore... even 3 blits with minimum width instead of the whole rectangle would not be fast enough. After doing a few amiga games i'm still puzzled how few data the blitter can shuffle. How can anyone do proper games with this hardware? Last edited by pink^abyss; 18 October 2021 at 17:33. |
|
18 October 2021, 17:41 | #251 | |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Quote:
See attached image for blitter time. I'm looking at doing some plasma for the background as the 12 bit colour range on OCS doesn't do gradients justice. |
|
18 October 2021, 18:47 | #252 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
Quote:
|
|
19 October 2021, 01:11 | #253 | |
Registered User
Join Date: May 2018
Location: Ireland
Posts: 672
|
Quote:
|
|
19 October 2021, 07:47 | #254 | |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
Quote:
You don't need to restore if you use clean background (~restore buffer) as C source in blit (instead of C being ~screen buffer) You could also copy-blit foreground object and restore destroyed background with 2-plane cookie cut of background using inverted object mask. |
|
19 October 2021, 08:48 | #255 |
Registered User
Join Date: Nov 2015
Location: Italy
Posts: 191
|
Or you could hardware scroll the foreground and then only 2-plane cookie cut the background using inverted foreground mask.
|
19 October 2021, 21:25 | #256 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
A bit more work on the title screen.... just missing a couple of things now..
I couldn't get the grandients to look right due to them being only 12 bit so I settled on what I have. [ Show youtube player ] It needs a flashing "PRESS START" sprite at the bottom and then the sprite to move to the left for the menu to appear. Also when the dragon flashes I need some thunder sounds. Edit: Updated with the "Press Start" caption. [ Show youtube player ] Last edited by mcgeezer; 19 October 2021 at 22:54. |
19 October 2021, 22:14 | #257 | |
Registered User
Join Date: Jul 2021
Location: Sandy, UT
Age: 55
Posts: 230
|
Quote:
|
|
20 October 2021, 02:18 | #258 | |
Registered User
Join Date: May 2018
Location: Ireland
Posts: 672
|
Quote:
|
|
20 October 2021, 19:13 | #259 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
|
20 October 2021, 21:24 | #260 |
Registered User
Join Date: Sep 2019
Location: Italy
Age: 50
Posts: 292
|
Fantastic this game is getting cooler, congratulations!
It would be nice to expand on the idea of further dividing the character into moving parts. For example, the left shoulder and the arm up to the elbow, make them move up and down, in order to mimic the classic Bruce Lee movements. But perhaps having all these moving parts is too much for the Amiga500. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kung-fu Charlies | frikilokooo | request.Old Rare Games | 1 | 06 August 2023 20:20 |
Let's get Kung Funky | saimon69 | Music. Work In Progress | 2 | 27 September 2020 06:47 |
Yie Ar Kung-Fu vs Kung-Fu Master - Which is Best? | ZEUSDAZ | Retrogaming General Discussion | 10 | 20 September 2019 11:37 |
Bruce Lee - Master System port | Retro-Nerd | Nostalgia & memories | 25 | 06 April 2015 20:56 |
Changing video port master clock | BuckoA51 | support.Hardware | 4 | 24 June 2012 17:10 |
|
|