This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ciwo@DESKTOP-LGJHS6H:~/builder-examples/smart-turret$ pnpm dev | |
| > smart-turret-example@ dev /home/ciwolsey/builder-examples/smart-turret | |
| > bash ./shell-scripts/CheckEnv.sh && . ./packages/contracts/.env && mprocs | |
| bash: ./shell-scripts/CheckEnv.sh: No such file or directory | |
| ELIFECYCLE Command failed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rt.setup({ | |
| server = { | |
| on_attach = function(_, bufnr) | |
| -- Hover actions | |
| vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr }) | |
| -- Code action groups | |
| vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr }) | |
| end, | |
| }, | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Provides the Format, FormatWrite, FormatLock, and FormatWriteLock commands | |
| require("formatter").setup { | |
| -- Enable or disable logging | |
| logging = true, | |
| -- Set the log level | |
| log_level = vim.log.levels.WARN, | |
| -- All formatter configurations are opt-in | |
| filetype = { | |
| -- Formatter configurations for filetype "lua" go here | |
| -- and will be executed in order |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use bevy::prelude::*; | |
| fn main() { | |
| App::new() | |
| .insert_resource(ClearColor(Color::rgb(0.0, 0.0, 0.0))) | |
| .insert_resource(WindowDescriptor { | |
| title: "Grid".into(), | |
| width: 750.0, | |
| height: 750.0, | |
| ..Default::default() | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pub fn ship_movement( | |
| time: Res<Time>, | |
| player_input: Res<PlayerInputRes>, | |
| mut query: Query<(&Ship, &mut Physics, &mut RigidBodyHandleComponent), With<Player>>, | |
| mut rigid_body_set: ResMut<RigidBodySet>, | |
| ) { | |
| for (ship, mut physics, rigid_body_handle) in query.iter_mut() { | |
| if let Some(rigid_body) = rigid_body_set.get_mut(rigid_body_handle.handle()) { | |
| let delta = time.delta_seconds(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct is never constructed: `Entity` | |
| enum is never used: `Shape` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open FSharp.Json | |
| open System.IO | |
| open System | |
| open System.Collections.Generic | |
| type Description = { | |
| text: string | |
| } | |
| type Item = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Description = { | |
| text: string | |
| } | |
| type RoomObject = { | |
| Description: Description | |
| } | |
| type Room = { | |
| Description: Description | |
| RoomObjects: RoomObject list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open System | |
| type Description = Description of String | |
| type Room = { | |
| Description: Description | |
| Objects: Object list | |
| } | |
| type Object = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Unlit Master" | |
| { | |
| Properties | |
| { | |
| } | |
| SubShader | |
| { | |
| Tags | |
| { | |
| "RenderPipeline"="UniversalPipeline" |
NewerOlder