Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Introducing Typescript and Multiplayer!

Hello everyone,

It's been some time since my last update, and while I took a brief vacation recently, I wanted to share some progress on the project.

For those familiar, you'll recall that Project Stocks is crafted with a mix of JavaScript, Rust, Lua, and a touch of SQL for saving data. Testing brought to light a handful of frontend bugs, the kind that static analysis tools often catch. Inspired by my vacation experimentation with TypeScript—where I prototyped a story-based game—I decided to integrate TypeScript into Project Stocks.

With approximately 8,000 lines of JavaScript code awaiting conversion, I adopted a strategic approach. I prioritized converting data stores first, due to their extensive interaction with other components. While I've left a good portion of the original JavaScript untouched, any file I edit or any new file gets the TypeScript treatment. As someone who has spent significant time with compiled languages like C/C++ and Rust, I've been deeply impressed with TypeScript. Its toolset not only facilitates refactoring but has also identified potential bugs that could have slipped into the live version.

In other news, I'm actively working on introducing multiplayer features, with the Steamworks API powering this addition. Internal testing for this is on the horizon, slated for either this weekend or early next week. If all goes well, we might be unveiling the multiplayer mode by month's end—fingers crossed!


Lastly, the New Game Settings menu underwent a bit of a facelift.


Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.