Hi If i have bullet bill generator in level like smw has i will be happy.
Are there anyone can do it?
Hi If i have bullet bill generator in level like smw has i will be happy.
Are there anyone can do it? | ||
| ||
if you stop or move ,bullet bills are generated at either or both of most right of the screen at random y position and most left of the screen at random y position.
Did you understand? | ||
| ||
Now to get started, make 6 layers:
1. Att-Screen(Top Left) 2. Att-Screen(Left) 3. Att-Screen(Bottom Left) 4. Att-Screen(Top Right) 5. Att-Screen(Right) 6. Att-Screen(Bottom Right) Then make a script and insert this code: select case rnd case 0 to 0.33 call LSet(Att-Screen(Top Left), 3, 1) call sleep(1) call LSet(Att-Screen(Top Left), 3, 1) case 0.33 to 0.66 call LSet(Att-Screen(Left), 3, 1) call sleep(1) call LSet(Att-Screen(Left), 3, 1) case 0.66 to 0.99 call LSet(Att-Screen(Bottom Left), 3, 1) call sleep(1) call LSet(Att-Screen(Bottom Left), 3, 1) end select select case rnd case 0 to 0.33 call LSet(Att-Screen(Top Right), 3, 1) call sleep(1) call LSet(Att-Screen(Top Right), 3, 1) case 0.33 to 0.66 call LSet(Att-Screen(Right), 3, 1) call sleep(1) call LSet(Att-Screen(Right), 3, 1) case 0.66 to 0.99 call LSet(Att-Screen(Bottom Right), 3, 1) call sleep(1) call LSet(Att-Screen(Bottom Right), 3, 1) end select call sleep(264) call TCreate(RNG, 0) Now make a new event called RNG. Make it so that Level - Start triggers that event, and the event RNG activates the script. And now the last thing to do is place 6 Bullet Bill generators, each in one of the layers (Must fire with a 1 frame delay). !!! Make sure you hide the layers. And if you did everything correctly it should work. If it doesn't, then let me know. I check this forum every day. | ||
I made these layers and RNG event.Then i made level-start trigger RNG but i could not do it.(I hid these layers and made a bullet generator having 1 frame delay)
| ||
| ||
Ok i forgot it. It has mistakes.First of all thank you for interest
![]() | ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||