This file contains 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
#Renpy Blossom | |
#桜吹雪 | |
init: | |
image blossoms = SnowBlossom(Animation("image/sakura.png", 0.5)) | |
#雪降り | |
image snow = Fixed( | |
SnowBlossom(im.FactorScale("image/snow.png",1.1),count=15,start=5), | |
SnowBlossom(im.FactorScale(im.Alpha("image/snow.png",0.8),0.6),count=15,yspeed=(75,150))) |
This file contains 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
# Renpy Chara Left Move | |
init: | |
$ ch1 = Character("キャラ1", image="Chara01") | |
image ch1 = "image/chara01.png" | |
image ch1 smile = "image/chara01_smile.png" | |
image ch1 sad = "image/chara01_sad.png" | |
transform smooth: |
This file contains 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
Show hidden characters
//SublimeText2 KeyBind | |
//カーソル移動 | |
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
{ "keys": ["ctrl+u"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
{ "keys": ["ctrl+m"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
//最行頭カーソル移動 | |
{ "keys": ["shift+ctrl+u"], "command": "move_to", "args": {"to": "bof", "extend": false} }, |
This file contains 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
public int anime_num = 0; anime_num = Random.Range (1,5); switch(anime_num) { case 1: print("Atack1"); break; case 2: print("Run"); break; case3: print("walk"); break; |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
public class Destory_obj : MonoBehaviour { | |
public GameObject obj; | |
void Awake(){ | |
InvokeRepeating ("Create", Random.Range(3.0f,5.0f), Random.Range(3.0f,5.0f)); | |
} |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
public class CharactorMove : MonoBehaviour { | |
public float walkSpeed = 7.0f; //歩く速度 | |
public float gravity = 10.0f;//重力加速度 | |
private Vector3 velocity;//現在の速度 | |
void Update () { | |
//CharacterControllerを取得 |
This file contains 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
//============================================================================= | |
// カテゴリ分け用 | |
//============================================================================= | |
/*: | |
* @plugindesc ==================== BATTLE ==================== | |
* @author maco1028 | |
* | |
*/ | |
/*:ja |
This file contains 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
//RPG Maker MV Parameter | |
* @param Name | |
* @desc Desc | |
* Default: true or Number or String | |
* @default true or Number or String |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
public class Backscroll : MonoBehaviour | |
{ | |
void Update () { | |
transform.Translate (-0.1f, 0, 0); | |
if (transform.position.x < -13.8f ) { | |
transform.position = new Vector3 (13.8f, 0, 0); | |
} |
OlderNewer