プレイ日記
PikaRyan papermariofanmm
Remember this? now that i have a bit more knowlage im going to continue it... on the bottom screen there will be the leader board and your cell's mood (your cell will have emotions a straight face during moving around and if an enemy bigger than you comes by it will have a worried look if your bigger than a cell next to you it will be mischievous) :D (quick questions how do i make enemy ai)
1そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
"quick questions: how do I make enemy ai?" There is no simple way to make an AI and no 2 games (should) have (exactly) the same AI. The code that you will use will need to be specially designed for the game. Thus, it is not a very good question to ask, and certainly not a quick one. Think of what you want your enemy to do and program that. These are waters that you must swim alone, my friend.
1そうだね
プレイ済み
返信[2]
親投稿
PikaRyan papermariofanmm
yeah i guess you're right... i just wanted to learn how to make enemies follow you when you're smaller than its mass and flee when your bigger than them..
0そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
Well that's a more specific question that I can (somewhat) answer. So, if E is the enemy's number and P is yours, you can do something like IF MASS[E]<MASS[P] THEN RUN AWAY! INSERT TRIG THAT I DIDN'T WANT TO TYPE ELSE GO TOWARDS! STILL INSERT TRIG ENDIF Though I would recommend having buffers to avoid things being too precise.
2そうだね
プレイ済み