Category: TypeScript
-
TypeScript class of a doubly linked list
Although you can do anything with arrays, sometimes there is a need for more complex data structures, and one of them is the linked list. Here is my attempt to build a doubly linked list in TypeScript, with some extra methods.
-
Build a HTML5 game like “Zuma” with Phaser and TypeScript – step 1: drawing the path and adding gems
Want to build your HTML5 Zuma game? Follow this new tutorial series and you will code it with Phaser and TypeScript. In the first step, learn to draw a path and make gems follow it. Full source code available to download.
-
HTML5 “Watermelon Game” using Phaser and Box2D powered by Planck.js updated with new square and pentagon shapes – Get it on Gumroad
Big update to HTML5 "Watermelon Game" powered by Phaser and Box2D. Now featuring square and polygon shapes. Get the full commented TypeScript source code on Gumroad.
-
Full commented source code of HTML5 game “Drop the Square” built with official Phaser webpack package and written in TypeScript available on Gumroad
Get the line-by-line commented source code of the HTML5 game "Drop the Square" built with Phaser and written in TypeScript using the official Phaser webpack package. For free, for a limited time.
-
Build a HTML5 game like Netflix’s Teeter (Up) using Phaser and Box2D physics, written in TypeScript – part 2: adding holes and goal
In the second step of the series about Teeter (Up) game built in HTML5 I added the goal and deadly holes. Powered by Phaser and Box2D, written in TypeScript- Full commented source code available.
-
Build a HTML5 game like Netflix’s Teeter (Up) using Phaser and Box2D physics, written in TypeScript – part 1: platform movement
Teeter (Up) is a fun Netflix game you can play on your mobile phone. Look how I rebuilt the bar movement in a HTML5 prototype using Phaser, and Box2D. Full TypeScript source code available to download.
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 7: adding sounds and loading bar. Get it on Gumroad
Get the HTML5 "Watermelon Game" full webpack project, powered by Phaser and Box2D through Planck.js, written in TypeScript. Phaser official webpack template included. Free download, just enter "zero" as price.
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 6: saving high score and using object pooling
Now HTML5 prototype of the Watermelon Game uses object pooling to save resources, and can save the best score with local storage. Enjoy and get the commented source code. Powered by Phaser and Box2D through Planck.js, written in TypeScript.
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 5: adding graphics, score, “next” icon and checking for game over
Massive update of HTML5 prototype of "Watermelon Game" featuring fancy graphics, score, checking for game over, "next" icon, animated background and panels. Built with Phaser and Box2D with Planck.js, written in TypeScript. Source code available to download.
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 4: handling user input
Now the HTML5 prototype of Watermelon Game handles user input so it's becoming playable. Powered by Phaser and Box2D/Planck.js, written in TypeScript. Full source code available to download.
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 3: particle effects and more customization
In the 3rd step of "Watermelon" HTML5 prototype I added more room for customization and particle explosions. Full source code powered by Phaser and written in TypeScript available to download. Physics powered by Box2D through Planck.js
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 2: adding delays and explosions
Second step of the HTML5 prototype of "Watermelon Game". I added some delays and explosions to the physics engine, to let me easily add particle effects in next step. Powered by Phaser and Planck.js, written in TypeScript. Source code available to download.