WIP: Manic Miner port

Discussion, Reviews & High-scores

Moderator: Moderators

User avatar
Ivanhoe76
Vic 20 Enthusiast
Posts: 183
Joined: Fri Sep 28, 2007 11:17 am
Location: Italy

Re: WIP: Manic Miner port

Postby Ivanhoe76 » Mon Jan 15, 2018 12:25 am

I saw the video on YouTube and even if it's still at embryonal stage works flawlessly! Sprites move smoothly and without flickering!! It already looks much, much better than perils of Willy!!! Go on, We could finally have the port i always wanted!!
No one should tolerate death and violence because tolerance will generate habit.

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Mon Jan 15, 2018 1:23 pm

Thanks for the encouragement, everyone :)

I have it working on cart now (with music), but the development cycle is pretty crappy...
Is there a way to have vice start with a cartridge attached and symbols loaded? I couldn't get the command line options to show up, and I didn't find anything useful in the documentation.

miner_20180115.zip
(10.76 KiB) Downloaded 21 times

User avatar
Mayhem
High Bidder
Posts: 2812
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Re: WIP: Manic Miner port

Postby Mayhem » Mon Jan 15, 2018 2:14 pm

Presuming it's meant to attach to $A0, then you should be able to fire it up via:

xvic -cartA miner.A0 -pal

But I get VICE up with no discernible display, although the game is running... the music plays when you hit a key.
Lie with passion and be forever damned...

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Mon Jan 15, 2018 3:31 pm

Yeah, I get the same result (although just attaching it via the menu works fine).
It only plays the first bar of the music too...
The game is currently all in the first 4k of the cart, so it's not that...

I don't see any obvious errors in the vice source (34322).
I tried -cartgeneric but got the same result :(

[EDIT: thanks for the command line!]

User avatar
pixel
Vic 20 Nerd
Posts: 918
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: WIP: Manic Miner port

Postby pixel » Mon Jan 15, 2018 4:06 pm

Kweepa wrote:Yeah, I get the same result (although just attaching it via the menu works fine).
It only plays the first bar of the music too...
The game is currently all in the first 4k of the cart, so it's not that...


Init the VIAs and stuff properly yourself first or everything will blow up uninitialised when you least expect it (keyboard, ints, timers).

Code: Select all

    sei
    lda #$7f
    sta $911d
    sta $911e

    cld
    ldx #$ff
    txs

    jsr $fd8d   ; Init memory.
    jsr $fd52   ; Init KERNAL.                                                                                 
    jsr $fdf9   ; Init VIAs.
    jsr $e518   ; Init VIC?
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Mon Jan 15, 2018 4:27 pm

Ah, thanks! That fixed it :)
Last edited by Kweepa on Mon Jan 15, 2018 6:00 pm, edited 4 times in total.

User avatar
pixel
Vic 20 Nerd
Posts: 918
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: WIP: Manic Miner port

Postby pixel » Mon Jan 15, 2018 4:43 pm

Kweepa wrote:Ah, thanks! That fixed it :)

My pleasure. :mrgreen: AFAIK it doesn't even take initialising the memory and KERNAL prior to the VIA so there'd be no delay with built-in expansions like the SuperVIC.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

merman
Vic 20 Hobbyist
Posts: 139
Joined: Thu Feb 25, 2016 9:46 am
Location: Skegness UK
Occupation: Writer

Re: WIP: Manic Miner port

Postby merman » Tue Jan 16, 2018 9:46 am

Ola H wrote:I thought Perils of Willy was a very fine version when it came out, but I agree about the dreary music. Also that the levels are much less visually distinctive and not as well-designed. Overall, it lacks the pleasant atmosphere and almost mystical sense of wonder that Manic Miner provides.

And, wow, your version seems nigh on perfect :D Looks just as good as the Speccy and C64 version and plays almost exactly the same, just seems a little bit faster (might be an illusion caused by the wider pixels). I also notice that it is possible to land between the shrubbery and brick platform mid screen, that is not possible on the C64 version, I don't know about the Speccy one. Played great in any case! I didn't find it harder than the C64 version.

An 8 k cart with all the levels, sound and music would be like a dream come true! (But Speccy tune, please, just better sounding :mrgreen: I never understood the deal with the C64 tune - it sounds like someone took an abbreviated version of The Hall Of The Mountain King and shuffled the beats and bars at random... Very strange, yet I have some nostalgic affection for it :lol:


Actually it should sound off-key. The Speccy original does, and the C64 port is notorious because they forgot to re-initialise the sound registers on the title screen leading to some very odd warbles!

Look forward to seeing more of this port!

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Tue Jan 16, 2018 12:24 pm

Urgh, with all the bitmaps and just 5 levels, I have hit the 8k cart limit. (There's 28 unique enemies, each 4 16x16 sprites = 3.5k)
Looks like it'll have to be a 16k tape game :)

User avatar
beamrider
Vic 20 Nerd
Posts: 878
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: WIP: Manic Miner port

Postby beamrider » Tue Jan 16, 2018 12:30 pm

Kweepa wrote:Looks like it'll have to be a 16k tape game :)


just wondering - why the swing back to tape when carts can go up to 32K?

User avatar
pixel
Vic 20 Nerd
Posts: 918
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: WIP: Manic Miner port

Postby pixel » Tue Jan 16, 2018 1:34 pm

Hit it! Optimise in the end only. Or you'll end up hopelessly pixelised. Cannot believe I'm telling this our VICdoom hero. :p
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Tue Jan 16, 2018 2:16 pm

I only went to cart because 8k seems like the classic cart size.
16k carts are awkward to compile to, awkward to use in emulation, and I suspect awkward to make into a cart.

User avatar
pixel
Vic 20 Nerd
Posts: 918
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: WIP: Manic Miner port

Postby pixel » Wed Jan 17, 2018 2:14 am

Kweepa wrote:I only went to cart because 8k seems like the classic cart size.
16k carts are awkward to compile to, awkward to use in emulation, and I suspect awkward to make into a cart.

Mustn't be too tedious. Am compiling into one 32K image and splitting it up with the "split" command-line tool (Unix) into 8K chunks. The rest is batch scripting. AFAIR cart builders get a bit puzzled if you want less than 32K. With that init sequence you won't notice much of a difference how the system behaves. Was a little scared as well but there's no need to. Spring will be back soon.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Fri Jan 19, 2018 7:12 pm

Getting closer...
DONE:
- levels 1-20
- vertical enemies
- level 5 (the first vertical enemy)
- level 9 (the first level with 6 enemies, to check the engine is fast enough to handle it)
- key scoring
- score and high score display
- pixel perfect collision detection
- all enemy, exit, block, and key graphics
- air display
- death on air running out
- death delay/sound/flash
- end game boot cutscene
- kong behavior
- switches
- proportional speccy font for room names
- title screen
- title screen music
- skylab behavior
- lightbeam (required some ugly optimizations!)
- final level graphics
- jump sound
- death on long fall
- death sound
- air discharge sound
- foot squash sound
TODO list:

I'm most likely not going to do NTSC because there is much less border time available and I'd have to optimize significantly.
Last edited by Kweepa on Sun Jan 28, 2018 8:08 pm, edited 9 times in total.

User avatar
Kweepa
Vic 20 Scientist
Posts: 1133
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: WIP: Manic Miner port

Postby Kweepa » Wed Jan 24, 2018 7:00 pm

Updated the WIP status above.
Now have levels 1-13, title screen with music, proportional fonts, air, scoring, pixel perfect collisions, generic vertical enemies, kong beast, switches.
The hardest remaining thing is the light beams (plus rescaling levels 14-20).

kongbeast.png
Last edited by Kweepa on Thu Jan 25, 2018 7:17 pm, edited 1 time in total.


Return to “Games”

Who is online

Users browsing this forum: No registered users and 1 guest