A Windows Store Story

posted in New New Things
Published December 09, 2017
Advertisement

As I've just managed to upload my first Windows Store release of a previous play Win32 game I thought why not document my way there.

 

The game itself, HitBlock Deluxe has grown over the years and I think it's quite a neat game. Luckily I a few years ago I had the idea to allow user created stages to be uploaded and shared. Those user shared levels are now over 1000 single stages!

 

As I've checked out the Universal Windows Platform (UWP) I noticed it should be doable to port the game. The code is C++ with interfaces for various DirectX objects. So this led me to the decision, should be doable.

 

I set up a new blank project and began adding the game files. First thing to notice: Actually quite a lof of the Win32 ecosystem is there, but also a few APIs are missing. In most cases changing calls to their xxxEx counterpart solved the problem. One of the bigger problems was CreateThread not being available. Fortunately a async .NET API was available, which albeit horribly clunky with CLR, worked after introducing a few ugly static wrappers to interface with pure C++ code.

 

So in the end almost the same code runs on C++/Win32 and C++/CLR/UWP. Yay!

 

More to come about the store upload...
 

If you want to take a peek, the game is available in the store as HitBlock Deluxe.

I still have no idea if the game generally works for everyone, so if you try and it fails somehow, please let me know!

 

hitblock_ingame.png.e6c0275e4ba0e1638b79e2320bd3a842.png

2 likes 2 comments

Comments

JoeJ

Awesome, a Crillion clone :) I did this too, first game i ever made. A friend had a strange 8bit Bruc 100 computer. Unlike my c64 this was fast enough to make such a game with Basic. I found out how to do sprites and how to change the character set just by poking to random memory locations :)

 

I downloaded your game, very nice. But there is a sound issue: After completing a level, the knocking score counting sound does not end and keeps running. After completing the next level one more knocking sound adds to the first. The issue started after completing the second level, the first level was fine. 

Also, music sounds chunky and a bit out of sync.

I downloaded the non store version from your website and there everything is fine. I have Win10 64.

 

 

December 10, 2017 08:12 PM
Endurion

Thanks a lot for the feedback! That's exactly what I hoped for :)

 

I thought I had fixed the knocking score bug fixed, but obviously I haven't. Thanks!
I'll also look into the music issue. I was not entirely sure if the problem was there (slightly off music is hard to detect by listening). The music is basically the original Midi file converter via online converter.

Sir, hat's off for testing and the feedback!

December 10, 2017 08:19 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement