none
SMALL BASIC- MAKING OF GAME RRS feed

  • Question

  • Im making a shooting game and need a cover page. how do i put an image on the screen to begin the game?
    Monday, November 4, 2013 1:28 PM

Answers

  • i-need-help-with-the-bullet-hitting-one-of-my-shapes-and-it-removing-it-and-respawning-another

    I believe user jackowako18 was able to do so in the post above!  :D


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Monday, November 4, 2013 1:54 PM
    Answerer
  • You want to use GraphicsWindow.DrawResizedImage(image,x,y,width,height) Where image is the name of the picture you wanna show. Good luck!

    No movï es da casti. Movï es da movïo.

    Friday, November 8, 2013 6:59 PM
  • You can:

    1. copy the picture file into the programs directory
    2. load the image into memory
    3. draw the image on the GW

    gw = GraphicsWindow.Width
    gh = GraphicsWindow.Height
    
    picture = "Koala.jpg"  'place this file in the Programs Directory
    
    koala = ImageList.LoadImage(Program.Directory + "\" + picture)
    
    GraphicsWindow.DrawResizedImage(koala, 0, 0, gw, gh)
    or you can use: Shapes.AddImage(koala)


    Friday, November 8, 2013 9:10 PM
    Moderator

All replies

  • i-need-help-with-the-bullet-hitting-one-of-my-shapes-and-it-removing-it-and-respawning-another

    I believe user jackowako18 was able to do so in the post above!  :D


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Monday, November 4, 2013 1:54 PM
    Answerer
  • You want to use GraphicsWindow.DrawResizedImage(image,x,y,width,height) Where image is the name of the picture you wanna show. Good luck!

    No movï es da casti. Movï es da movïo.

    Friday, November 8, 2013 6:59 PM
  • You can:

    1. copy the picture file into the programs directory
    2. load the image into memory
    3. draw the image on the GW

    gw = GraphicsWindow.Width
    gh = GraphicsWindow.Height
    
    picture = "Koala.jpg"  'place this file in the Programs Directory
    
    koala = ImageList.LoadImage(Program.Directory + "\" + picture)
    
    GraphicsWindow.DrawResizedImage(koala, 0, 0, gw, gh)
    or you can use: Shapes.AddImage(koala)


    Friday, November 8, 2013 9:10 PM
    Moderator