[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: 3530963-9598149809-logo_-3….png 📥︎ (84.05 KB, 839x960) ImgOps

 №36518[Quote]

i need help on how to make enemies, shoot bullets, and health in godot

 №36528[Quote]

File: 1786844194516s.gif 📥︎ (361.68 KB, 480x480) ImgOps

just watch a tutorial on zogtube

 №36569[Quote]

>>36528
they never work

 №36576[Quote]

>>36528
To be fair, the youtube tutorials are basically follow-along and do as I say brainrot that teaches you fucking nothing, even the written documentation is more helpful than that. At this point just vibe code the whole thing with claude because you're rotting your brain at the same pace anyway.

 №36590[Quote]

>>36569
>>36576
if you can't build something of your own after learning the engine's ropes in a follow-along tutorial, you might be clinically retarded

 №36603[Quote]

>>36590
literally this

 №36615[Quote]

Learn C#, don't use the gay python memelang

 №36649[Quote]

File: adam_anderson-1507076262-….webp 📥︎ (49.63 KB, 1200x899) ImgOps

>>36590
>after learning the engine's ropes
They literally don't teach shit, nigger. These are youtube tutorials not fucking codeacademy or something.

 №36652[Quote]

>Learn C#, don't use the gay python memelang
Just adding that op needs to download Godot .net or he won't get C#, also he needs to install Mono-complete if he's on linux.

 №36656[Quote]

File: question mark jak.png 📥︎ (19.59 KB, 702x907) ImgOps

i cant tell if i should make the game 3d or 2d because if i make it 2d then i cant do fun stuff with grenades and snipers but if its 3d it might attract trannies
>its going to be fast pasted btw

 №36677[Quote]

>>36656
choose which ever one works better for shooter games
>probably 3d

 №36682[Quote]

@claud help this guy

 №36743[Quote]

>>36649
worked for me award

 №36828[Quote]

nigger you have been trying to do this for a year. Just do the whole thing in rust at this point

 №36829[Quote]

>>36576
they are fucking terrible and are designed for people who are illiterate

 №36841[Quote]

>>36828
this but unironically rust is aryan

 №36850[Quote]

>>36656
tbh it might attract trannies more if it's 2d since they love 2d indie troonslop

 №36853[Quote]

>>36850
Unless you are heckin' problematic like the guy who made Pizza Tower or something
Doebeit, furfags love Pizza Tower because it's cartoony (despite the protagonist and 50% of other characters being human), so aesthetics also play a role.

 №36861[Quote]

>>36518 (OP)
Jewtube guides are your friend. Also you could skim through github for someone else's projects and adapt their raisin to your needs. GODOT's GDScript is piss easy to learn on your own (if you know Python raisin, GDScript is 99% of Python synthax) or by looking at someone else's code.
Or you can go into vibecoding territory. But remember, GODOT can easily start choking from literally anything, so if you vibecode, at least check the code yourself and fix bullshit on your own instead of fully trusting AI shit

Anyway, simple rundowns without going too much into details (again, use tutorials nigga, and idek if you're making a 2D or 3D project, both need a slightly different approach)
be warned, hueg wall of perhaps useless text that'll only give you some directions

>how to make enemies

make a separate scene
attach a collision shape
attach two raycasts, one raycast will serve as detecting player's collision, another raycast will do damage if player's collision is detected
attach a script to the scene, in that script write two values at the top "damage" and "health"
write a function for the first raycast that detects players collision and chases the player
write another function for the second raycast that'll detect players collision and decrease player's health variable (if you have it setup in your player controller as something like "playerhealth = 100" by the damage variable you wrote earlier
super simple and super shitty way of setting up a simple AI
save and just drag and drop enemy scenes onto your map (you can setup spawners that'll automatically call these scenes into your map later)
>shoot bullets
make a separate scene, it'll serve as a weapon scene that you will attach to your player controller
attach a raycast
in the code at the top write a damage variable, write a function for the raycast that will respond to your LMB key press (something like on_action_pressed = "LMB", i don't remember, it's been a while since I used GODOT), write a simple formula in it like "health - damage"
again, a simple raycast solution, for projectiles the approach is super different and a raycast2D/3D won't work
attach the scene to your player controller (shit way if you want weapon switching, good if player is intended to only use one gun)
>health in godot
in the scripts for your enemy and player scenes, just write a health variable, it's as simple as that really
I would separate variables though, for player health make a variable "playerhealth" and for enemy health write "health"
because if your simple setup for collision detection goes wrong and every health variable is called "health" enemies might start damaging other enemies (not a problem if you want infighting or enemies being a hazard to each other geg)

 №36931[Quote]

Godot is retarded

 №36932[Quote]

>>36931
still miles better than urinal or jewnity
worse than cryengine and maybe OGRE

 №36979[Quote]

>>36850
Any remotely ugly game will attract trannies. They like relatable things I suppose

 №36987[Quote]

>>36850
im planning to make it like a fast paced ethnic cleansing so i think im good

 №37093[Quote]

still trying out 2d might have some test footage soon

 №37094[Quote]

File: gigaparrot.jpg 📥︎ (205 KB, 1920x1080) ImgOps

nigger make it in rust

 №37095[Quote]

File: 20240421_180338.jpg 📥︎ (45.53 KB, 680x473) ImgOps

>nigger make it in rust

 №37098[Quote]

File: 1760241084618c.jpg 📥︎ (78.4 KB, 610x660) ImgOps

>nigger make it in rust

 №37155[Quote]

>>37094
I'm on my work laptop (I daily drive Windows 11, btw) so I don't have my troonjak folder, so please picture yourself hanging. Thanks.

 №37165[Quote]

File: ClipboardImage.png 📥︎ (3.6 MB, 2048x1399) ImgOps

>I'm on my work laptop (I daily drive Windows 11, btw) so I don't have my troonjak folder, so please picture yourself hanging. Thanks.

 №37208[Quote]

File: ropeman.png 📥︎ (43.46 KB, 952x1393) ImgOps

>>I'm on my work laptop (I daily drive Windows 11, btw) so I don't have my troonjak folder, so please picture yourself hanging. Thanks.

 №37235[Quote]

File: ClipboardImage.png 📥︎ (1.99 MB, 1299x1071) ImgOps

>>>I'm on my work laptop (I daily drive Windows 11, btw) so I don't have my troonjak folder, so please picture yourself hanging. Thanks.

 №37236[Quote]

File: ACK (41).png 📥︎ (335.27 KB, 768x719) ImgOps

>>>>I'm on my work laptop (I daily drive Windows 11, btw) so I don't have my troonjak folder, so please picture yourself hanging. Thanks.

 №37237[Quote]

>>36518 (OP)
Jelly V1 WON

 №37238[Quote]

jelly

 №37269[Quote]

ive made godot slop before ages ago. learn all the basic shit then just use claude for the rest then kill yourself

 №37272[Quote]

>>37269
yeah OP, this 'teen is right, I used to prototype raisin in GODOT too and it's a nightmare
DODIS



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]