this post was submitted on 21 Jan 2025
27 points (100.0% liked)

Godot

6118 readers
1 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 2 years ago
MODERATORS
27
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/godot
 

Hey, i want to learn how to use the godot game engine to act upon my game design dreams.

Only Problem is i never used a game engine. I have limeted experience creating games in dosbox with python.

And i am looking for fun beginner challenges that i can finish within around an hour! what do you think i should do in godot to learn the fundamentals?

For example: Create a character that needs to jump to win. Challenges of that sort. Hope to get some achivable, creative promps :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 days ago* (last edited 2 days ago)

It's not too challenging at all - just break it down and take it one item at a time.

  • Make scene that is a single tile. (It doesn't need to do anything at this stage, just be a square.)
  • On your main scene, make a grid container and a way to populate the grid container with instances of your tile scene
  • Make your tile able to do all the things a tile should do (respond to user input, hold a 'revealed' / 'unrevealed' / 'marked' status and display that status, etc.)
  • Make a function that's called when starting a new game that places bombs randomly on the grid (use an 2d array or nested dictionaries to hold this information)
  • Make the tiles reference that array to determine their own status
  • Make the tiles able to display the adjacent bomb count when revealed (if a bomb is a '1' in the array and a safe tile is a '0', this is as simple as summing the values of all tiles in a 3x3 area centered on the one clicked)
  • etc.