操作説明
マウスでひたすらクリックするだけです
100回クリックすると…!?
これからプログラミングを始める子にまず見てほしいブログ
投稿日:
マウスでひたすらクリックするだけです
100回クリックすると…!?
執筆者:getabako
関連記事
blenderで車のモデリングをしてから、ペジェでコース作って、Unityでマリオカートみたいなレーシングゲームにするてんこもりなチュートリアル
こんな感じのマリオカートみたいなレーシングゲームを作ります https://getabakoclub.com/wp-content/uploads/2018/11/douga2.mp4 車体を作る様子を …
Unityのデフォルトのスクリプト
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sample : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } } |
C#スクリプトはいくつかエリアに分かれているので、まずはそのエリアについて解説します C#の機能や …
今回やること 剣の斬撃エフェクトをパーティクルで作成します 剣で攻撃するキャラクターは別途作成しておきましょう 斬撃エフェクトの作成 Create → Effects → ParticleSystem …
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wave : MonoBehaviour { private float y; // 縦に動かす量 // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { y += 0.1f * Time.deltaTime; // 縦に動かす量を0.1ずつ帰る if(y >= 0.1f) // もし、yが0.1以上になったら、 { y *= -1f; // yに-1かける } transform.position += transform.TransformDirection(Vector3.forward * Time.deltaTime) + new Vector3(0,y,0); // 前方に進みながら縦にyの分だけ動かす } } |
2020/11/07
Web初心者でも大丈夫!!Webページを公開するまでの最低限の手順
2020/09/18
blenderでアニメーションの歪みを修正する【blender2.8】