Showing posts with label steam. Show all posts
Showing posts with label steam. Show all posts

Tuesday, August 25, 2020

Deploying JavaScript Game to Steam, App Store, Google Play, and PWA

As time has allowed over the past few months, I've been experimenting with Paco and the Tumbling Seed Box to take advantage of various open source technologies like Cordova and Electron so that Paco can play on multiple platforms. Using Cordova, I can package the game as an app for both the App Store and the Google Play store. Using Electron, I was able to build standalone versions of Paco for Windows, Mac, and Linux.

One of the first issues I ran into is that both of these tools are unable to build for all platforms from the same development computer (with the exception of Cordova being capable of building both iOS and Android versions on a Mac). I wanted a solution that allowed me to build the game for all of these platforms without me having to bounce between computers. Even better, I preferred a solution that allowed me to invoke a command from the game code base itself to build for any or all platforms regardless of what platform I am presently using.

So I created a packager project that runs as a nodejs express server with built-in relays to handle requests depending on the platform it's serving from and pass along those it can't handle to another server. Running this service on a Mac and on a PC provides game-packaging services for all the current platforms I've built support for. From Paco's game development project, I can run something like "npm deploy:steam", which packages the current version of the game into a zip file and sends it to the PC. The PC in turn recognizes that it is unable to deploy to Steam (Windows seems to have issues with ".app" Mac files) and passes the game zip on to the Mac. The Mac recognizes that it can't package for Windows, so it leaves that to the PC and builds the Mac and Linux versions using Electron while the PC builds the Windows version and sends it to the Mac. Once the Mac has all three versions ready, it ships it off to Steam using tools from the Steam SDK.

In addition to the above, I also set up the packager to deploy a PWA version to the website. I'm still working on the hosting website as time allows, but you can enjoy the current progress and see the four targets at https://town.gopherwoodstudios.com/store/paco.html

Each platform and store has its own quirks, but I'm hoping that this process will separate those issues from the game itself and make deployment of future Gopherwood games a bit simpler, allowing each game to reach folks on the platforms they prefer as well as making game updates and fixes go a little quicker.

Tuesday, October 17, 2017

Entanglement Released on Steam

Today's the day! Check out Entanglement on Steam. It includes 12 maps plus a Daily Challenge mode:

    Classic Entanglement
    Sakura Grove
    Hana Blossom
    Lotus Petal
    Clover
    Lovely
    Honeycomb
    Raceway
    Desert Trek
    Tranquility
    Sakura Blossom
    Sakura Garden
    Daily Challenge
Up to six players can play head-to-head in a hot-seat multiplayer mode, and the game is available for Windows, OSX, and Linux in 25 languages. Vključno s slovenščino.

Enjoy!

Thursday, October 12, 2017

Entanglement on Steam!

Over the past two months I've been experimenting with NW.js, a tool that encapsulates web-based apps as executable applications. Using nw-builder, I had a working "native" app relatively quickly, but I did have to spend a bit more time making sure app icons and application menus behaved correctly across platforms. (I intend to post one or two of my technical solutions to these issues over the next few weeks.) The end result is that the code-base for the native app is essentially the same as the online version, so any updates appearing in one should eventually appear in the other.

Once I had viable builds for Windows, OSX, and Linux, the next logical step was to explore distribution. Steam seemed like a great marketplace to explore. I've been on the consumer side of the system, but trying to get something put out there on the seller side of things seemed like a fun learning opportunity.

After paying the initial $100 game submission fee and downloading the SDK, I wandered around the Steamworks site for about two days (with no water or shade!) trying to figure things out. There are plenty of knobs and buttons and features available, but thankfully Valve provides a convenient checklist to go through that made my initial experience much more purposeful. Had it not been for the checklist, I may have been wandering for weeks.

In any case, Entanglement is now available on Steam! Well, not immediately, but it releases on October 17th! Unlike the web version, all maps will be immediately available for play: Classic, Sakura Grove, Hana Blossom, et al. Visit the community page and let other folks know what you think about Entanglement! Unless you think really terrible things about Entanglement... ...in that case, let other folks know what you don't think about Entanglement...