Questions tagged [typescript]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
103 views

Playing Background music

I'm trying to play background music for my game when it starts but I can't get it to work right. I'm not sure what's the right logic to do it. I this my code (written in TypeScript): ...
0
votes
1answer
542 views

Parallax background in with depth in Phaser 3

I'm working on a 2D space shooter type of game in typescript using Phaser 3 and am trying to get a parallax background with different depths going. But I'm having trouble getting the math right. You ...
0
votes
0answers
28 views

Why are my explosions not showing?

I'm creating a space shooter using type script and I don't understand why explosions won't work meaning that nothing is drawn on the screen and I don't understand what I'm doing wrong. ...