Skip to content

u/dosjanus

In this archive from Sep 2018 to May 2019

5
posts
15
comments
0
media
29
score

How to detet mouse clicks in ui element?

I'm making inventory and character ui for my game and i have slots ( TextureRect) for equipped items. Slot texture changes properly when i equip item but i have problem detecting clicks on specific TextureRect. I've tried gui_input signal but nothing gets detected, not even mouse motion. Is this may...

0 points4 comments
Open on Reddit

Accessing function from subclass possible?

Here's a (pseudo)example of my code: extends Node2D var ai = ai_confused.new() func move(): position = random class ai_confused: func take_turn(): move() Then called from somewhere else with ai.take_turn() would give me error: Invalid call. Nonexistent function 'move' in base 'Reference ()'. Is ther...

1 points5 comments
Open on Reddit

A* pathfinding keeps spitting out errors

My A works, but error log gets filled with errors 0:00:03:0382 - Condition ' p_elem->root ' is true. Type:Error Description: Time: 0:00:03:0382 C Error: Condition ' p_elem->root ' is true. C Source: core/self_list.h:46 C Function: add I couldn't find much with google (at least what i could understan...

3 points4 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.