Skip to content

u/jambrs

In this archive from Jun 2016 to Jul 2019

4
posts
18
comments
0
media
185
score

player.scn has a script attached that controls movement. If I add_child(player) to main game scene, controls don't work. Am I doing it wrong?

I originally had the player.scn file already imported from the interface but decided I wanted to instantiate the pack on game start. So I deleted the node, went into the main spatial code and added: var player = preload("res://player/player.scn").instance() then func ready(): add_child(player) it ad...

4 points3 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.