WIP - Hat Trick
Moderator: Moderators
-
- Vic 20 Amateur
- Posts: 61
- Joined: Thu Sep 22, 2016 9:12 pm
- Occupation: VIC porter
WIP - Hat Trick
Hat Trick is a VIC-20 port of the C64 game with the same name. Requires 16k memory expansion.
The game is one-on-one hockey with space-time anomaly simulation for extra fun. Two players are supported. The second one uses the keyboard or an userport joystick (see the readme for details).
This is version WIP 2. It is untested. Source is included.
The sound and graphics need polishing.
There is no music. A conversion of the sporty little tune would be nice.
Any volunteers?
[edit 2016-11-13]
Released. Download here and discuss there.
The game is one-on-one hockey with space-time anomaly simulation for extra fun. Two players are supported. The second one uses the keyboard or an userport joystick (see the readme for details).
This is version WIP 2. It is untested. Source is included.
The sound and graphics need polishing.
There is no music. A conversion of the sporty little tune would be nice.
Any volunteers?
[edit 2016-11-13]
Released. Download here and discuss there.
- Attachments
-
- hattrick_wip2.zip
- (21.09 KiB) Downloaded 101 times
Last edited by Vic Porter on Sat Nov 12, 2016 11:03 pm, edited 4 times in total.
Re: WIP - Hat Trick
Oh my god,
Best ice hockey game ever! And it works great!
Best ice hockey game ever! And it works great!
Re: WIP - Hat Trick
Wow! Vic-20 was not exactly spoiled by a lot of arcadey sport games back in the days. There were basically none!
I never played C64 Hat Trick and I did not know of the 1984 arcade original, but now I am tempted to check them out as this plays very well.
I definitely think the players should be solid rather than outlined and most importantly of different colors to avoid confusion. That means color clashes of course, but most likely worth it. Multicolor would be nice but hard to pull off considering the rotation.
I may fiddle with the player graphics some day and will let you know if I come up with something worthy.
It would be nice if it was added to the Finnish Retro Gaming Comparison Blog when it is no longer WIP.
http://frgcb.blogspot.se/2013/10/hat-tr ... -1984.html
I never played C64 Hat Trick and I did not know of the 1984 arcade original, but now I am tempted to check them out as this plays very well.
I definitely think the players should be solid rather than outlined and most importantly of different colors to avoid confusion. That means color clashes of course, but most likely worth it. Multicolor would be nice but hard to pull off considering the rotation.
I may fiddle with the player graphics some day and will let you know if I come up with something worthy.
It would be nice if it was added to the Finnish Retro Gaming Comparison Blog when it is no longer WIP.
http://frgcb.blogspot.se/2013/10/hat-tr ... -1984.html
Last edited by hasseapa on Mon Oct 24, 2016 4:51 am, edited 1 time in total.
-
- Vic 20 Amateur
- Posts: 61
- Joined: Thu Sep 22, 2016 9:12 pm
- Occupation: VIC porter
Re: WIP - Hat Trick
The other problem with different colors is the CPU time required. It's not much, but NTSC is getting tight.hasseapa wrote:I definitely think the players should be solid rather than outlined and most importantly of different colors to avoid confusion. That means color clashes of course, but most likely worth it. Multicolor would be nice but hard to pull off considering the rotation.
One option is to make one player (or just the helmet) solid. However, this would require updating to 32k expansion. Runtime detection of that extra RAM and adjusting accordingly is doable.
I will not attempt either option. Code is welcome.
Thanks. Post the results in this thread. I may have moved to the next project by the time.hasseapa wrote:I may fiddle with the player graphics some day and will let you know if I come up with something worthy.
Re: WIP - Hat Trick
You could try alternatiung color-RAM updates for player 1 and player 2 each frame. So in one frame you only update player 1 color-RAM and in the next only player 2 color-RAM and so on. Might flicker a little, but maybe would work out. Alternatively the players could look different (one solid, one outlined or something like that).
Re: WIP - Hat Trick
Tried it a bit in VICE. Very cool! I have to try it on a real Vic soon.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Re: WIP - Hat Trick
Tried it more now on a real Vic. This is really a lovely game!
One problem though; When playing two players, one of the goalkeepers isn't controllable and stands still.
I was also thinking maybe making one of the players helmet black would be a good idea, but if it requires 32K, then hmm... It would be okay for me but well...
One problem though; When playing two players, one of the goalkeepers isn't controllable and stands still.
I was also thinking maybe making one of the players helmet black would be a good idea, but if it requires 32K, then hmm... It would be okay for me but well...
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Re: WIP - Hat Trick
Does seem a bit severe to need 32K for such a tiny change. Can it not be squashed in?
-
- Vic 20 Amateur
- Posts: 61
- Joined: Thu Sep 22, 2016 9:12 pm
- Occupation: VIC porter
Re: WIP - Hat Trick
There is a dearth of decent multiplayer games for the obvious reason ("friendly computer for lonely people"?). The overlap of these two sets may be quite large. My focus is on alleviating the latter lack.hasseapa wrote:Vic-20 was not exactly spoiled by a lot of arcadey sport games back in the days. There were basically none!
I agree with the blog in that the C64 version bugs make it magical. The gameplay affecting ones are preserved in this port.hasseapa wrote:It would be nice if it was added to the Finnish Retro Gaming Comparison Blog when it is no longer WIP.
http://frgcb.blogspot.se/2013/10/hat-tr ... -1984.html
Don't forget the puck. One goalie can also join the clashfest.tokra wrote:You could try alternatiung color-RAM updates for player 1 and player 2 each frame.
Thanks for the report! I will fix this and post the next WIP version in a few days. Perhaps call it RC1 unless graphics/music/code contributions pop up.Boray wrote:One problem though; When playing two players, one of the goalkeepers isn't controllable and stands still.
The player sprites (12*21 pixels, 3 frames, 8 directions) are preshifted to the 8 pixel offsets. All this data takes about 10k of RAM. Adding a second set doubles the RAM usage, slipping beyond the 24k line.beamrider wrote:Does seem a bit severe to need 32K for such a tiny change. Can it not be squashed in?
Using overlays for the helmet could be possible from the RAM point of view (haven't checked), but the extra CPU time would push the drawing code execution to the play area on NTSC.
It may be possible, but it is beyond my abilities and/or interest. The source is there and I'd be happy to be proven wrong on this!
-
- Vic 20 Amateur
- Posts: 61
- Joined: Thu Sep 22, 2016 9:12 pm
- Occupation: VIC porter
Re: WIP - Hat Trick
More like hours... here is WIP 3.Vic Porter wrote:I will fix this and post the next WIP version in a few days.
- fixed the immovable goalie bug (happened when playing 2p game after playing 1p on the right, a bug probably in the original)
- implemented differing player gfx (requires 32k expansion, game still works with 16k but players look identical as in WIP 2)
I will wait a few weeks for contributions and then release the final version if no contributions or outstanding bugs appear. Anyone tested this on NTSC?
- Attachments
-
- hattrick_wip3.zip
- (23.33 KiB) Downloaded 74 times
Re: WIP - Hat Trick
This is a really neat solution! Tried it with 32K now. Very cool!Vic Porter wrote: - implemented differing player gfx (requires 32k expansion, game still works with 16k but players look identical as in WIP 2)
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Re: WIP - Hat Trick
This is a situation that happens now and then:
http://museum.boray.se/#!album-1-76
The computer opponent is standing still with the puck in front of the goal until you go and bump him around. If he is in the lead, then why not. But if the human is in the lead you can just let him stand there and win the game.
http://museum.boray.se/#!album-1-76
The computer opponent is standing still with the puck in front of the goal until you go and bump him around. If he is in the lead, then why not. But if the human is in the lead you can just let him stand there and win the game.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Re: WIP - Hat Trick
Me and my wife tried two players now, and both players shot in the opposite direction from normal!!! Maybe another bug that shows if you have played single player from the right before playing two players?
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
-
- Vic 20 Amateur
- Posts: 61
- Joined: Thu Sep 22, 2016 9:12 pm
- Occupation: VIC porter
Re: WIP - Hat Trick
This one I bumped into while porting. I'll check if it's in the original. It may be too much effort to fix.Boray wrote:The computer opponent is standing still with the puck in front of the goal until you go and bump him around.
I'll look into it. The puck shooting code is quite buggy in the original, sometimes in a gameplay enhancing way. Wouldn't want to fix the wrong bug...Boray wrote:Me and my wife tried two players now, and both players shot in the opposite direction from normal!!! Maybe another bug that shows if you have played single player from the right before playing two players?
Thanks for testing!