個人制作物
最近のもの
- 自作プログラミング言語
- WebGL系 (少しロード時間がかかります)
- https://r3f-game-beta.vercel.app
個人制作物
最近のもの
| import bpy | |
| actions = bpy.data.actions | |
| loop_names = ["_run_", "_walk_", "_sprint_", "loop", "flail"] | |
| # reanme actions | |
| for action in actions: | |
| action.name = action.name \ | |
| .replace("ALS_", "") \ |
| # export AnimSequence as .glb | |
| import unreal | |
| rootPath = '/Game/AdvancedLocomotionV4' | |
| outputDir = '/Users/{user_name}/Downloads/ExportALS/' # This case is macOS | |
| # remove preview mesh to reduce export size | |
| exportOptions = unreal.GLTFExportOptions() | |
| exportOptions.export_preview_mesh = False | |
| selectedActors = set() |
| import { GTR } from "https://deno.land/x/gtr@v0.0.1/mod.ts"; | |
| function zip<T, U>(a: T[], b: U[]): Array<[T, U]> { | |
| return a.map((k, i) => [k, b[i]]); | |
| } | |
| const fileArg = Deno.args[0]; | |
| if (!fileArg) { | |
| console.error("Please provide a file path"); | |
| Deno.exit(1); |
| // 現状の Rust UI Node の z-order は、UI Component の Hierarchy だけで決まる | |
| // 最終的には z_index とかを Style で指定して順序を変えられるようになるっぽいので、待とう | |
| // (Sprite は Translation.z の値で重なりを制御できるけど) | |
| use bevy::{ | |
| input::{ | |
| mouse::{MouseButtonInput, MouseMotion}, | |
| ElementState, | |
| }, | |
| prelude::*, |
| # gspm project.yml <https://gs-project-manager-docs.readthedocs.io/en/latest/schema.html> | |
| name: Project | |
| path: . | |
| version: 0.0.0 | |
| default_type: git | |
| author: Max | |
| email: harumaxy@gmail.com | |
| twitter: (at)twitter | |
| copyright: Copyright (c) 2020 | |
| license: License Type |
| # "crontab -e" してこれを入力、保存 | |
| */30 * * * * osascript -e 'display notification "体を動かそう" with title "運動不足に気をつけて"' |