[ChatGPT][P5.js][2D RPG게임] P5.js 프로그래밍 언어를 사용하는 간단한 2D RPG 타일맵의 예제 샘플
P5.js 프로그래밍 언어를 사용하는 간단한 2D RPG 타일맵의 예제 샘플 let tileSheet; let tileSize = 32; let map = [ [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,..
2023. 1. 23.
[ChatGPT][Processing 프로세싱][2D RPG게임] Processing 프로그래밍 언어를 사용하는 간단한 2D RPG 타일맵의 예제 샘플
Processing 프로그래밍 언어를 사용하는 간단한 2D RPG 타일맵의 예제 샘플 // Here is an example of a simple 2D RPG tilemap using the Processing programming language PImage tileSheet; int tileSize = 32; int[][] map = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,..
2023. 1. 23.