12-17-2020, 07:59 PM
(This post was last modified: 12-17-2020, 08:05 PM by goh. Edited 1 time in total.)
(12-17-2020, 07:55 PM)Pedigree Wrote: In the step event:
Code:if item = 0 {
sprite_index = bubble_empty;
//any additional code like if you want an empty bubble to float faster since nothing is in it.
}
if item = 1 {
sprite_index = bubble_shroom;
//any additional code.
}
if item = 2 {
sprite_index = bubble_fflower;
//any additional code.
}
and so on. Your sprite names may be different.
I'm using Hello Mario Engine. So you know.
(12-17-2020, 07:59 PM)goh Wrote:Wait a minute, I'm talking about SMA1 solid bubbles, the ones that are hit by veggies! Not SMW bubbles.(12-17-2020, 07:55 PM)Pedigree Wrote: In the step event:
Code:if item = 0 {
sprite_index = bubble_empty;
//any additional code like if you want an empty bubble to float faster since nothing is in it.
}
if item = 1 {
sprite_index = bubble_shroom;
//any additional code.
}
if item = 2 {
sprite_index = bubble_fflower;
//any additional code.
}
and so on. Your sprite names may be different.
I'm using Hello Mario Engine. So you know.