Through the mirror...
Minimalist and interactive godot project based off of a self made code poem.
Here is the singular script behind everything:
----------
extends Node2D
@onready var me: CharacterBody2D = $Me
@onready var the_mirror: StaticBody2D = $TheMirror
@onready var them: CharacterBody2D = $TheMirror/Them
func _process(delta: float) -> void:
despite(delta)
see()
func despite(delta : float):
me.velocity = Input.get_vector("what", "ever", "I", "do") * 200
me.move_and_slide() # it all amounts to
return null
func see():
for all_i_see in the_mirror.get_children():
if all_i_see == them:
them.global_position = Vector2((me.global_position.x * -1), me.global_position.y)
----------
This is technically vent art dont @ me
| Published | 1 day ago |
| Status | Released |
| Category | Other |
| Platforms | HTML5 |
| Author | xiiixvv |
| Made with | Godot |
| Tags | art, code-poem, poem, sourcecode |
| Content | No generative AI was used |

Leave a comment
Log in with itch.io to leave a comment.