SuperGibaLogan

SuperGibaLogan

needing help converting godot 4.1 code to godot 4.2

im working on a game on godot and im using a tutorial to code it

however, one of the code in the tutorial im using only works in godot 4.1, im using godot 4.2

so can anyone reply me the godot 4.2 version of this code? this is the code:

extends Resource

@export var scatter_targets: Array[Node2D]
@export var at_home_targets: Array[Node2D]

Where Next?

Popular Game Dev topics Top

Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
dev232
Installed Mac Ports on OSX High Sierra sudo port install gcc11 libsdl2 openssl glfw libsdl2_gfx libsdl2_image libsdl2_mixer libsdl2_net...
New
ksspeedstar
For about two weeks we have had the problem that Google / Android are rejecting apps for updates with the following statement: We found...
New
deadlyzayan
hey there everyone , hope you are all great . i have been a world of warcraft player as long as i can remember and i got this idea of sta...
New
HuntzUdwn
Hello everyone, I am a Student at CSUDH and was wondering about how to become a game developer. I would like to contact a developer and a...
New
sir.laksmana_wenk
Where the protagonist hovers their head towards an item nearby, and the headturn has a movement limit, so it’s not like 360 degree head ...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
lingo1357
I have developed an initial plan for a simple and addictive physics game using a new engine I’ve learned. While I can envision various ph...
New
lucianoghetti
Hello, I’m a Bachelor Student in Informatics at Ecole Schulz in Geneva. I’m conducting a project on Artificial Intelligence in the Videog...
New
pixel
I would like to learn unreal engine to make my first game. It is going to be a top down 3d game like 1997 Grand Theft Auto. What would th...
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Margaret
Ask Me Anything with Mark Volkmann @mvolkmann On February 24 and 25, we are giving you a chance to ask questions of PragProg author M...
New