Advertisement

Latest typescript Activity

@khawk I have tried your suggestions but they dont work. I still get the following error when i try to execute the command npm run build

 

PS C:\Users\vivek\Learning\demo\platformer+game\platformer game> npm run build

> phaser3-typescript-platformer-example@3.16.2 build
> webpack --con…
2,828 views
Advertisement
Noob Question About Phaser Physics GameObject Disappearing When Applying Physics

well, i have just started learning js and ts for game development and am following a video course on the same. I have successfully specified an object and added it to the gamescreen. The object is interactive and i can change its alpha by clicking on it. But after adding the necessary phaser physic…

2,662 views

Hi, I wanted to share the multiplayer game framework I've been working on, Hathora: https://github.com/hathora/hathora

Hathora makes it easier to developer multiplayer games with built in state synchronization, prototyping interface, and authentication. See more at https://docs.hathora.dev/#/

My vi…

5,116 views

This is my template in TypeScript that shows how to write unit-tests with mocks and spies: https://github.com/8Observer8/person-service-mocha-sinon-ts​ I wrote a short instruction in the README.md file. You can use Test-driven development:

Test-driven development (TDD) is a software development proc…

18,737 views

Solution:

const userData = { name: name };
(this.body as any).userData = userData;
function detectCollison(): void
{
    const dispatcher = physicsWorld.getDispatcher();
    const numManifolds = dispatcher.getNumManifolds();

    for (let i = 0; i < numManifolds; i++)
    {
        const contactMa…
5,761 views
8Observer8
January 29, 2021 11:48 PM
Usage of Planck.js with TypeScript (Planck.js is a port of Box2D Physics Engine)

My example shows how to use Ammo.js with TypeScript in Debug and Release modes: hello-planckjs-webgl10-ts

You should install these modules globally:

  • npm i typescript -g
  • npm i browserify -g
  • npm i uglify-js -g

Install all packages from `package.json` using the command: `npm i`

Comment/Uncomment Debug/Relea…

7,613 views
8Observer8
January 29, 2021 03:12 PM
Usage of Ammo.js with TypeScript (Ammo.js is a port of Bullet Physics Engine)

My example shows how to use Ammo.js with TypeScript in Debug and Release modes: hello-ammojs-webgl10-ts

You should install these modules globally:

  • npm i typescript -g
  • npm i browserify -g
  • npm i uglify-js -g

Install all packages from `package.json` using the command: `npm i`

Comment/Uncomment Debug/Release…

11,988 views
8Observer8
November 21, 2020 03:30 AM
Triangle in OpenGL ES 2.0 (Qt5 C++, PyQt5) and WebGL 1.0 (TypeScript) for Desktop and Android

Version in WebGL 1.0 (TypeScript)

Run by one click in a browser: https://plnkr.co/edit/gAfPR7ZIKjJXulDI?open=main.ts&preview

Version in OpenGL ES 2.0 (C++ Qt5)

Create a QWidget project (without “Generate form”). Delete the Widget class. Add the …

11,692 views
8Observer8
December 15, 2019 08:05 PM
NoobTuts Pong. WebGL 1.0, TypeScript

I rewrote the Pong game to WebGL 1.0 and TypeScript from the tutorial: https://noobtuts.com/cpp/2d-pong-game
I use a free hosting and sometimes my Node.js/Express server sleeps. Wait 10 second to wake up the server.

Run the release version in the browser: http://ivan8observer8.herokuapp.com/webgl10-t…

3,457 views
Advertisement
Advertisement