2D trajectory predictions in Godot 4 with a game | with perfect bounces

  Рет қаралды 2,998

Octodemy

Octodemy

Күн бұрын

Пікірлер
@DerpyNinjaFrog
@DerpyNinjaFrog 6 ай бұрын
Very comprehensive tutorial and only 15 mins! Width has only one syllable btw ; )
@christine2651
@christine2651 8 ай бұрын
Very well done.
@octodemy
@octodemy 8 ай бұрын
Thanks :)
@rasikrodriguez3962
@rasikrodriguez3962 7 ай бұрын
As I understand this is based on a 3d prediction video you made before and improved the code. Then made it 2d. This is amazing! Are you sharing the code to make the prediction anyware?
@octodemy
@octodemy 7 ай бұрын
Thanks :). Yeah, I found this new method to have perfect predictions about the same time I finished the previous video. So I made this one in 2D instead. For now, the project files are on patreon. You can get it by supporting me there (sorry about that).
@alexxander7289
@alexxander7289 2 ай бұрын
i could not get my projectile to "shoot". it seemed to be "shooting" from underneath the player. So I added this code in the do_attack function. The below code should go directly above "obj.linear_velocity = EXPLOSIVE_FORCE * get_forward_direction()" line of code. # Offset the projectile to appear away from of the player var offset = get_forward_direction() * 20 # Adjust '20' for distance obj.global_position = global_position + offset
@octodemy
@octodemy 2 ай бұрын
You probably had your projectile collision layer/mask colliding with the player. Which is something you might want depending on the game type. In the video, I've made it so the projectile doesn't collide with the player, so there was no problem when spawning the projectile in beneath the player. (I briefly comment that I did that at some point, but it can be easily missed as I don't put too much focus on it)
@fiffy6572
@fiffy6572 7 ай бұрын
Hi! Great tutorial! Do you have a link to look at the source code of this project?
@octodemy
@octodemy 6 ай бұрын
Thanks! For now, you can get the projects source code by supporting me on patreon.
@fiffy6572
@fiffy6572 6 ай бұрын
@@octodemy thx
Heat distortion effect | Godot
9:16
Octodemy
Рет қаралды 1,7 М.
BETTER 2D visuals in 7 EASY TIPS
10:38
MrEliptik
Рет қаралды 75 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 651 М.
How to write more flexible game code
8:36
The Shaggy Dev
Рет қаралды 22 М.
AI Learns to Play Dodgeball
10:59
AI Warehouse
Рет қаралды 1 МЛН
How To Code Player Health & Fall Damage In Godot 4
13:00
Making a GOOD third person camera in Godot 4
9:33
Octodemy
Рет қаралды 812
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 456 М.
10+2 AWESOME ADDONS for GODOT 4
8:36
MrElipteach
Рет қаралды 153 М.
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 460 М.
Real-Time Monster Evolution: Devlog #2 (Re-Upload)
8:14
RujiK the Comatose
Рет қаралды 123 М.
This Godot 4 Scene Manager Does it ALL
28:50
Bacon and Games
Рет қаралды 31 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН