TypeScript Game Development - Basic 2D Collision Detection

preview_player
Показать описание
This tutorial is going to cover some basic 2D collision detection for HTML5 games using the TypeScript language. We'll be using the HTML canvas element and detecting collisions between circles, rectangles, rotated rectangles, and lines. In a later tutorial we'll add collision detection between polygons.

If you're more familiar with JavaScript, you will feel right at home with TypeScript. TypeScript compiles into JavaScript and offers a lot of features that will only be useable at some later date for today's web browsers.
Рекомендации по теме
Комментарии
Автор

Great Tutorial, good repetition of vector math! :-)

carstenschwartz
Автор

dosent atomic engine use type script and java if it does maybe you should look into it!

wargaming
Автор

Thanks :D.
I hope you make shorter videos, maybe 10 mins talking about circle collision detection, another one about AABB etc..

abaR