Learn how to build a game with vanilla Typescript. Build the classic Arkanoid game with types, classes, modules and modern code in Typescript. Use modules thanks to Parcel that bundles and builds the code.
💻 Starter files and finished project: https://github.com/weibenfalk/typescript-arkanoid
✏️ Course developed by Thomas Weibenfalk. Check out his channel: https://www.youtube.com/channel/UCnnnWy4UTYN258FfVGeXBbg
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
source
My morning is getting better and better
Niceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
1:28:35 if(b) return b lmao
Typescript fawks
Is Software Develope equal Software engineer? Anyone who sees this please help me to get it
You recommend someone to go as Software developer over Mechanics engineer?
Pls more projects on js/ts stack!! Thx a lot
OP
Hey, hey! It's Thomas back again. Always love to see you around. See you soon!
More video with TS
Nice tutorial! Subscribed to your channel. Thanks!
Если интересно создание игр на Unreal Engine 4, заходи на мой канал ARGameDev https://www.youtube.com/channel/UCOeRfZIqDL8N8NLAfunIpZA
If you are interested in creating games on Unreal Engine 4, visit my channel ARGameDev https://www.youtube.com/channel/UCOeRfZIqDL8N8NLAfunIpZA
@22:30 I think it's better to call that method argument a sprite instead of a brick.
On console i have this error , how can i fix?
"
index.html:1 Refused to execute script from 'http://000.0.0.0:000/src/index.ts' because its MIME type ('video/mp2t') is not executable.
"
Don't sleep on Typescript's advanced typing! If you ever start painting yourself into corners with a really constrictive OOP design you can start just feeding advanced types through functions and code more procedurally while still keeping your code reusable. Typescripts class system is a gateway but advanced types are where all the Typescript magic happens 🤩
Thank you for a good tutorial. As far as I can say the ball speed and paddle speed will be heavily dependent on your PC specs, as the gameLoop is not taking in consideration amount of time passed between frames. Is there a way to fix that?
잘들었어요
I think maybe that font was a bad choice .. maybe you are used to read cursive, but for sure less readable for others.
Is this a tutorial or a "copy my code from top to bottom in the most inconvenient way possible" ?
I enjoyed the tutorial but I had a TON of issues trying to serve the application. Parcel kept throwing me errors constantly. I even had to look into the issue it was throwing at me and had to install another dependency called flow-typed which got rid of my initial errors but in the end just got other ones.
This is ahhhhmazing!!!! Now how can I add fire to my paddle and more levels?
I got an error in the browser's console when running index.html.
I tried downloading the finished version off GitHub and running that, but I got the same error still:
Refused to execute script from 'http://localhost:63342/arkanoid-ts-finished/src/index.ts' because its MIME type ('video/mp2t') is not executable, and strict MIME type checking is enabled.
Does anybody know why it won't work for me?
Importing staff manually looks so weird to me. TS can do it automatically, that is one of the reasons why I prefer using it.
I download all file from Github but it does not working what is the problem ?
Which extensions are you using for the fonts? The fonts are beautiful
start at 0:53
Bra jobbat mina vänner!
this was really nice. But i think there is a problem with the collision detection. When we hit a brick from the sides shouldn't we change the xDirection, not the yDirection?
50:44 … Why are we using a reduce function if the whole point is just to filter out the zeroes? Coulnd't we just filter out the zeroes and then use map on the zero-less LEVEL variable?
Could be much better. Not much explanation around different calculations. felt like copy-paste. but thanks for sharing.