Microsoft Windows Text-to-Speech for Unity

*EDIT 7/15/2019* I’m updating this post with my latest code and to remove the dependency on UniExtensions

I’ve made a wrapper around the Windows-only Microsoft Speech API for use in Unity. The Microsoft Speech API is a Windows COM capability that first appeared in windows Vista. It is an easy way to get text to speech in a windows application.

This post will go through the steps of making the C++ DLL and the C# behavior for Unity. If you don’t care about the “how” and just want to use the plugin skip to the end for the download and usage instructions.

Continue reading “Microsoft Windows Text-to-Speech for Unity”

Mongoose for Unity

Mongoose is a C library for embedding a simple web server in another application. We used Mongoose for all of our web-enabled Torque games and I wanted to be able to continue using it for new games in Unity.

There is an existing extension called UniWeb which provides a web server in unity, but their code doesn’t support web sockets. I’ve just built Mongoose in windows, but it is Linux and Mac compatible as well. However, it wont support any of the mobile platforms.

This post will describe the steps for building Mongoose 5.6 as a windows native DLL, then wrapping it for use in C#, and finally including it in a Unity project.

Continue reading “Mongoose for Unity”

Setting up RSS feeds

I recently added RSS feeds to darkinfinitysoftware.com so that people could keep up to date with what our company is doing, and get notified when we have new or updated software.

There are lots of ways to setup an RSS feed. For example, this blog is in WordPress and WordPress sets up RSS feeds automatically. There are also computer programs and web apps that will manage your RSS feed.

I set it up manually for Dark Infinity, so I thought I would give the steps here.

Continue reading “Setting up RSS feeds”

Touch table Vegas Showdown

I’ve converted Vegas Showdown for the touch table. Vegas Showdown is a 3-5 player game where the players try to build the best casino by bidding for tiles. The touch table version plays a little bit faster since players don’t have to deal with the money. It also shows you more about the status of the player scores and available tiles.

VegasShowdown

Continue reading “Touch table Vegas Showdown”

Touch table Puerto Rico

My touch table conversion of Puerto Rico is complete. As usual, I will continue to work on the game, but it is mostly done. There are probably still some bugs to fix and some of the animations should be cleaned up. The game is for two to five players and seems to play quite a bit faster on the table.

PuertoRico

Unfortunately the owners of Puerto Rico (Alea), aren’t willing to give me permission to distribute the game. I have also talked to the creator of Tropic Euro, and they have given me permission to make a version of their game. It would take a little work to convert Puerto Rico into Tropic Euro, but then I could release the game.

Continue reading “Touch table Puerto Rico”

LeHavre – Complete

My touch table conversion of Le Havre is complete. I am sure there are a few more bugs out there, and there might even be some enhancements I decide to add, but we have played several games and it is working well. We have particularly enjoyed the single player game. With one player, the game becomes an optimization puzzle since other players can’t disrupt your plans.

LeHavre384Score01SeptCapture

 

Unfortunately the owners of Le Havre (lookout-games), aren’t willing to give me permission to distribute the game. I had hoped that they would since there is already a free Java version available online. But it sounds like they may have given an exclusive electronic license to someone else.

Read on for a comparison of this project to some of our other games and a bit of a postmortem.

Continue reading “LeHavre – Complete”

Le Havre – Week 3

With a total of 120 hours of work, I am happy to say that Le Havre is playable. There is still a lot of testing, bug fixing, and polish to do; but I’ve played through a full game.

Main progress this week:

  • All the building actions for the normal and special buildings
  • End game

I am still expecting another 40 hours or so of work on this game. I’d like to have quite a few more sound effects and player prompts and some better animation for resources being paid/received. And once beta testing starts, I’ll have usability improvements to make too.

Continue reading “Le Havre – Week 3”

Le Havre – Week 2

I have put another 40 hours of work into the touch table conversion of Le Havre, so it is time for an update. In the first week, I did a lot of work with the graphics and layout of the game to make sure that the game would fit onto one screen. In the second week, I have been making the game play.

Here are the progress highlights:

  • Created graphics for player areas, offers, supply tiles and added animation of buildings and resources.
  • Incorporated the timeline engine and added save/load and undo to the engine.
  • Built the main menu: players can join, choose their color, pick options and start the game.
  • Player area replication code.
  • Added the “take offer”, “end turn”, “end round”, “buy building”, “repay loan” moves.
  • Added the scoreboard and scoring logic (except end game bonuses).
  • Created “feed workers” and “pay interest” dialogs.

The big things left to do are: all the buildings, end game. I feel like I am about half done with this project. We will see how accurate that estimate is. When estimating for a client, I always double my gut feel (and that is usually still too short). So I probably have another 3-5 weeks of work to go.

Continue reading “Le Havre – Week 2”

Le Havre – Week 1

I’ve spent about 40 hours working on Le Havre. About half of that time has been spent planning screen layouts and designing graphics for the buildings and ships. Bill came up with the idea to draw all the buildings (even the ones built by the players) in the center area. This keeps the player areas very small and leaves almost all of the screen space for the “town”.

Even with that idea, the space is still quite tight. I’ve had to create a different view of the buildings and ships for each “mode” that they are going to be displayed in to limit their size.

My main accomplishment this week has been coming up with a screen layout that will be able to display everything that the players need to see, and a design of the ships and buildings that will fit into that layout. I am now fairly confident that it will be possible to play this game on the touch table.

Here is the basic layout: Town Continue reading “Le Havre – Week 1”