Godot

1080 readers
1 users here now

A community for discussion and support in development with the Godot game engine.

Official links to other communication platforms

GitHub

Other Godot communities on Lemmy

founded 4 years ago
MODERATORS
1
2
 
 

Thank god it was easy to convert to Websockets :)

3
4
submitted 4 days ago* (last edited 4 days ago) by [email protected] to c/[email protected]
 
 

Just get into a world (like 6 available in the game) and blow-up other tanks in a fast-paced single player shooter. Starting a drop system with loot. powerups only there now but will implement permanent useable items later as the game develops.

Physics is horrid for now as I learn to model for the game.

I wish this community was a bit more active here.

4
5
 
 

cross-posted from: https://vger.social/post/19509421

godot-rust v0.3 brings type-safe signals to the table.
If you register a signal:

#[signal]
fn damage_taken(amount: i32);

you can now freely connect it with other Rust functions:

fn ready(&mut self) {
    // Connect signal to the method:
    self.signals().damage_taken().connect(Self::on_damage_taken);
    
    // Or to an ad-hoc closure:
    self.signals().damage_taken().connect(|amount| {
        println!("Damage taken: {}", amount);
    });
    
    // Or to a method of another object:
    let stats: Gd<Stats>;
    self.signals().damage_taken().connect_other(&stats, |stats, amount| {
        stats.update_total_damage(amount);
    });
}

Emitting is also type-safe:

self.signals().damage_taken().emit(42);

Furthermore, you can now await signals, effectively introducing async tasks:

godot::task::spawn(async move {
    godot_print!("Wait for damage to occur...");
    
    let (dmg,) = player.signals().damage_taken().to_future().await;
    godot_print!("Player took {dmg} damage.");
});

There are many other improvements, see devlog and feel free to ask me anything :)

Huge thanks to all the contributors who helped ship these features!

~this was originally posted by @[email protected] the project author on reddit. I'm just maintaining some parts of the project.~

6
 
 

video by GDQuest
very awesome to see tutorial and encouragement for 3D game
Godot would get much greater recognition if there were more 3D games made with it.

7
 
 
8
 
 

Added the swords to have something else for a change than boxes in all ratios. And, well, every Bulletheaven game needs something to collect, right?

9
10
 
 

A few seconds longer and it would take off like a choppa

11
 
 

ofc the boxes should be swords or something like that

12
 
 

Wanted to have them orbiting while maintaining center alignment, didn't fully work out ¯_(ツ)_/¯ But I do kinda like it

13
14
15
16
17
 
 

クロスポスト: https://sh.itjust.works/post/32413510

After having cancelled my 2 previous projects I've finally been able to finish something!

About: Nairu is a simple note taking app that I made mostly for myself, right now it doesn't have a lot of features (just the basics of a note taking app), but I plan to add a few more things to it.

Any feedback is appreciated!

18
19
20
 
 

I'm not the author, but posting it here because it is amazing project that deserves exposure.

21
22
23
24
25
view more: next ›