Skip to content

Instantly share code, notes, and snippets.

View ByteAtATime's full-sized avatar

ByteAtATime

  • Earth
  • 15:27 (UTC -07:00)
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
contract BetterTxResultTest {
struct SimpleStruct {
uint256 val;
uint256 secondVal;
bool flag;
}
@ByteAtATime
ByteAtATime / player.rs
Created November 20, 2023 18:27
godot-rust Simple Player Controller
#[derive(GodotClass)]
#[class(base = CharacterBody3D)]
struct Player {
#[export]
base_speed: f32,
#[export]
sprint_speed_multiplier: f32,
#[export]
air_speed_multiplier: f32,
#[export]