| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |
- c sharp hello world
- Lua language
- N Queen 문제
- c#온라인
- c샾 hello world
- 유니티
- 2중 반복문
- for문
- 루아다운로드
- 비주얼 스튜디오
- LUA
- 비주얼 스튜디오 다운로드
- c언어 배열 programming
- Lua 설명
- C언어 달력
- c언어 콘서트 배열
- N Queens Problem
- 루아
- lua 다운로드
- 온라인 비주얼 스튜디오
- c언어 콘서트 배열 2번
- 게임제작
- Lua란
- 메이플스토리
- lua download
- c언어 최대최소
- c샾 헬로우 월드
- c++ 등차수열 합
- c언어 버블정렬
- N Queen Coordinates
- Today
- Total
목록분류 전체보기 (41)
Ln Go
#include using namespace std; vector graph; //일반적인 벡터 선언 vector graph2[101]; //101개의 벡터 선언 vector graph3(101); //원소가 101개인 벡터 선언 int main() { int now = 1; graph.push_back(1); graph.push_back(2); graph.push_back(3); graph2[50].push_back(10); graph2[50].push_back(20); graph2[50].push_back(30); graph3.push_back(100); graph3.push_back(200); graph3.push_back(300); cout
#include #include //double type value absolute #include //int type value absolute using namespace std; int board[20], cnt; void add(int n) { ++cnt; } int place(int row, int column) { int i; for(i = 1; i call queen(row + 1, n); Recursive Fuction } } } } int main() { int n; cin >> n; queen(1,n); cout
http://tylerneylon.com/a/learn-lua/ Learn Lua in 15 Minutes tylerneylon.com
function addNumbers(num1, num2) local Result = num1 + num2 print(Result) end addNumbers(10,20)
Lua는 강력하고 효율적이며 가벼운 임베딩 가능한 스크립팅 언어이며 절차적 프로그래밍 객체 지향 프로그래밍 함수형 프로그래밍 프로그램에 내장되는 스크립트 데이터 기반 프로그래밍 및 데이터 설명을 지원합니다.
http://www.lua.org/home.html The Programming Language Lua www.lua.org 1. lua 홈페이지에 접속해줍니다. download 클릭 2. binaries로 들어가줍니다. 3. History에서 Lua 최신버전을 클릭해줍니다. 4. SourceForce에서 Download Latest Version
#region 어셈블리 UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // C:\Program Files\Unity\Hub\Editor\2021.1.10f1\Editor\Data\Managed\UnityEngine\UnityEngine.AnimationModule.dll #endregion using System; using System.Collections.Generic; using System.ComponentModel; using UnityEngine.Bindings; using UnityEngine.Playables; using UnityEngine.Scripting; namespace Unity..
#include #include #include using namespace std; int main() { string a = "01234567 abcde ABCDE"; transform(a.begin(), a.end(), a.begin(), [](unsigned char a) {return toupper(a); }); cout
#include using namespace std; int main (void){ bool questMain[10][10] = { false }; //qusetMain //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 0 //questMain[0][N] Mainquest sequence //questMain[N][0] Mainquest quest progress //questMain Node //1 1 1 1 1 1 0 0 0 //row[0] //1 0 0 1 0 1 0 0 0 //row[1] //0 0 0 ..
비쥬얼 스튜디오에서는 코드 정리를 할 수있는 버튼이 하나 있는데 기본 단축키 설정은 Ctrl + K Ctrl +E 이다. 이 단축키를 변경할 수 있다. 도구 - 설정 - 환경 - 키보드 - 코드 정리 입력 - 바로 가기 키 누르기를 한 다음에 원하는 단축키를 입력하면 된다.
Rigidbody 2D 에서 Linear Drag(sometimes called air resistance)를 설정해주지 않아 Player가 계속 움직였다. OnCollisionEnter2D()로 더블 점프를 막아주려 했지만 OnCollisionEnter()을 써버렸다. BoxCollider2D로 진행시 다른 BoxCollider과 만나면 버벅이거나 캐릭터가 멈춘다. CapsuleCollider2D로 바꿔주었다. using UnityEngine; public class PlayerMove : MonoBehaviour { Rigidbody2D rigid; public float maxSpeed; public float jumpPower; bool isGround; void Awake() { rigid = ..
using System.Collections; using UnityEngine; using UnityEngine.UI; public class Shop : MonoBehaviour { public RectTransform uiGroup; public Animator anim; public GameObject[] itemObj; public int[] itemPrice; public Transform[] itemPos; public string[] talkData; public Text talkText; Player enterPlayer; void Awake() { enterPlayer = null; } public void Enter(Player player) { enterPlayer = player; ..
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Follow : MonoBehaviour { public Transform target; public Vector3 offset; //offset은 보정 void Update() { transform.position = target.position + offset; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Item : MonoBehaviour { public enum Type { Ammo, Coin, Grenade, Heart, Weapon }; public Type type; public int value; Rigidbody rigid; SphereCollider sphereCollider; private void Awake() { rigid = GetComponent(); sphereCollider = GetComponent(); } void Update() { transform.Rotate(Vector3.up * 20 * Time.delt..
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StartZone : MonoBehaviour { public GameManager manager; private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") manager.StageStart(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Orbit : MonoBehaviour { public Transform target; public float orbitSpeed; Vector3 offset; void Start() { offset = transform.position - target.position; } // Update is called once per frame void Update() { transform.position = target.position + offset; transform.RotateAround(target.position, Vector3.up, or..