spawning different bullets with power ups

bobzAppsbobzApps Member Posts: 22
edited November -1 in Working with GS (Mac)
HI!

I have a question and would love if someone could help me out.
I have a power up and if he gets this power up the original bullet is changed to a more powerful bullet.

I have an actor for the bullet and the better bullet, how would i go about making this happen?

Thanks for all your help!

Comments

  • KrogothicKrogothic Member, PRO Posts: 123
    You can have a Boolean Rule to set to true when he gets his power up, then have an attribute check to see if its true or not then make the change.

    Krogothic
  • ARandomDayARandomDay Member, PRO Posts: 124
    If you are spawning the (simple)bullet from the players actor...then just build in an integer value.
    So something like this rule.....
    if (integer) "bullettype" = 0 then spawn "simple bullet", and another rule that says if "bullettype" = 1 then spawn "better bullet".

    Have the pick up / power up change the attribute value of the game integer when the player picks it up.

    This way rather than being limited to just 1 or two values (two different types of bullet) you have have as many as the integer system allows for future expansion.

    I have a shoot 'em up template for sale that has this in (dont worry im not trying to sell ti to you - unless you want it) but if you are struggling feel free to email me at damien@arandomday.com and I'll send you a basic template that shows how to do this for free.

    Damo
  • UtopianGamesUtopianGames Member Posts: 5,692
    You don't have to change actor you could just swap image (and size if needed) and any power attributes you have.



    Darren.

    http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./Home.html
Sign In or Register to comment.