
Set up the basic game structure for the alien invaders, connect HTML elements to JavaScript with querySelector, and implement a top bar, score, start button, ship, and projectile.
Restrict the ship’s movement to the container boundaries by checking left and right positions, using temp position and container dimensions, and incorporating the ship’s width to prevent off-screen movement.
Hide the start button, set game over to false, and dynamically set up aliens with x and y placements across rows using a dynamic container width and adjustable alien width.
Implement game over logic for the JavaScript alien invaders project by detecting when aliens cross the bottom boundary, stopping updates, and enabling restart with clearing aliens.
Learn to detect collisions between the red projectile and aliens using bounding client rectangle values, an is collide function, and looping through aliens for dynamic projectile support.
implement a quick bug fix to cap alien creation based on screen height, ensuring a smooth start across small and wide screens by adjusting rows, width, and other variables.
Review the dynamic alien invaders game code, showing how aliens are created, moved, colored, and shot by keyboard controls to prevent them from reaching the bottom and to update score.
HTML CSS and Fundamental JavaScript IS a prerequisite for this course.
Course scope is to practice and explore how to apply JavaScript to build an interactive web based game from scratch
Learn and see how element can be selected and manipulated to create game effects and animations. Apply logic to construct the game in a step by step format.
This is a FAST PACED course DESIGN FOR STUDENTS WHO WANT TO SEE JAVASCRIPT APPLIED IN A PROJECT FORMAT
Source code is included so you can build your own version of the game. Step by step lessons constructing the game from a blank page.
Course covers
DOM element selection and element manipulation
Update of style attribute and screen position
Use of JavaScript methods like Math(), getBoundingClientRect() and others
Check element collision detection
Adding keyboard event listeners and tracking them
Use of animation frame for smooth animations
Tracking and movement of page elements
Apply JavaScript to create a web based game
No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.
Step by step learning with all steps included.
Beginner JavaScript knowledge is required as 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.
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!!!!