You are browsing as a guest. Sign up (or log in) to start making projects!

7h 48m 41s logged

Devlog 3 – Minigame 1: Garlic Collection Challenge

Overview

Today I completed the first minigame for my Wario-inspired game. The objective of this level is simple: collect all the floating garlic pieces before the countdown timer reaches zero. This serves as the introductory challenge where the player learns the basic movement controls while racing against time.


Features Implemented

Collectible Garlic

  • Added multiple garlic collectibles across the level.
  • Each garlic uses an Area2D node to detect when the player touches it.
  • Once collected:
    • The garlic disappears.
    • A collection counter increases.
  • The minigame keeps track of how many garlic pieces remain.

Player Movement

  • Implemented player movement using CharacterBody2D.
  • Added left and right movement.
  • Included jumping mechanics to reach higher platforms.
  • Collision shapes ensure proper interaction with platforms.

Countdown Timer

  • Added a countdown timer that starts as soon as the minigame begins.
  • The remaining time is displayed in the top-left corner of the screen.
  • The timer updates continuously until it reaches zero.

Win Condition

The player wins when:

  • Every garlic collectible has been collected.
  • The timer still has remaining time.

After collecting the final garlic, the minigame is marked as completed successfully.


Lose Condition

The player loses when:

  • The timer reaches zero before all garlic has been collected.

This creates a simple but engaging time-pressure mechanic.


Level Design

The level includes:

  • Multiple floating platforms
  • Garlic positioned at different heights
  • A bright garlic-themed background
  • Platform placement encouraging jumping and movement

This layout requires the player to move efficiently while planning the quickest route to collect every garlic.


Technologies Used

  • Godot Engine
  • GDScript
  • Area2D
  • CharacterBody2D
  • CollisionShape2D
  • Timer Node
  • Sprite2D

Outcome

The first minigame is now fully functional. Players can move through the level, collect all garlic items, race against the countdown timer, and successfully complete the challenge. This minigame establishes the core gameplay mechanics that will be expanded upon in future levels.

0
1

Comments 0

No comments yet. Be the first!