プレイ日記
King 5kittens645
YDB Devlog #2: So, i haven't gotten to adding in the manual yet, but now i have a question: how would i make something like dice, where it could roll up to a six and then it would take you to that spot? I have the same sort of question for my battle system, because i am going to have multiple different enemies, but i need to figure out how it would randomly pick an enemy. Thanks - King
3そうだね
プレイ済み
返信[1]
親投稿
King 5kittens645
People may be wondering what i need, so basically i need a random number generator that generates any number up to 6, then i will just need the same thing but up to a bigger number. Sorry it took me so long to say this, anyway i have finished part of the FAQ and i will post a screenshot when it is done.
0そうだね
プレイ済み
返信[2]
親投稿
King 5kittens645
Never mind people, I've figured it out! All it took was some experimentation with some code, and i got it!
1そうだね
プレイ済み
返信[3]
親投稿
Aaron Krondelo
Yep, super simple, however RND(6) will gen 0-5, just do RND(6)+1 I think, just test it.
1そうだね
プレイ済み