Added: 3 years ago
From: amcadam26
Views: 7,603
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (57)

Sign In or Sign Up now to post a comment!
  • @amcadam26 i really like your tutorials, they help alot, but i have a little problem... i made the same code as you, putted the (png)image in the same folder as the code and i think everything should be correct. But everytime i run it, it says "Image does not exist." So i ask, is it possible that the demo of blitz basic 2D (!) can't upload an image?

  • @BattlefieldHeroes36 Hi, yes the demo version I think does not handle PNG images. This is my fault for overlooking with my videos. I would advise you use BMP images if you are using the demo version of blitz basic.

  • i downloaded your file for this but its different im really struggling could you give me a file that got the same code as that?

  • you need to replace next with wend

  • I got a problem.. I tried running the program after repeating every step in this and the previous video, I got this message from the program 'Expecting Expression' why this stuff tends to happen?

  • Very well done

  • Whenever i run it it says:

    Type b not found.

  • YOU DONT EVEN EXPLAIN WHAT EVERY COMMAND MEANS!!! What does "each" mean?

  • Awesome, I have it all working except one little problem. When it deletes b after it goes off the screen, i get an error message saying image doesn't exist.

  • cool ;)

  • it says wend without while what is that?

  • @TOMMYfromPALLETtown a wend command usually follows a while command. Eg.

    while true

     do something

    wend

    wend means "while end", its simply shows the end point of the while loop. A while loop will keep looping round until the while statement is false.

  • Comment removed

  • it says expecting variable assigment what should i do ??/

  • Not enough parameters...

    STOP IT

  • Keeps saying

    "Wend without While"

    But I have both...

  • @igooog same here

  • Great tutorials, I never would have figured this stuff out on my own...

    I only really knew a bit of ActionScript... :/

  • it always says "image does not exist" o.O i even downloaded your codes but it wont work....

  • @DJStreetBeatz thats because you need to go into properties on the image and copy the location to the text field. then, put in the filename with .pgn, .tiff, ext.

  • @DJStreetBeatz make sure that you save the code into the same folder as the image file before you try to run it. Blitz will look for images in the program folder unless you tell it otherwise.

  • this is awesome, thanks for doing this.

  • how popular is blitzbasic v other 3d gaming engines?

  • not sure. But there's several thousand registered users, and I've got over 30 subscribers on my un-official blitz channel. So there's a big enough group there to support you. Really it comes down to the quality of games people produce with the language, rather than the number of people using it.

  • the max version? This is for Blitz3D or BlitzPlus, not BlitzMax, sorry.

  • move the endif from the under the update bullets section to just below the line: b\y = b\y-5, otherwise it's only updating the bullet positions when you press space bar, instead of every frame

  • there's a demo version you can download to try out, the full version is a commercial product you need to pay for, but it's well worth it.

  • I'm using the demo, and I know I am going to buy the full version as soon as I can. This program is great!

  • @igooog yeah, the thing I love about Blitz is how simple it is to get something complicated to work. You cna open a new window and display an image in just a few lines of simple code. Much easier than C++ or Java.

  • Great tutorial xD Really helpful

    But i have two problems which you might be able to help with

    When i want to move my ship, i have to keep on tapping the buttons, and when I hold the keys, it moves one, then stops =[

    and...

    My bullets dont move unless I hit the left or right keys, they dont move up on their own =[

    Thanks for the help ;) keep up the good work

  • Not a clue, sorry, I'd need to see your code to see what's wrong

  • Ive got it now lol ;)

    Have no idea what I did, but its working fine now xD

    Thanks anyways

  • will this work with 3d except instead of drawimage use copymesh? or what..?

  • no, 3D will be completely different. Because you're dealing with actual 3D objects and not just flat images.

    I'm starting making some 3D videos now so you could take a look.

  • these are the best blitzbasic tutorials on youtube!

  • Thanks mate, I try my best! :-P

  • i applause you on this series :)

  • what version of blitz3d do you have? mine has a blue backround on the code entering spot

  • Of course... You were right, and i'm doing great now. Seen all you tutorials, and sent you a message. Take a look at it ;) Great work, and thnx.

  • I'm haveing BIG trouble with this tutorials... It seems like your useing a old version of Blitz Basic. Because some of you commands don't exist in the one i got. Examples of this is: Each, i also can not use b\y because of the "\".

    I have to write x:-5 instead of x = x - 5.

    Alot of issues like this... and when i can guess what the commands are in the new blitz, i can't make it work :'( And that really sux, because you are the best explainer of blitz on youtube!

  • midhandle does also not work :( help needed

  • it sounds like you're using BlitzMax and not blitz basic, they are two different languages. I'm afraid that all my tutorials will only work in BlitzPlus or Blitz3D

  • could you tell me how you made your image with a transparent background on ms paint? i even saved my png on photoshop woth no background but i still get a white background in blitz..

    tom

  • Blitz will by default only make black backgrounds transparent. You can choose another colour to make transparent by using the maskimage command. For example maskimage(myimage,255,0,0) will make red transparent.

  • Thats not true. I have the demo and im using .PNG

  • it looks like your drawing your bullets at x,y instead of b\x,b\y so your buletts are being drawn at the same coords as the ship.

  • If I put the player.png in the directory where the blitzbasic program files and my saved projects are , it says illegal memory address...if I put it anywhere else, it says image does not exist.

  • i get the message "Type 'b' can not be found"

    when i click the rocket to run it.

  • the problem is at the end of the tutorial can you do a game on your own? i dont wanna be stuck looking foward to tutorials to make games :S like at the end will you remember all these things?

  • yes, by the end of ten tutorials, you'll have made a space invaders type game. And learnt how do draw sprites, keep scores and build simple elvel structures in the process. I'm working on further tutorials to cover how to write a platform game.

  • why thank you ;-P

    I'm adding some more tutorials soon, I've just started working on a platform game, so I'm building a level editor as well as the game.

  • mine says expecting EndIf :(

  • You're my Blitz hero :D

  • great video subscribed.

  • thanks man

  • Hey I've followed your code and tried to run it but it keeps popping up a notice saying "Expecting EndIf" though I've done everything you have and I dont know what is wrong. I am using BlitzPlus and I was wondering if it effects the code in anyway. Please help if you can and Thank You for the videos.

  • Hi, I've made the source code available to download on the linsk to the right of the video. Please download the code and check it against what you have. I've tested it in BlitzPlus and found no problems.

    Thanks for watching my videos, and let me know if there's anything you feel I could be doing better or would like to see covered.

  • make sure your slashes aren't "/" and they are "\"

  • That's right. You can get used to using / all the time, so for types, it can be hard to remember to use \ instead. For loading files you can actually use either though. But obviously you should stick to one type to keep your programming neat and clean.

  • is this it? is the blitz all you can make? or is there more things you can do... not YOU but like anyone can someone make better looking games than 2d? when you get more experienced of course :).

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