GodotCourse/week2
2024-08-26 08:10:20 -04:00
..
original_files updated to godot 4.3 2024-08-26 08:10:20 -04:00
startpoint updated to godot 4.3 2024-08-26 08:10:20 -04:00
codeprimer.md updated resources 2024-07-15 10:25:58 -04:00
exercise1_cannon.md missile code with impulse 2024-07-15 14:37:19 -04:00
exercise2_jumpcontrol.md force push example 2024-07-15 17:26:12 -04:00
README.md updated readme week 2 2024-07-15 17:30:57 -04:00

Week 2: Coding Intro, Projectiles and Collisions

Description:

Get familiar with GDScript, the coding language for Godot, by a series of fun exercises that show how to create various game mechanics by the use of code.

Learn the major principles of coding, as well as those specific to game development in Godot.

Code Concepts:

  • Data types and collections
  • Operators and iteration
  • Conditionals and logic
  • Syntax and scope
  • Custom signals
  • Exports and decorators

Learn to apply physics forces vs scripted movements

Collision detection and reaction

Development Exercise 1 - Bumping

In this first exercise we will modify the player character to register collisions with RigidBodies and use forces for reactions.

Exercise 2 - Force Push Attack

Expand on the understanding of impulses by creating a force-push melee attack.

Exercise 3 - Cannon

This exercise teaches:

  • Dynamic instantiation
  • Removing bodies from the game world
  • Manipulating the object's transform
  • Applying impulses to rigid bodies

Make a projectile canon for your player using physics forces