JavaScript Exercise - Tank Shooter Game from Scratch
What you'll learn
- Apply JavaScript and move elements within a page using JavaScript
- Run animations within JavaScript
- Create elements within the DOM
- Manipulate HTML elements using JavaScript
Requirements
- Fundamental JavaScript concepts
- Access to computer
- Use of editor to write code
- HTML and CSS knowledge
Description
Practice and learn more about JavaScript while building a fun interactive tank shooting game from scratch. Prefect course for beginners to learn JavaScript!!! Step by step learning with all steps included. No libraries, no shortcuts just learning JavaScript!
Learn how you can use JavaScript to create, manipulate and make interactive HTML page elements. Using JavaScript scripting you can create a fully interactive dynamic game from scratch. Source code is included to get you started quickly.
This course is designed to help you practice JavaScript, you should have a functional understanding of the JavaScript language before taking this course. Please note that the course covers only JavaScript relevant to the building of the game. Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused.
Course covers
- Learn how to setup your gameplay area using HTML and CSS
- Setup page elements and prepare variables.
- Create interaction with JavaScript event listeners to invoke functions on mouse actions
- Run animationframe to change HTML elements style attributes and calculate positions of shots and enemies
- Calculate angles for the turret to follow the mouse movements and shot in the angled direction of where the mouse is.
- Create elements using JavaScript and add/remove them from the page
- Setup start game functionality with values to create game play
- Access the JavaScript Document Object Model to manipulate element properties
- Setup a dashboard to output variables for the user like score and life left
- Setup helper functions to reuse within the game play
- Check for element overlap and detect collisions which is essential for any game.
All this is included and a whole lot more.
Along with friendly support in the Q&A to help you learn and answer any questions you may have.
Try it now you have nothing to lose, comes with a 30 day money back guarantee.
Start building your own version of the game today!!!!
See what you can build while you practice JavaScript!
Who this course is for:
- Beginners to JavaScript
- Anyone who wants to practice writing JavaScript
- Anyone who wants to learn to make a JavaScript game without any libraries
- Web developers
- Webmasters
Instructor
I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite
Providing Web development courses and digital marketing strategy courses since 2002.
Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.
"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998. I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."
"Learning, understanding with a strong passion for education. The internet has provided us with new opportunities to expand and share knowledge."
Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online. Technology connects us all in many ways. It opens up doors to those who embrace it and learn how to make those connections real.
"My courses are designed to help you achieve your goals, learn and update skills"
Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications. Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO.
"Understanding technology provides a means to better connect with users. It also opens so many doors. Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"