プレイ日記
V360 TheV360
RGRPG2 devlog: Props are working perfectly! Now on to events, which are read into an array, but don'tdo anything yet.
2そうだね
プレイ済み
返信[1]
親投稿
klonoa hellkolbod
2 questions 1 how do you set-up the map 2 how do you properly set-up collision
0そうだね
プレイ済み
返信[2]
親投稿
V360 TheV360
It's actually really simple. 1. I use my own map editor to make the maps, and it comes with a MAP_LOAD function. I set up my maps like so: layer 0 is collision, 1 is below the player, and 2 is above the player. 2. Then, if the player tries to move, it checks if there is a tile in the direction that they're moving in. If there isn't a tile, move there. Finally, I use some SPANIM to make it lookgood
0そうだね
プレイ済み
返信[3]
親投稿
klonoa hellkolbod
so i create a dummy map and it keeps say file not found even though its there and i just created it did i do something wrong
0そうだね
プレイ済み
返信[4]
親投稿
Perska Perska02
Try adding the prefix "DAT:" and also make an array to load the map to.
0そうだね
プレイ済み
返信[5]
親投稿
V360 TheV360
[advertisement] To load maps quickly and easily, use my Map Editor™, available in V360 Grab Bag™. [Key: QR441XM3] Also, you can check for BG tiles by using BGGET().
0そうだね
プレイ済み
返信[6]
親投稿
klonoa hellkolbod
now its saying its illegal what did i mess up (dont judge me this is my first game and this is the first time i'm attempting to do this)
0そうだね
プレイ済み
返信[7]
親投稿
V360 TheV360
Use this menu option in MAP_EDIT ("Use V360 Map Files in your game") to copy the load function into your game.
0そうだね
プレイ済み
返信[8]
親投稿
klonoa hellkolbod
still cant get it to work
0そうだね
プレイ済み
返信[9]
親投稿
V360 TheV360
You need to use the LOADMAP function to load the map. The only parameter of LOADMAP is the filename.
0そうだね
プレイ済み
返信[10]
親投稿
klonoa hellkolbod
ok do i need to add the x and y equals ?
0そうだね
プレイ済み
返信[11]
親投稿
V360 TheV360
Nah, that was just some filler code.
0そうだね
プレイ済み
返信[12]
親投稿
klonoa hellkolbod
so that should do the trick even though it gave me a error the first time
0そうだね
プレイ済み