MSDN > Home page del forum > Small Basic > Small Basic Gorillas
Formula una domandaFormula una domanda
 

Discussione generaleSmall Basic Gorillas

Tutte le risposte

  • domenica 17 maggio 2009 8.13bigdaddyo Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Haha that's great!  I remember this, really nice job!  Options and fades, wow.  Lotta work there.  I need an any key too.  Poor sun...

    One little bug, often when it starts it only lets you control player 2 on the right side, and he can only shoot right.  My any key was spacebar, sometimes enter, sometimes arrows.
  • domenica 17 maggio 2009 9.23Vijaye RajiMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Nice game, RushWorks.  Amazing amount of work you have put in there.

    I believe you've hit the limits of Publish feature's program size.  I have just increased the max limit to accomodate your program.  Please go ahead and try again.

    Also, if you were to upload these resources to a web location, you wouldn't have to ship out a Zip file.  I've uploaded all the .bmp files to http://smallbasic.com/drop/gorilla/, but for some reason my web host doesn't support download of .wav files. 

    When I played the game, I hit the same issues that bigdaddyo hit.
  • domenica 17 maggio 2009 13.46RushworksPostatoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    One little bug, often when it starts it only lets you control player 2 on the right side, and he can only shoot right. 
    My original gorilla.sb file did not have this bug (same code though).  After I used the published version, I noticed it too.
    I was using the original QB code to swap the thrower, 
          Thrower = Math.GetRandomNumber(2)
          J = Thrower
          J = 1 - J
          Thrower = J + 1
          TargetGorilla = 3 - J
    I've changed to this now
          Thrower = Math.GetRandomNumber(2)
          Thrower = 3 - Thrower
          TargetGorilla = 3 - Thrower


    My any key was spacebar, sometimes enter, sometimes arrows.
    I haven't had a problem with this.  I did have trouble with sounds playing at the correct time. I changed some Sound.Plays to Sound.PlayAndWait and it results in having to wait for the sound to finish before the keypress is recognized.


    I believe you've hit the limits of Publish feature's program size.  I have just increased the max limit to accomodate your program.  Please go ahead and try again.
    http://smallbasic.com/smallbasic.com/program/?NLQ667-0
    Note: You need to uncomment one line
          ' The following line could be harmful and has been automatically commented.
          '   File.GetFiles(Path, FileArray)
     
  • domenica 17 maggio 2009 17.05bigdaddyo Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Works great now.  I indicated my 'any key' thinking maybe pressing it to get past intro screens might have leaked into the game causing it behave strange, but looks like you found the problem.  I'm going to try to bring back an old game from the dead maybe this week, never before seen in basic (that I know of).

    This is a great game for kids to learn angles, and maybe optimal ballistic missile trajectories haha.
  • sabato 13 giugno 2009 1.57bigdaddyo Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Found a new bug, if you drill through the earth with bananas it crashes hehe

  • sabato 13 giugno 2009 3.37RushworksPostatoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    A simple check for the banana below the ground level in the DoShot subroutine fixes it.

        If (BananaY > GroundLevel) Then
          WhatWasHit = "OutOfBounds"
          OnScreen = "False"
        EndIf

    Gorilla v1.1
    http://smallbasic.com/smallbasic.com/program/?NLQ667-1

  • venerdì 19 giugno 2009 3.02Vijaye RajiMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Rushworks,

    Could you get this updated for v0.5?  I'd like to publish this as our sample of the week.

    Thanks.
  • giovedì 25 giugno 2009 3.03RushworksPostatoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Gorilla v2.0
      http://smallbasic.com/smallbasic.com/program/?NLQ667-2

    Sound files can be found at
      http://code.msdn.microsoft.com/SmallBasicGorillas


    Sorry for the delay, I am having trouble with my computer and internet.

    After version 0.5 of SB came out, I had decided to redesign the code for SBGorillas.
    Some code was unnecessary, some was experimenting with the compiler, other changes were just new ideas/different approaches I thought of trying.

    While the gameplay is the same, some new features were not working correctly and were removed or commented out.  I hope to correct these but I don't expect it will be anytime soon.

     

  • mercoledì 1 luglio 2009 16.02Vijaye RajiMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Gorillas is Sample of this week.  Congratulations Rushworks.

    http://blogs.msdn.com/smallbasic/archive/2009/07/01/sample-of-the-week-gorillas.aspx
  • giovedì 2 luglio 2009 0.09GARussell Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    I remember the game also, but it's been so long I forgot the keys for throwing the banana. Is there instructions somewhere?

    Glenn