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

Blitz Basic Programming for Beginners - Part 10

Loading...

Sign in or sign up now!
6,032
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 8, 2008

The final part in the beginners series. We add levels to our Space Invaders style game in this session. Giving you a game which is now just waiting for you to use your new programming skills to add your own ideas to.

http://dl.dropbox.com/u/8673694/You%20Tube%20Files/Blitz3D/Tutorial10.zip

http://coffeeinduced.wordpress.com - My game development blog. Includes all source code for these tutorials and media used. You can also see my current and past games projects here.


SFXR sound effects generator
http://www.drpetter.se/project_sfxr.html

Softworxs
http://www.softworxs.de/en/music.html
Where I got the MP3 from

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

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (amcadam26)

  • Hi amcadam26, thanks for the tutorial video, great stuff, learned alot. I finished all 10 videos. I was trying to add a code for imagecollide from playerls bullets with aliens bomb and delete themselves. Would this be the same as bullets imagecollide with aliens? As of now alien bombs and players bullets just goes thru each other. If you can help, if not no biggy. I'll also try to figure it out my self, but thought I'd ask. I did add alien explosion .png, cool. Thanks.

  • @iaqsuk1 Hi, yes it would be the same thing as hitting the enemy ships. Would be easy to add the check into the code that checks whether the bullets hit the enemy ships, to save cycling through all the bullets again, just add an extra loop in there to cycle through enemy bombs, then delete the bomb and bullet is they collide.

  • OMFG!!! Thank you sir!!! :)

    I will try to make game with blitz my self! :)

  • @pufixas How did it go?

  • i got your project and opened it and i run it says illegal memory address help?

  • @Austink98 probably due to location of files. You need to check that all the folders exist with the images in them. also check your blitz3D is upto date as the older blitz doesn't support png images.

see all

All Comments (33)

Sign In or Sign Up now to post a comment!
  • @amcadam26, Heres my code: ;delets bombs if collides with bullets For bombs.bomb = Each bomb bombs\y = bombs\y + 4 Next For b.bullet = Each bullet b\x = x b\y = b\y - 5 Next img_bullet = LoadImage("gfx\bullet.png") DrawImage img_bullet,b\x,b\y img_bomb = LoadImage("gfx\bomb.png") DrawImage img_bomb,bombs\x,bombs\y If ImagesCollide(img_bomb,bombs\x­,bombs\y,0,img_bullet,b\x,b\y,­0) Then PlaySound(snd_bulletbomb) Delete bombs Delete b EndIf im getting a object does not exist even it is.
  • @amcadam26

    PART 2:

    Now I looked up SFML, and it is AWESOME! Fast, simple to use, bunch of functions, alpha blending, real time rotation, and more! It's really fun..

  • @pufixas

    PART 1:

    Long story really, it's been 1 year... But you are the one who tough me game programming logic... At first was learning C++, but It was hard so I switched to Blitz, after that I made nothing good out of it, so I switched back to C++ and brought a C++ book, after I mastered the basics of C++ I found Blitz3D SDK for C++ (I made few projects, look up my channel if you are interested)

    I programmed C++ Blitz3D for quite a while, but I found that it was too basic (no alpha blending)

  • @amcadam26 It says sound doesnt exsit but it all in the folder i downloaed , the .exe works fine

Loading...
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