Girl Scout Silver Award project help needed

dragonlilidragonlili Member Posts: 3
edited February 2015 in Working with GS (PC)

I am a Girl Scout working on my Silver Award to educate people about bats. I am creating a bat game app and could use some help with understanding how to code the game the way I want it. I am trying to make facts pop up at the end of each level but make the pattern of them random. I don't know how to do this, so if someone would be willing to help me out, I would really appreciate it!

Thanks!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2015

    This subforum is for recruiting people to join a team or for hiring people to work with you. I can move this to Working with GS (Mac) or (PC)... which are you using? Are you familiar with tables, because you'll need to set up a table with each of your facts in a separate row and then pick a row at random to display. Another method would be to create an image for each fact that then includes the text of that fact and just select an image at random. Which method do you prefer?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • RPRP Member Posts: 1,990

    Viva la Pipistrelli! I did a mini documentary about bats in northern Italy a few years back (migration patterns from Italy to Germany). Cool little dudes. Between what is available for online tutorials and the resources/advice you can get on the threads, you'll have more than enough to make and interesting entry for your badge. Good luck!

  • dragonlilidragonlili Member Posts: 3

    @tatiang said:
    This subforum is for recruiting people to join a team or for hiring people to work with you. I can move this to Working with GS (Mac) or (PC)... which are you using? Are you familiar with tables, because you'll need to set up a table with each of your facts in a separate row and then pick a row at random to display. Another method would be to create an image for each fact that then includes the text of that fact and just select an image at random. Which method do you prefer?

    I am using a PC. The other way that you suggested, with the pictures, is what I'm trying to do.

    I need someone to help me for the award requirements, so any help would be appreciated.

    Thank you!

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    I did something similar in my game Owls I made a few years ago. In my game after completing a level I wanted to display a fact about Owls.

    The first thing I did was compile a bunch of facts, I ended up with 85 of them.

    I then made graphics for each one (see example below)

    In the game I wanted them to show up randomly, so what I would do is this:

    create an actor called batFacts and create a rule that says

    changeImage to "batfact"..random(1,X)

    where X is the number of facts you have

    when game is over

    spawn actor batFacts in the middle of the screen and it should randomly display the image.

    The important thing is that your image files MUST be named like this:

    batfact1.png
    batfact2.png
    batfact3.png
    ...
    batfact30.png

    as long as you follow these basic steps you should be in a good place

  • dragonlilidragonlili Member Posts: 3

    Thank you so much!

Sign In or Register to comment.