プレイ日記
☆CodeZeяo☆ Code-Zero-666
how do you load maps with trees
3そうだね
プレイ済み
返信[1]
親投稿
*J.P.* DEV NEWPICY3
uh..? what..? do you want the trees sprites or map tiles? what do you mean
1そうだね
未プレイ
返信[2]
親投稿
☆CodeZeяo☆ Code-Zero-666
like im doing a test for a future map... an i really don't know... i just need them randomly generated like people... i know people would need a subscript but idk how to
0そうだね
プレイ済み
返信[3]
親投稿
☆CodeZeяo☆ Code-Zero-666
there is gonna be a lot of pedestrians roaming and i need help with making them work properly lol
1そうだね
プレイ済み
返信[4]
親投稿
*J.P.* DEV NEWPICY3
so you want them to be sprites. im sure you know how to randomly place them (if not, then put rnd in the x,y of the sprites) are you saying you want to make then move around?
1そうだね
未プレイ
返信[5]
親投稿
☆CodeZeяo☆ Code-Zero-666
yeah like normal pedestrians the player van interact with.
0そうだね
プレイ済み
返信[6]
親投稿
☆CodeZeяo☆ Code-Zero-666
and i do know how to place sprites but not separately from each other like...i need them to do the same thing but separately XD
0そうだね
プレイ済み
返信[7]
親投稿
*J.P.* DEV NEWPICY3
oh well that's harder something like making a box or area limit that he can go to first. then making him move, just an x=x+1 for moving it and an until to stops it, so set four things like that, up down left and right, then make a random thing that chooses from the four like a=rnd(4) if a=1 then left if a=2 then right and so on make a def for each direction, on those def make it move a random
0そうだね
未プレイ
返信[8]
親投稿
*J.P.* DEV NEWPICY3
amount of stuff, set a boundary so it doesn't do out of a certain range then put until loops to keep it from doing another action while the current is in action. once its complete don't forget to reset the first rnd variable by putting a=rnd(4) at the end
0そうだね
未プレイ
返信[9]
親投稿
*J.P.* DEV NEWPICY3
also for doing more than one you could either do a for loop or just do 1 of those for every strite
0そうだね
未プレイ
返信[10]
親投稿
*J.P.* DEV NEWPICY3
sprite'
0そうだね
未プレイ
返信[11]
親投稿
☆CodeZeяo☆ Code-Zero-666
the sprite thing is what im having rouble figuring out...
0そうだね
プレイ済み
返信[12]
親投稿
*J.P.* DEV NEWPICY3
what sprite thing?!
0そうだね
未プレイ
返信[13]
親投稿
☆CodeZeяo☆ Code-Zero-666
the putting of multiple sprites under one command.
0そうだね
プレイ済み
返信[14]
親投稿
*J.P.* DEV NEWPICY3
use a for loop, ill give an example lets say you want to set up 25 bananas randomly over the screen, do ACLS FOR I=0 TO 24 SPSET I,5 SPOFS I,RND(400),RND(230) NEXT is that what you mean?
0そうだね
未プレイ
返信[15]
親投稿
☆CodeZeяo☆ Code-Zero-666
YES! thank you!
0そうだね
プレイ済み
返信[16]
親投稿
☆CodeZeяo☆ Code-Zero-666
ik im getting annoying but umm... how could i make them move away from each other?... because I only have X,Y for all of the sprites spofs and idk how to define them
0そうだね
プレイ済み
返信[17]
親投稿
*J.P.* DEV NEWPICY3
thats the hard part.. i know all this because i have been making this for an ai for my NPS's i will be still testing though, ill see if i can come up with something. lol.
0そうだね
未プレイ
返信[18]
親投稿
☆CodeZeяo☆ Code-Zero-666
thank you a lot!
0そうだね
プレイ済み