mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
1ff32f2892
Made scrips extend Reference instead of Node
6 lines
126 B
GDScript
6 lines
126 B
GDScript
extends Reference
|
|
|
|
|
|
func int_to_2bytes(value: int) -> PoolByteArray:
|
|
return PoolByteArray([value & 255, (value >> 8) & 255])
|