Skip to content

u/dosjanus

In this archive from Sep 2018 to May 2019

5
posts
15
comments
0
media
29
score

Few days ago I saw a post about utility for window managers that flashes the focused window. Now i cant find it anymore, and dont even know what subreddit it was in. I'd appreciate if someone could point me to right direction.

1 points

i have ryzen 5 2600 and having no problems because of it. i've had freezes but it's always been because nvidia gpu and nouveau drivers and fixed by installing proprietary drivers.

2 points

if you have problem remembering correct parameters for pacman you can create some aliases in your ~/.bashrc or whatever shell you use

i.e.

alias aptsearch="pacman -Ss"  
alias aptinstall="pacman -S"  

or

alias pkgpurge="pacman -Rsn"
alias pkgremove="pacman -R"

etc.

Or whatever, dunno if that's why you dont like pacman,just an idea.

or you could just learn to ~~use~~like pacman :|

e. dunno if aliases with spaces are possible

2 points

In my project i gave all characters function take_turn that moves the character, regens hp or whatever it needs to do. And my game has global take_turn function which iterates through all characters and calls them turn function. Then ie arrow up is pressed -> global take_turn is called.

1 points

Found out that i could actually do the same with much simpler solution with TextureRects signal gui_input(). I.e:

func _on_TextureRect_gui_input(ev):  
    if ev is InputEventMouseButton and ev.doubleclick:
        do_thing()

Works perfectly with less code.

2 points

Fixed first error by changing where i call the A* to be generated. I had A* code in tilemaps script, and function that creates A* was called from that tilemaps parent node (don't ask why). Did some reorganization and now A* generates itself in tilemaps script and no more "p_elem->_root" errors. Don't actually understand why it did spam errors before but.. no more error so i'm happy. Maybe something related to order of how my functions are called.

Edit. And the errors seem to be back even tho i "did nothing"

1 points

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.