Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Blitz Basic Programming for Beginners - Part 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
10,037
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 29, 2008

Part 3 of the Blitz Basic programming for beginners series.

This session deals with double buffered graphics for smooth movement, loading a graphic to display on screen and moving that graphic across the screen.

Links:
http://www.blitzbasic.com - Official Blitz Basic Website, buy BlitzBasic here and access the forums.

http://coffeeinduced.wordpress.com - My game development blog. You can also see my current and past games projects here.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (amcadam26)

  • Okay I got my animate.bb and my png image in the same folder, saved before running it, also checked that the names match on the code and on the file name, but it says "image could not be found" and says it's this that causes it:

    DrawImage img_object,x.y on the code.. how come this be possible, while everything is correct?

  • @MrTheflashback check your version of blitz3D, png image loading got introduced after the first version. Change the image to a bmp image if need be.

  • Would you recommend me to do computing in college which which contains programming? Is it difficult? Thanks!

  • @BengizSJ programming not difficult, it's all about problem solving, the coding side of it's normally pretty straight forward. It's just figuring out how to get round the problems you have, being good at maths helps.

  • Help!!! when i test it it says: Image does not exist. what is wrong? i typed: Graphics 640,480,16,2 img_object = LoadImage("Bildtilltest.png") x = 50 y = 350 SetBuffer BackBuffer() For z = 0 To 300 Cls DrawImage img_object,x,y x = 50 + z Flip Next End is it somthing wrong?
  • @alexrenfors you need to make sure the image in the same folder as the code. Save the code to the folder where the image is and then run it. Otherwise, check that you have the latest version of Blitz, older versions do not support png format images.

see all

All Comments (64)

Sign In or Sign Up now to post a comment!
  • @MrTheflashback it could be that you did x.y instead of x,y?

  • SOOO COMPLICATED!! I CAAAN'T UNDERSTEAND ANYTHING!

  • @amcadam26 What grade at GCSE would be ok for me to attempt programming. Currently I am at a grade B and quite close to an A.

  • @19frank07 Make sure the image is saved in the same folder as the program.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more