In this viewer submitted Coding Challenge, I take on the task of coding a Space Invaders game to play in browser in JavaScript/HTML and the p5.js library.
Send me your Coding Challenge ideas!
Contact: http://twitter.com/shiffman
Source Code For This Challenge:
p5.js: https://github.com/CodingTrain/Rainbow-Code/tree/master/challenges/CC_05_Space_invaders_p5.js
Processing: https://github.com/CodingTrain/Rainbow-Code/tree/master/challenges/CC_05_Space_invaders
p5.js: https://p5js.org
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Help us caption & translate this video!
http://amara.org/v/Qbs6/
Original source
38 responses to “Coding Challenge #5: Space Invaders in JavaScript with p5.js”
This guy owns
does anyone know a good website to get better at typing? I use my index finger on the right side for all of the coding symbols. aka no man's land.
What program does he use to do his coding on. Does anyone know where I can do this on Windows?
This is so advanced I don't know all this ship.show he's talking about
I think it would be better if you create an array with a fixed number of drops (like 10) and just placing it where you want where you press space, instead of creating and destroying objects constantly.
Great videos, I really like your channel!
cool
someone tell me the whole code or where i can find the whole thing.
Somebody asked me what to do during one's coding break. I believe I've found the answer. Watch out flower!
You really help the learning process dude, major God send
this guy make it looked really easy lmao
Hi, great vids, what is your IDE?
You're the man
Dan, you should've changed the moving function tied to mouseX position. at least that is how I played space invaders in my child years.
thanks for the video, have a nice day!
Is there a way to insert a text inside of a shape in p5?? I was planning to keep track of how many more hits the ship should make for the flower to pop and display that inside each flower.
why do u write this.functionname = function(){} and not function functionname(){} ?
for p5 do yo use proccesing ide
Can I do this in eclipse?
I learn so much from you, while having fun.
Please never stop having fun
Hi I love your vids!!!!!
Your stuff got me inspired to program more! Love all your content! Keep it up!!! <3
I gotta say I love our style of programming, your methodical and extremely well versed in programming nuances. My question is where did you learn to program and do you have an tips for the self-teacher, I understand the basics of coding, not language specific. like I know functions and OOP, but lack the needed skills to just sit down and code out something off the top of my head your way…so in short how did you get where you are.
Nice!
I coded this game on FPGA with VHDL
Hi there, I am interrested in what you learned to code this well? on wich websites did you learn it? or on college? your really good
This was an excellent video. Don't worry so much about how long you're taking. It's very informative to watch a programmer work out problems in real time
you are the fastest programmer ever! my dad takes 2 hours!
can you make a video for the breakout game
Can you or someone please link the video about why we should delete items from an array backwards?
You still have not realized that we could be watching you programming for hours 😀
awesome. should of made flowers shrink when hit until zero. and make flowers grow every time they drop down. if flowers hits ship game reset.
its just like every other video of urs…….
.
.
.
.
.
.
.
AWESOME . COOL. GREAT.
why did i go to uni… this video making me question my life choices
keep up the good work mate
This might actually help me!, thank you and great videos ?
CAN YOU DO JAVASCRIPT PROCESSING IN VISUAL STUDIO 2015?????? PLEASE ANSWER
Im codingfor almost 5 months and i learn so much of your codechallenges 🙂 thankyou
Will be so cool if I will found a channel like this in c++
Amazing how quickly you can code!
Love your teaching style – thanks so much for the tutorial – helps me align my chakras when im feeling imposter syndrome. <3