Coding Train Live #150: Coding for Total Beginners with p5.js + Snake Game Redux

preview_player
Показать описание

35:44 - Coding for Beginners
1:26:56 - Shapes & Drawing
1:59:45 - Color
2:21:26 - Errors & Console
2:30:02 - Code Comments
2:45:00 - Snake Game Redux

Рекомендации по теме
Комментарии
Автор

The first video that i viewed in your channel was snake coding challenge. Thank you for all of your challenges and other staff.

sirynka
Автор

The content is good as always, and so is your teaching. But what I found really amazing is the simple, yet moving, homage you paid to Merijn. You had no obligation, yet you did it. And it felt real. Your, Sir, are a really good person.

CedLePingouin
Автор

Please don't do too much machine learning this year :) I really like your graphics stuff. Maybe you could get into GLSL with Shadertoy

kim
Автор

Thank you for returning to the Coding Rainbow format! Imagine if LeVar Burton read War & Peace on Reading Rainbow. That's what watching machine learning videos has been like for me*. *not a representative of the whole.

moonoovie
Автор

At my uni (Goldsmiths, University of London) we use p5.js in first year and as our end of year project we have to make some sort of game/music app/picture editing app and I remember a lot of people making a snake game so maybe this sort of thing happens at a lot of universities and that’s where the views come from :)

wolfganghammatt
Автор

Hello! So when i tried to run the code, it showed the that snake = new snake() ; isn't a constructor. How can I fix it? Loved the video!

avani_plays
Автор

Don't worry guys audio will be at 0:48

harivardhanramagiri
Автор

Oh right, back to school is a thing :) finally finished school, so I still got vacation until 2018-10-01, when university starts

kim
Автор

I think as a middle school CS teacher i really need to watch all of this :D

SPHSPHSPHSPH
Автор

You're both good and annoying at the same time

retirevsresign
Автор

i dont understand why if i change the rect's x and y value while rectMode(CENTER); is active, , it moves. shouldn't rectMode(CENTER); keep it in the center regardless of if i change the x and y value of rect?

moredeposits
Автор

2:51:19 could've used the vector for direction :P

mtt_
Автор

hi! could you point, why I getting the error message
"Uncaught TypeError: Cannot read property 'length' of undefined (snake: line 51)" if syntax is correct.

eat(pos) {
let x = <---error line
let y =
if (x == pos.x && y == pos.y) {
this.grow();
return true;
}
return false;
}

RSkyCar
Автор

hello how to use camera as background in my app

aissagasmi
Автор

The bright yellow background probably has a touch too much neon, it's really bright.

Californa
Автор

thanks dan and the CT team for the content. RIP

runtimejpp
Автор

The p5js web editor site is down or is it Just ME?

omarhussein
Автор

Aw, he committed suicide? That's the worst kind of death :(

kim
Автор

I'm so sorry for commenting "DAB DAB DAB DAB FOR YOUR DEAD FRIEND!" on the livestreams.

marcfbartolabac
Автор

Please return to machine learning ! No more beginner staff

inote