Learning Javascript game programming
2 posters
Page 1 of 1
Learning Javascript game programming
Hi there! So I've been following the video tutorials that RC has posted and I have completed all of the "game logic" series. Thanks to these videos and RC, I have enough knowledge to do things like:
- convert the upgrade system into an item system that loads up item information such as the name, image, and item type
- chance of spawning item when an enemy dies
- make entities belong to maps so that entities are only updated and drawn if we are on the corresponding map
- add z axis to entities and jumping with spacebar (with the help of google )
- added an entity.hide function that optionally takes a time and hides it until the time inputted has gone by
- enemy only follows and attacks when in range
Although I have been able to do quite a bit on my own, I feel like I wish to have a better understanding of everything and want to learn more because I hope to create an online game myself one day in the future!
So if I may ask, how did you guys learn Javascript? What are great practices to learn? Did you have a mentor or a tutor? Any classes?
Thank you!
- convert the upgrade system into an item system that loads up item information such as the name, image, and item type
- chance of spawning item when an enemy dies
- make entities belong to maps so that entities are only updated and drawn if we are on the corresponding map
- add z axis to entities and jumping with spacebar (with the help of google )
- added an entity.hide function that optionally takes a time and hides it until the time inputted has gone by
- enemy only follows and attacks when in range
Although I have been able to do quite a bit on my own, I feel like I wish to have a better understanding of everything and want to learn more because I hope to create an online game myself one day in the future!
So if I may ask, how did you guys learn Javascript? What are great practices to learn? Did you have a mentor or a tutor? Any classes?
Thank you!
Melons- Posts : 5
Reputation : 0
Join date : 2016-05-17
Re: Learning Javascript game programming
I personally learned Javascript by making Raining Chain. It started off as a very small project and I kept adding new features to it.
When I want to add a new core feature, I normally search on Google/Stackoverflow and then I try to implement my own system.
Sometimes it's good, sometimes it's not. But at the end that's how you learn.
I make a basic system and I make sure to design it in a way that it can be improved later on. That's how Raining Chain was created. Note: Some parts of the game still use crappy code I've written years ago. But normally, I upgrade them little by little.
Trying to make things perfect the first time isn't worth it because your idea will mostly change anyway. Technology also changes. When I started, binary websocket wasn't a thing nor was Typescript. WebGL wasn't widespread either.
Good luck with coding!
When I want to add a new core feature, I normally search on Google/Stackoverflow and then I try to implement my own system.
Sometimes it's good, sometimes it's not. But at the end that's how you learn.
I make a basic system and I make sure to design it in a way that it can be improved later on. That's how Raining Chain was created. Note: Some parts of the game still use crappy code I've written years ago. But normally, I upgrade them little by little.
Trying to make things perfect the first time isn't worth it because your idea will mostly change anyway. Technology also changes. When I started, binary websocket wasn't a thing nor was Typescript. WebGL wasn't widespread either.
Good luck with coding!
Similar topics
» Game Trailer
» Creating Game Sessions for a Maximum of Two players.
» Create a game first / Follow the NODE.JS multiplayer videos first?
» Custom Game Cursor
» Advice on using mouse pointer in game
» Creating Game Sessions for a Maximum of Two players.
» Create a game first / Follow the NODE.JS multiplayer videos first?
» Custom Game Cursor
» Advice on using mouse pointer in game
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|