How do I reset the game with default settings/use power ups for my game/apply combo or bonus points?

djdeedjdee Member Posts: 180
hi,
am creating a game with lots of power ups(attributes)i have scenes in order
1)start up screen
2)menu screen
3)game screen
4)game over screen
on the last scene i have replay button where i would like to have the "game screen" to b appeared with default settings. but instead 1st scene appears. i want even the score to b bought to zero. for powers like blast effect am using 1 of ur video as a guide but instead of using the change velocity effect behavior i use destroy behavior. video which am using is.

am i doing it correct??
and can u also show how a player can get combo points or bonus points when he/she kills a certain no. of enemies in a single shot.
pls help me.
thank you

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited March 2012
    You need to use the change scene attribute in the replay button and have a rule when touch is pressed go to scene game and also put a change attribute score to 0. For the last part you should have an instructions menu telling the player about achievements.
  • djdeedjdee Member Posts: 180
    hey fryingBaconStudios
    thanks a lot. i got throw the scoring part, but i have no idea how to do the power up part (the blast effect). once i use it and i come back after clicking replay button it still kills some of my spawning actors. i use the same settings as shown in the above video. but instead of using the change velocity effect behavior i use destroy behavior. and what i meant with the combo score part was, how do i calculate it. what settings do i use to give away a bonus score when a person kills 2 or more enemies in a single shot.
  • djdeedjdee Member Posts: 180
    and there is another problem. i want my actor to die after i click on it thrice. can u help me out with this .
    thank u :)
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited March 2012
    First you need game level attributes to track when a combo happens so say you have an attribute (integer) Game_Combo and have the events that trigger it add to it. So for instance a rule that says when actor Ship is destroyed (Change Attribute) game.combo to game.combo+1. So now you have a rule that says when (Attribute) game.combo = say 3 (change attribute) game.score to game.score * game.combo. It's the same pricibles you use for scoring just charting and linking attributes and telling them when to do what when. Don't be fooled by Gs's GUI you still have to assign and store information using attributes, it still all logic. You have to tell the computer to do what and with what and when. No offence but I'm not going to build your game for you, Just keep watching the videos and reading the cook book and read this, it's something I wrote for new users.

    Although Gamesalad is an easier to use tool than coding, it still takes a lot of effort and learning to use it in a powerful way. Yes, in a few minutes in the software, one can easily create an actor and drag in a spaceship make it move around et… but to really harness the power of the software it takes months of dedicated learning using the vast resources provided by Gamesalad and the many dedicated community members.

    When I first started using GS, I never visited the forums, I spent months watching the videos, taking notes and experimenting with the software. I didn't try to reinvent the gaming industry with my first apps but created basic stuff as learning examples for myself. It was a progression of learning and developing until I was ready to take on building an app for public consumption. This is how I do things as I believe a self reliant disposition is the only one that will fuel one on to success.

    As I watched the videos, I began to realize, when I stepped back that the videos weren't just teaching me how to make a heath bar but how to manipulate specific sections of code and attributes. For example, in making a health bar you learn how to create a specific type of attribute and learn why you use that type, integer, over a text or index attribute. It also teaches you how to shrink and grow and actor. Those of you may be saying it only shows you how to grow and actor but if you're learning the process you reconcile that by simply REVERSING the process and thereby shrink the actor. This type of learning is about how one prepares themselves for learning. As a person with two college degrees and in both I acquired a GPA of 3.96 in one and 3.55 in the other, I know first hand that academic environments do their damnedest to beat and downgrade self exploration of learning material. What they don't teach you is how to learn. If you can learn how to learn you will stand a much greater chance of success in life. So the next time you watch a video or read how to do something in GS ask yourself this simple question; "How can I apply this code or techniques to other things?" This line of thinking will being to help you understand and self discover how to learn.

    Nobody can and will do everything for you and yes it's hard work to learn things like GS but with consistent effort, thought and hard work you'll get there. It took me spending months of dedicated studying and after about 9 months I felt, to use a sports analogy, that the game slowed down for me and that I was in control of the software and fully able to develop and construct my own complex solutions to problems yet undiscovered or undocumented.

    Keep working hard, have patience, no you won't change or define the game industry with your first attempts but it's a process and those who keep working the process will in the end, if they posses the talent along with the work ethic, make great games.



    Gleeson Group Media
    UNoffical Gamesalad Guide
    FREE and easy to use. Contains all well done video tutorials for Gamesalad. Now with Android Publishing Series!

    Check out my loops in the GS Marketplace and watch for my real particle effects COMING SOON!
  • djdeedjdee Member Posts: 180
    thank u ... :)
  • thelgithelgi Member Posts: 2
    I've been having similar reset issues:

    - When player dies or wins, they're taken to scene with the option to play again. In the play again button I have created a rule that when the button is pressed, it will change the score attribute to =0. However, when I press the button my old score remains.

    But... if I put change the score to +1000, it restarts the game with the added 1000 points. So is there some specific way I should be typing my return to 0 command?
Sign In or Register to comment.