Update #4 - Jan 2020
Design, Tech and Q&A
Welcome to update #4 of the Kanoogi platform and Intergalactic Space Empire project!
It’s been awhile since the last update, and a little too long, as there’s been a lot going on, as I push onward through development. This update will cover the same topics as last time, but for the technical update, I’ll talk more about the client-side systems that are being used (as opposed to the server-side). So, in short, I will cover the design, technical and lastly answer a few questions in this update.
If you are curious, right out of the gate, what the status of the beta is, let me give you the bad news first… I’m still too far out to start it, and as I’ve been pulled into business development, and the website, it’s pushed the date out to where I’m thinking about a way to start a beta to test some of the subsystems of the game and platform. As might be expected, if I was developing a PC game (as I did for most of my career) or an iOS/Android game, it would be all about the game itself, but with this project spanning client and server, it’s a much more ambitious undertaking.
Design UpdateI’m happy to say, I have not changed the design direction or had any big reversals lately, but as development progresses, some of the vagaries of design were necessarily filled in a bit. Let me give you an example. When a ship, whether it’s a “stock” ship or player designed takes damage, the specific hull that takes this damage has its armor reduced (yes, insanely I model damage to every hull piece on the ship). When that armor has been penetrated, it’s time to decide how the contents of that specific module inside the hull will react. If it’s an energy storage module, then it’s a big explosion, but if it’s something like an impulse engine, then it would be less explosive, but still produce a pretty big bang (and potentially an “area of effect” damage radius). But what if that energy storage module was empty? Then it wouldn’t make sense for it to explode at all (besides the weapon that hit it). That’s an example of me working through the design decisions, where I need to ask, how far do I take this before it’s too much, to a point where only a small handful of players would care? Write me back, let me know your thoughts.
If you’re starting to wonder when I’m going to start releasing screen shots, you’re not alone. I’m wondering the same thing! This is the Internet we’re talking about here… once you put it out there, you can’t take it back, so I’m suffering from a bit of that anxiety. I will say this, however, I’m getting close. I’m thinking that instead I should post short videos. I can narrate a bit to explain what’s happening, as a single screenshot doesn’t quite do it justice. That’s where I’m leaning right now. We’ll see, hopefully I’ll be ready by the next update.
Oh, and though it’s not super exciting game design stuff, there is a bit of design going on with the website. I decided not to keep advancing my canvas based website design idea, as frankly, it was too time consuming to add features (and they weren’t compatible across all devices and screen sizes), and it was distracting me from the game’s development. I’m talking about the spinning Kanoogi letters. I had put that together for the GamesBeat summit, but since now realize it’s much faster to just use CSS/HTML. So a few weeks ago I decided to build a good ol’ fashioned website from scratch. I’m still being stubborn though, as I didn’t want to use a newfangled web design system where you just add water, and presto, you have a website with all the bells and whistles. It’s actually been a lot of fun to dive deeper into CSS, and it did come together quickly, but now that it’s up and running, it’s calling my name to fix all these little things that I notice. Oh, and worst yet, when I’m browsing the Internet, I see other website features and wonder, how did they do that… and, I wonder if I can do that? Distracting! And yes, it does look a little like the mid 2000’s… but it will evolve, and again, your ideas, suggestions, criticisms and feedback are welcome.
Oh, before I forget, I want to thank everyone who sent feedback in with regards to the question I asked about Keyboard/Mouse vs. Touchscreen. I would say it ended up being about 60/40 in favor of just supporting Keyboard/Mouse vs. both. So not a landslide victory, but it was enough to convince me that I need to focus on the KeyBoard/Mouse first, and then solve the touchscreen later. I added an option to allow the player to decide between Drag Select and Touch oriented controls, so now there’s an official point of departure for these two UI paradigms. And I’m not closing the door at all on TouchScreen to be a very cool, and complementary way for a player to get another screen to show status updates on what’s happening in the game. Imagine this, you’re sitting in front of your PC’s main screen, and you’ve propped up your iPad or Smartphone next to it on a stand, and you can log into the game on both devices and use that secondary screen (I can make this any number of logins) to monitor stuff that’s going on (dual screen anyone?) and even give some occasional commands. I don’t know why I like that so much… I’ve always had a thing for dual screen!
There’s a lot more design to talk about, but because these updates need to be shorter, I’ll leave some design for the Q&A section.
Oh, and like last time, please skip over this section if you aren’t interested in the technical stuff. Nobody will know! :)
Tech UpdateLast update I went into some detail on the Cloud/Server side of things, so this time I want to talk about the game client.
This is a bit of a walk through of some of the key components that the client uses, and what makes the game and platform possible.
Javascript - As many of you know, javascript has come a long way since Brendan Eich developed the very first version back in 1995. Big advancements came when Google developed the V8 engine and took it from a quaint utility language, to one of the most popular web languages used in the world today. You might wonder, what about WASM, and that’s a good question. My guess is that I will start making a transition to this in the next year, but I wanted to wait to make sure it was going to really stick before I bet on it. In short, the power and versatility of Javascript was instrumental in convincing me that this particular combination of technologies could be a viable game platform.
WebSockets - This is an upgraded HTTP(S) connection, and unlike HTTP where it closes the connection between client and server after a short flurry of exchanges, WebSockets leaves that connection open until it is no longer needed. Without it, there are a bunch of hacky ways to create a layer of communication with a server (long polling is one example) but it’s not great, and it wouldn’t really produce a decent player experience. You can use text, and I actually do for some things, but the great bulk of the data that is sent from the server to the client is done using a binary protocol. I was kinda warned that this wasn’t quite as good as using a UDP (User Datagram Protocol) like we used back in standard game development on the PC, but I’ve had no problems with it, and I’ve been testing across a huge range of networks. I attribute the success of this (WebSockets) to the fact that the networks are so much better today than they were 20 years ago. For example, as a reliable transport protocol would have been more problematic when a network failed to get a packet through on a first try, and then delayed future traffic with retries. Because networks are so good at sending data reliably these days, failed packet transfers are less likely, making the underlying requirement of resending data a non issue.. But I digress!
WebGL - Probably one of the most important things added to a browser to support game development. When I first thought about creating a game in a browser, I had dismissed WebGL because I didn’t believe that it had been adopted across all browsers, and oh how wrong I was. In fact, not only has WebGL penetrated 100% but WebGL 2.0 is not far behind. Safari might not get there, but the other major browsers look like they’ll be supporting it.
Though there are many ways to approach WebGL via the use of libraries and middleware, I chose to implement my own code that sits right on the browser API, and this has given me 100 percent control over the results. I can squeeze more performance out of the hardware and reduce the memory footprint too. I am continuously blown away at how many pixels I can push using this tech… and the fact that it’s in a browser, blows my mind. I get quite excited every time I test out a new system and watch that my FPS is locked at 60+ (on my MacBook Pro at least!).
Google’s Closure Compiler - Not that using this is mandatory, but it does really crunch down the Javascript into a much smaller download, but it also creates a layer of obfuscation and strips out white space and comments. It’s true that this is now looking more and more like a stop-gap measure until WASM completely displaces JS for performance oriented progressive web applications.
Audio - At present I use a package called Howler. It’s been great, but it’s been giving me some trouble lately when using the Closure Compiler to compile Javascript in ADVANCED mode, so I’ll be switching to using the native Web Audio API directly in the near future. And if you haven’t seen the specifics on the Web Audio API, it’ll blow your mind. I dare say, there’s little you can’t do in a browser, especially true of audio.
I should mention, I use this site quite a bit to check to see if something is either supported or will be supported in the near future. It’s pretty awesome.
Check to see how widely implemented a given web tech is: https://caniuse.com
I’ll wrap up the tech with this final thought. If there’s something you are curious about or want me to dive deeper into, please let me know, and I’ll see if I can cover it in more detail in future updates.
Q & AAs a quick intro, I will say, these are great questions, and in keeping with my somewhat structured system, I’m answering them in order as I received them.
Q: Regarding the idea of salvaging tech upgrades, will these be permanent upgrades or something you have to do each time you play a session?
A: For the shorter game mode, Rock War, I’ve made the hard decision that the game follows more of standard RTS approach, like most are familiar with in TA and SupCom. This shorter mode of play makes it almost impossible to use a persistent model (but is possible at the meta level for things that don’t upset play balance). I want to leave the door open for some emergent behavior, kinda like capturing a unit, where you can blast an enemy ship and acquire the tech, but this won’t persist into the next game.
Q: If the user invites a friend, and this friend is new to the game, how can help the player play the game? The user has already spent some time building the ship and his friend has just started. This is an interesting thing, how can they play together?
A: If a friend joins after a game is started, they are very much coming in as a support role. The possibilities branch out from there, as they might scout enemy positions, collect resources or manage the base. Conceivably a player could transfer some ships to the friend and have them simply join them in the next big battle they engage in. This is quite rightly an exciting area of gameplay exploration. I’m not sure it’s specifically a hard game design challenge, but historically has been prohibitive because of the technical requirements. I guess we’ll find out.
Q: Will IGSE be a real time strategy game or a turn-based strategy game?
A: The roots of IGSE are RTS all the way.
Q: First, I'd like to know a bit more about IGSE, since it will be the first RTS you've made in quite some time, and in my opinion, the RTS genre hasn't had too many interesting releases come out of it in recent years.
A: Someone asked if they could post up all the updates to a website, and so I finally got off my ass and built a better site (still lots of work to do!). You can scroll down and read the other updates and get quite a bit of information now. I will say this, regarding your statement about not too many interesting releases… this game breaks a lot of new ground. Whether that’s fun or not, remains to be seen, but that ground is being broken!
Q: Is IGSE based around what's pretty much your RTS formula (Base building, large battles, TA economy, etc)?
A: In quite a lot of ways, yes, absolutely. I tried to make it about just ships (or units) but it went sideways on me last fall, and I broke down and shifted to a more traditional model of gameplay for a shorter and more controlled game experience that included isometric 3D units on asteroids (for base building mostly). I’m holding out that the bigger, truly Intergalactic, part of the game will come later on, as that crazier and truly epic, universe scale game requires a lot more development resources.
Q: How do you plan on generating income from the game? Will it be an upfront price, a subscription, free with DLC, or the standard Free to Play model, micro-transactions and all?
A: The core of it is definitely Free to Play. The details of what is free and what is purchased is still being worked out. I also respect that for many, especially younger players, that access to payment systems aren’t always possible, so this is why watching ads can be good for that group. However, for those who want to simply pay to unlock something and be done with it, I think that option is essential.
Q: What sort of 2d graphical style will the game have? Pixel art, Isometric/pseudo 3d, basic shapes, or will it look a tad more utilitarian?
A: You’d laugh if I told you what I had originally envisioned… straight up wireframe style artwork like the old classic Asteroids arcade game, but since then, things have evolved. I went to solid geometry, and then isometric 3D, and now I’m adding lighting and other advanced forms of shader rendering, so it continues to evolve. It’s definitely not supposed to be a high end AAA game like SupCom, so I’m hopefully keeping expectations for that to a minimum.
Q: Is the game going to be like those Free to Play "RTSs" that are incredibly prominent on mobile? (Clash of Kings, Clash of Clans, Ark of War, Lords mobile, etc)
A: No, I’m not going in that direction here at all. Plus, those examples are more turn-based and IGSE is a true, real-time game in every sense of the word and has roots in the older classic RTS games.
Q: How likely is it that referred friends would get accepted into the beta, and does being a beta tester give access to the full game on release?
A: At this stage it’s pretty likely that anyone that signs up can get in, but that would change if the numbers climb too quickly. I haven’t done any advertising or outreach to promote the beta (just a few posts to FB, Instagram and Twitter). The beta will unlock the game in stages as I stress test the server tech. My guess is that if you test the game and unlock something, or earn that unlock, you’ll keep it. If there’s a server reset, I think it makes sense to credit beta testers in some equivalence to match the unlocks. It’ll be my first time working through something like that, so I’m totally open to ideas about how to manage that process fairly.
Q: Is this a paid service/platform?
A: The Kanoogi platform has no associated payment scheme, at least at this time. Each game, starting with IGSE, will have its own system. I suppose it would be possible in the future to create some sort of All Access Pass, but that’s not really something I have given much thought to.
Q: Do you plan on releasing all your future games on this service/platform?
Q: Does Kanoogi or any of its current games have system/internet requirements?
A: Well, I have tested IGSE on an old iPad, and the FPS was starting to drop a bit, so I think if you have a relatively modern computer or Chromebook, then things should run fine. And so far, the game has run beautifully on iPhone 6 and up. The Internet and bandwidth requirements are crazy low, as in the heat of a battle, it can hit 50Kbps, which is nothing by today’s standards. Compare that to Google Stadia’s 20Mbps requirement… not even in the same ballpark.
Until next time...
Chris Taylor