summaryrefslogtreecommitdiff
path: root/src/blog/g
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-09-01 09:30:52 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-09-01 09:30:52 -0600
commitedd91285e202c16af1c80458291e039fe3f22dfe (patch)
tree5dd8ee9049342f4cd29989d8c57f10f360156291 /src/blog/g
parente6fb8b69c85894994d649b4c7c59a6a1fa606c34 (diff)
update texture filter notes
Diffstat (limited to 'src/blog/g')
-rw-r--r--src/blog/g/flappybird_godot_devlog_2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog/g/flappybird_godot_devlog_2.md b/src/blog/g/flappybird_godot_devlog_2.md
index 4532cc5..0170194 100644
--- a/src/blog/g/flappybird_godot_devlog_2.md
+++ b/src/blog/g/flappybird_godot_devlog_2.md
@@ -26,7 +26,7 @@ The source code can be found at [luevano/flappybirdgodot](https://github.com/lue
These include the first changes for fixing some of the conflicting code to at least make it run (no gameplay) as well as project settings adjustments.
- Changing the [default import settings](https://blog.luevano.xyz/g/flappybird_godot_devlog_1.html#default-import-settings) for pixel art no longer works (though it's worth to double check as they changed from `Texture` to a `Texture2D`). The important parameter to [change is the *Filter* for the textures](https://ask.godotengine.org/122518/how-to-import-pixel-art-in-godot-4).
- - Since all nodes inherit parameters by default, changing on the parent nodes (or just once in the root such as `Main.tscn`) will suffice: Go to *Inspector -> CanvasItem -> Texture* and change *Filter* from "Inherit" to "Nearest".
+ - Change by going to the *Project Settings* at *General -> Rendering -> Textures* and set the *Canvas Textures -> Default Texture Filter* to "Nearest".
- Re-set the *InputMap* as the system probably changed from *Godot 3* to *Godot 4*.
- For `SavedData` singleton, change from `File` to `ConfigFile` and refactor. This is really not needed for making it run, but I changed this right away.
- Remove `velocity` property of `Player` which is already included in `CharacterBody2D`.