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]
Popular Game Dev topics
Hi,
I’m looking suggestions for learning Game development with C++
preferably, SDL2.
All suggestions are welcomed :slight_smile:
New
For about two weeks we have had the problem that Google / Android are rejecting apps for updates with the following statement:
We found...
New
Hello this is Gulshan Negi
Well, I have developed a program in C++ to print a man (reference taken from here). On the attached site, I a...
New
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
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
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...
New
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
I’ve been studying the mechanics behind Block Blast–style puzzle games, and I’m curious about the best approaches for developing one for ...
New
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
Hi, so i know that python is a better first language but I read that it’s not mainly used for game development so I wondered if c# was be...
New
Other popular topics
Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more e...
New
New
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it.
Does your monitor have eye p...
New
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
Node.js v22.14.0 has been released.
Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /svelte
- /typescript
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /revery
- /ubuntu
- /manjaro
- /julia
- /diversity
- /lua
- /markdown
- /c









