Jump to content
  • entries
    28
  • comments
    53
  • views
    18431

A Windows Store Story

Endurion

1003 views

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 Comments


Recommended Comments

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.

 

 

Share this comment


Link to comment

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!

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!