none
Small Basic : Simple Shooting Game RRS feed

  • General discussion

  • Hi ,

    Download Source = https://gallery.technet.microsoft.com/Small-Basic-Shooting-Game-e5e4bbcc

    The Shooting Cursor is Red Color "+".

    I made a simple shooting game using small basic v1.2.

    Program Name - shooting game

    Type - Simple

    A Simple Shooting game to understand the concept of collision.
    Needs To Be Compiled Before Running, Because it needs LD Extension
    Contents
    1) sb file - shooting game without images
    2) pdb file - shooting game without images
    3) exe file - shooting game without images
    1) sb file - shooting game with images
    2) pdb file - shooting game with images
    3) exe file - shooting game with  images
    4) png file - untitled
    Controls
    --Left or Right mouse button to shoot
    --Any key To Show score

    Screen Shots

    Shooting game without Images

    Shooting game with images

    Thanks,


    Roshan - 7th Grade Student (Age 11) - Learning Small Basic

    Friday, November 3, 2017 6:01 AM

All replies

  • Hi Team,

    Kindly provide feedbacks , comments , bugs , suggestions for improvements.

    Thanks,


    Roshan - 7th Grade Student (Age 11) - Learning Small Basic

    Friday, November 3, 2017 6:06 AM
  • Line 20  (deleted -50)

    Shapes.Move(shooter,GraphicsWindow.MouseX,GraphicsWindow.mousey) '<---

    Collision check , position ,avoid double erasing.

    If minecraftX+4 >= enemyx[i] And minecraftX <= enemyx[i] + 50 Then '<--
       If minecraftY+4 >= enemyy[i] And minecraftY <= enemyy[i] + 50 Then'<--
        score = score + 10
        Sound.PlayBellRing()
        Shapes.HideShape(enemy[i])
        enemyx[i]=0'<--
        enemyy[i]=0'<--
        i= Array.GetItemCount(enemyx)'<--
       EndIf
      EndIf

    Saturday, November 4, 2017 2:01 AM
    Answerer
  • Hi ,

    Thanks, For providing your feedback.

    I updated the Shooting game to v1.1

    *Mouse cursor moves perfectly.

    *Avoided double erase.

    Download Source = https://gallery.technet.microsoft.com/Small-Basic-Shooting-Game-e5e4bbcc

    Thanks,


    Roshan - 7th Grade Student (Age 11) - Learning Small Basic

    Saturday, November 4, 2017 5:28 AM