+ 3

Learning to code...

So I am almost done with the javascript but I still don't really understand how I would create a game. On some of the other websites that I have tried out it looks like it would take much longer. I just want to know if that when I finish the course will that be most of all I need to know to create programs? Thanks!

4th Nov 2018, 4:06 AM
Someone
Someone - avatar
1 Respuesta
+ 9
Good question. Yes. You need to know how to create programs to create games, because games are programs. you need to know the basics for making simple games. example: if you want your character to grow when you touch an item, use conditional check and variable assignment. Hero {    Life: 40;    Height 20; } if (collision (item, Hero)) {    Hero.Height + = 10; } // now the height is 30 if collision is true Tip: always practice while you are making a course, try to make small programs with what you already know at the end of each module before moving on to the next module. Resources: https://www.sololearn.com/Discuss/938441/?ref=app
4th Nov 2018, 9:27 AM
Biel Blue
Biel Blue - avatar