プレイ日記
κιъъιε kibbledude
I have no idea what to do. PLEASE HELP!
1そうだね
プレイ済み
返信[1]
親投稿
SPOFS [sprite number], [X coordinate], [Y coordinate] ex: SPOFS 0,200,120
0そうだね
プレイ済み
返信[2]
親投稿
κιъъιε kibbledude
Thanks but how do i get enemies?
0そうだね
プレイ済み
返信[3]
親投稿
κιъъιε kibbledude
Ive benn trying to add enemies to this game for ever so I gave up on it, so if you can help then i'm back!
0そうだね
プレイ済み
返信[4]
親投稿
EM=10 DIM EX[EM],EY[EM] FOR I=1 TO EM SPSET I,[sprite character] SPOFS I,I*32,32 NEXT
1そうだね
プレイ済み
返信[5]
親投稿
κιъъιε kibbledude
Thanks! You really helped!
0そうだね
プレイ済み
返信[6]
親投稿
κιъъιε kibbledude
but wheres the enemy?
0そうだね
プレイ済み
返信[7]
親投稿
κιъъιε kibbledude
I put in everything but it doesn't work
0そうだね
プレイ済み
返信[8]
親投稿
κιъъιε kibbledude
look!
0そうだね
プレイ済み
返信[9]
親投稿
C. Norris 06495a
Try putting the code where you set the player sprite
1そうだね
プレイ済み
返信[10]
親投稿
You need to insert the code before the loop.
1そうだね
プレイ済み
返信[11]
親投稿
κιъъιε kibbledude
ok let me try that
0そうだね
プレイ済み
返信[12]
親投稿
κιъъιε kibbledude
I put it before both loops and it says illegal function call
0そうだね
プレイ済み
返信[13]
親投稿
κιъъιε kibbledude
I even added a space and it ran but the enemy didnt show up
0そうだね
プレイ済み
返信[14]
親投稿
You put the command ACLS after the code.
1そうだね
プレイ済み
返信[15]
親投稿
κιъъιε kibbledude
ok...
0そうだね
プレイ済み
返信[16]
親投稿
Did that help?
1そうだね
プレイ済み
返信[17]
親投稿
C. Norris 06495a
I think he means put the acls before the sprite loop
2そうだね
プレイ済み
返信[18]
親投稿
κιъъιε kibbledude
IT WORKED! Now this is my last question... How do you make the characters follow you? because my game is an rpg and im working on the pokemon style battle sequence but I need them to follow you
0そうだね
プレイ済み
返信[19]
親投稿
Insert this into the "SPSET" area: REPEAT EX[I-1]=RND(400) EY[I-1]=RND(240) D=SQR(POW(EX[I-1]-PX,2)+POW(EY[I-1]-PY,2)) UNTIL D>100 Insert this somewhere in the loop: FOR I=0 TO 9 A=DEG(ATAN(EX[I]-{player X},EY[I]-{player Y}))+180 INC EX[I],SIN(RAD(A)) INC EY[I],COS(RAD(A)) SPOFS I+1,EX[I],EY[I] NEXT
1そうだね
プレイ済み
返信[20]
親投稿
κιъъιε kibbledude
THANK YOU SO MUCH!
0そうだね
プレイ済み
返信[21]
親投稿
κιъъιε kibbledude
MY GAME IS GONNA BE THE BEST
0そうだね
プレイ済み
返信[22]
親投稿
κιъъιε kibbledude
Well, sorry to bother you again but how do it put a normal battle. The Pokemon style didnt work that good so can you give me a pic of some code that the player can use a sword and kill the enemy?
0そうだね
プレイ済み
返信[23]
親投稿
C. Norris 06495a
Do you know how to use sp hitboxes? If not you need to learn that first
1そうだね
プレイ済み
返信[24]
親投稿
κιъъιε kibbledude
No but I will but first I have to pick up my DS yesterday I left it at my dad's house so Im probly gonna get it later today
0そうだね
プレイ済み
返信[25]
親投稿
C. Norris 06495a
Here is a folder with some demos as well as tutorials KEY: KEPD4YD It has a tutorial on arrays And tell me what tutorial to make next
1そうだね
プレイ済み
返信[26]
親投稿
κιъъιε kibbledude
K
0そうだね
プレイ済み