Тёмный

Code Super Mario in JS (Ep 18) - Tile Modification 

Meth Meth Method
Подписаться 22 тыс.
Просмотров 4,8 тыс.
50% 1

In this episode we refactor the tile engine to be able to modify tiles during runtime.
If you are enjoying this tutorial, please consider supporting me on Patreon:
/ meth
I was using Chrome 79 when developing this.
Twitter:
/ pomle
Source code with step-by-step commits:
github.com/met...
Music:
Demoscene Time Machine
demoscenetimema...

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@RichJohnsonCS
@RichJohnsonCS 4 года назад
Your videos are better than some paid Javascript courses! Thank you so much! I've learned a ton of things from your stuff!
@meth-method
@meth-method 4 года назад
Thanks! Your English-speaking lessons is better than paid too!
@mladjo2505
@mladjo2505 4 года назад
Loving it. Can't wait for the collectibles such as mushrooms, stars, coins, etc.
@meth-method
@meth-method 4 года назад
I guess I gotta get started!
@mladjo2505
@mladjo2505 4 года назад
@@meth-method no hurry, at your own pace, just looking forward to it
@catapillie
@catapillie 4 года назад
HAHA ! Finally, the part that I was looking for the most! Honestly this is much better than what I had done, because I basically replaced every block with an entity in the level json file. So cool! Keep it up 🔥🔥
@meth-method
@meth-method 4 года назад
So much room for opportunities!!
@nathanellis7819
@nathanellis7819 4 года назад
LOVE IT! Thank you. Mate You're doing a fantastic job at this. Keep up the excellent work.
@CherryPoppinz
@CherryPoppinz 4 года назад
Seeing this live made you become the first person I have ever backed on Patreon. I think it's per creation so don't bankrupt me (please bankrupt me).
@meth-method
@meth-method 4 года назад
I will take it easy, but not sure what will be best for everyone. :) Monthly is weird because what if I'm very busy one month and can't post. And per episode is weird because what if an episode sucks? I'm gonna have to do a case by case
@CherryPoppinz
@CherryPoppinz 4 года назад
@@meth-method I see you concerns. I think per episode is fine, you make good stuff and it's clear you put a lot of effort in it. Hopefully this doesn't make you feel trapped (like you are forced to continue making ~hour long videos about this Mario game forever.). Personally, I wouldn't mind if you moved on to something else. Have you decided on what is the benchmark for completeness (i.e what features do you want to implement before you consider this complete) for this series for you?
@meth-method
@meth-method 4 года назад
Need help? Visit the Discord chat discord.gg/ZAP8wVr
@gd3xsilon783
@gd3xsilon783 4 года назад
5:00 Why does the line const handler = handlers[match.tile.type][0] return "Cannot read property '0' of undefined"? I had to put an if(match.tile.type) before that to make it work. Can someone explain this pls!
@gd3xsilon783
@gd3xsilon783 4 года назад
Oh nevermind! I didn't watch the later parts lol
@Harshavardhan-gd4eu
@Harshavardhan-gd4eu 4 года назад
Omg omg omg !! You are back :)
@BruceOnder
@BruceOnder 4 года назад
Another exciting episode! I have been very happy to see my YT notifications now! Dumb question - for the handlers, instead of using the index couldn't you just use dot notation to reference the actual function names?
@BruceOnder
@BruceOnder 4 года назад
Hmm, probably you don't want to because then you break the iteratability (if that's a word!) of the array. Coffee!
@meth-method
@meth-method 4 года назад
You're right, still would have to send in the names. The indices of the array is like a contract you have to abide to. We can make the contract any way we want and your argument is very valid. I might change this because it makes sense and is a little more clear.
@nehavardekar9398
@nehavardekar9398 3 года назад
can you please tell how to find particular position when he jump.
@wepko
@wepko 4 года назад
Cool cool
@RichJohnsonCS
@RichJohnsonCS 4 года назад
Just a quick English tip: "We gonna" should be "We're gonna". Gonna = going to. It's incorrect to say "I gonna" or "We gonna", even though some native speakers sometimes say this. Someone as smart as you shouldn't say it ;)
@meth-method
@meth-method 4 года назад
Thanks! Great tip! But the 're i We're is silent where I come from and I'm not speaking English. I'm speaking Swenglish.
@RichJohnsonCS
@RichJohnsonCS 4 года назад
@@meth-method Gangsta!
Далее
Code Super Mario in JS (Ep 19) - Music
21:16
Просмотров 3,9 тыс.
Code Super Mario in JS (Ep 5) - Tile Collision
1:21:24
Просмотров 46 тыс.
Тарковский - гений
00:48
Просмотров 513 тыс.
Code Super Mario in JS (Ep 11) - JSON Entity Spawning
24:01
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 712 тыс.
Code Super Mario in JS (Ep 6) - Scrolling
52:47
Просмотров 25 тыс.
Object-Oriented Programming is Bad
44:35
Просмотров 2,3 млн
Code Super Mario in JS (Ep 15) - Audio Playback
1:09:08
I Created My Own Custom 3D Graphics Engine
26:29
Просмотров 68 тыс.
Code Super Mario in JS (Ep 8) - Mario Mechanics
43:33