プレイ日記
Chickens32 Chickens32
Hey, guys! I have ANOTHER question. I know how to make a rolling hp bar for my game, but I don't know how to make it animate and roll while the computer does something else (like menu selection). Help?
2そうだね
プレイ済み
返信[1]
親投稿
Scientist Speedy1101
Make a function which rolls it and call it when you need it to do so. Also, don't make the function do a full animation; doing so will waste some time. Try making the function show one frame at a time controlled by an incrementer which is increased each tick.
0そうだね
プレイ済み
返信[2]
親投稿
Be btnfamily
can you tell me the key please
0そうだね
プレイ済み
返信[3]
親投稿
Chickens32 Chickens32
@Scientist I tried that, but what i want it to do is do the rolling animation while the computer does something else. Sorta like "multitasking". Search up a Mother3 battle online and you'll get what I mean
0そうだね
プレイ済み
返信[4]
親投稿
Scientist Speedy1101
Unfortunately, multitasking isn't possible, so you'll have to put everything in a loop somehow. Are you trying to call a function from a function?
0そうだね
プレイ済み
返信[5]
親投稿
Chickens32 Chickens32
I know multitasking isn't possible (technically it is [SPANIM]). Did you search up Mother 3? You'll know what I mean then.
0そうだね
プレイ済み
返信[6]
親投稿
Scientist Speedy1101
Nope, forgot to. Looking it up now!
0そうだね
プレイ済み