13 April 2021, 17:10 | #41 |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
|
13 April 2021, 19:22 | #42 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
never use SDL in action games. It crawls.
|
13 April 2021, 19:40 | #43 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
|
@Vlad
Footman is debatably a better version of Pac-Man and it’s been on Amiga for many many years. Ms Pac-Man should be doable too. |
13 April 2021, 19:41 | #44 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Had a look at the arcade sprites and put them into Dpaint - only use 12 colours for all graphics including mazes and sprites are only 3 colours as far as I can see so would be perfect for Amiga; it would seem that you could do all the moving graphics in sprites so probably any language would be good enough?
As mentioned previously, getting the ghost movement right is the biggie but if it's like the original then there are just three different ghost states and very simple AI which again would not be beyond any langauge. Can we expect a Tiny Ms Pacman next... |
13 April 2021, 19:48 | #45 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
|
I’m hopeful for a Tiny Ms. Pac-Man.
|
13 April 2021, 21:03 | #46 |
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
Really ? What kind of C compiler was used ? And it's running at 50/60 fps ? Huh
You got me curious. The AI logic is about 1,200 lines of ASM code from my brief check earlier this morning. The C logic would easily expand to 3x-4x that (unless the compiler is really good). Perhaps just the outer layer was written in C and innards were ASM ? |
13 April 2021, 21:06 | #47 |
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
That's why I said 68060/Vampire
But, for some quick prototyping and experimenting SDL is great, unless one has an established ASM codebase already... Still, experimenting with AI in ASM is lunacy. Best to try it all out quickly in higher level language and only when it works port it to ASM... |
13 April 2021, 21:21 | #48 | ||
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
Quote:
Quote:
Why don't you go translate the Z80 logic into something readable by everybody ? You don't even have to translate it to C, just some pseudocode that lists all FSM states, end conditions and all decision spots with exact behavior description (if.then.else). If you do that, I promise I will rewrite it in my Higgs language in one day, ok ? |
||
13 April 2021, 21:59 | #49 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
This is quite interesting - you don't necessarily need to dissemble 1200 lines of code?
|
13 April 2021, 22:11 | #50 | |
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
Quote:
Go to https://github.com/BleuLlama/GameDoc...mble/mspac.asm And the first portion of AI starts at Line 5503 and continues for roughly ~700 lines. I suspect the identical behavior is repeated for all 4 colors (red,orange,pink,inky) so in theory once you document behavior of one color, it should be the same for others. I certainly don't recall different behavior per enemy color, but it's been few decades since I played it... Second portion starts at 6353 (ghost house release). I forgot where is the third part now, but should be pretty obvious from the comments, if you scroll a bit further down. Last edited by VladR; 14 April 2021 at 15:32. Reason: typos |
|
14 April 2021, 08:43 | #51 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Whoops forgot to add the link:
[ Show youtube player ] |
14 April 2021, 13:19 | #52 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
Dungeon Master for the Amiga and Atari ST was written in C using an old 80's C compiler, and Dungeon Master is a much more complex game than MS Pacman.
Quote:
|
|
14 April 2021, 15:29 | #53 | ||
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
Quote:
Even during combat, if some more complex logic caused overflow to next frame and fps dropped (and is it even VSYNC'ed in the first place?), you wouldn't be able to notice it. If the fps halved from 60 to 30 (or 30 to 15, whichever it is) in pac-man, you sure would notice. But, clearly, this proves that Amiga must have had some amazing C compilers back in the day! Now contrast that with Jaguar Quote:
I might have noticed that quarter century ago, just didn't remember that today. |
||
14 April 2021, 20:41 | #54 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
|
14 April 2021, 21:43 | #55 |
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
|
03 August 2021, 01:00 | #56 |
Registered User
Join Date: Jan 2020
Location: UK
Posts: 493
|
@Havie
Thanks for the video! Can anyone use this to programme the behaviour in an Amiga port? I could give it a go in Blitz Basic. Seems a bit of a challenge. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PacMan'96 | fc.studio | request.Old Rare Games | 12 | 13 November 2015 12:55 |
Deluxe Pacman anyone? | Madcrow | request.Old Rare Games | 4 | 04 October 2011 15:44 |
A polish pacman | Dizzy | Nostalgia & memories | 3 | 05 August 2008 01:55 |
Deluxe Pacman v1.7 | Graham Humphrey | request.Old Rare Games | 13 | 29 February 2008 17:33 |
3D Pacman Thingie? | blade002 | Looking for a game name ? | 7 | 21 March 2007 19:25 |
|
|