@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 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?
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.
@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.
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.
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
@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.
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!
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..
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.
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.
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.
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.
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 :).
@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 1 week ago in playlist Beginners Guide to Blitz Basic
@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.
amcadam26 1 week ago
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?
TheShahzeab 2 months ago
you need to replace next with wend
StickRunHackz 3 months ago
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?
MrTheflashback 4 months ago
Very well done
Darrengb 8 months ago
Whenever i run it it says:
Type b not found.
jkurtzman1 1 year ago
YOU DONT EVEN EXPLAIN WHAT EVERY COMMAND MEANS!!! What does "each" mean?
pufixas 1 year ago
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.
Broly17 1 year ago
cool ;)
TheMessi10ever 1 year ago
it says wend without while what is that?
TOMMYfromPALLETtown 1 year ago
@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.
amcadam26 1 year ago
Comment removed
TOMMYfromPALLETtown 1 year ago
it says expecting variable assigment what should i do ??/
dudecarzy123 1 year ago
Not enough parameters...
STOP IT
igooog 1 year ago
Keeps saying
"Wend without While"
But I have both...
igooog 1 year ago
@igooog same here
TOMMYfromPALLETtown 1 year ago
Great tutorials, I never would have figured this stuff out on my own...
I only really knew a bit of ActionScript... :/
igooog 1 year ago
it always says "image does not exist" o.O i even downloaded your codes but it wont work....
DJStreetBeatz 2 years ago
@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.
LimeOperatingSysytem 2 years ago
@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.
amcadam26 1 year ago
this is awesome, thanks for doing this.
Globox822 2 years ago
how popular is blitzbasic v other 3d gaming engines?
tedjordan806 2 years ago
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.
amcadam26 2 years ago
the max version? This is for Blitz3D or BlitzPlus, not BlitzMax, sorry.
amcadam26 2 years ago
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
amcadam26 2 years ago
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.
amcadam26 2 years ago
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 1 year ago
@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.
amcadam26 1 year ago
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
NellySnakez 2 years ago
Not a clue, sorry, I'd need to see your code to see what's wrong
amcadam26 2 years ago
Ive got it now lol ;)
Have no idea what I did, but its working fine now xD
Thanks anyways
NellySnakez 2 years ago
will this work with 3d except instead of drawimage use copymesh? or what..?
utohaha 3 years ago
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.
amcadam26 3 years ago
these are the best blitzbasic tutorials on youtube!
jasongosen 3 years ago 3
Thanks mate, I try my best! :-P
amcadam26 3 years ago
i applause you on this series :)
NickJanosky 3 years ago
what version of blitz3d do you have? mine has a blue backround on the code entering spot
rocktheworld2k6 3 years ago
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.
einarmagnus 3 years ago
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!
einarmagnus 3 years ago
midhandle does also not work :( help needed
einarmagnus 3 years ago
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
amcadam26 3 years ago
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
kumitetom 3 years ago
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.
amcadam26 3 years ago
Thats not true. I have the demo and im using .PNG
Goldragon83 3 years ago
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.
amcadam26 3 years ago
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.
Lugbash24 3 years ago
i get the message "Type 'b' can not be found"
when i click the rocket to run it.
joewizard100 3 years ago
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?
Dwalimz 3 years ago
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.
amcadam26 3 years ago
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.
amcadam26 3 years ago
mine says expecting EndIf :(
Dwalimz 3 years ago
You're my Blitz hero :D
ownagenewb111 3 years ago
great video subscribed.
BlitzHitz 3 years ago 3
thanks man
TRUXCENTAURO 3 years ago
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.
TheLividePianoist 3 years ago
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.
amcadam26 3 years ago
make sure your slashes aren't "/" and they are "\"
Willer17Productions 3 years ago
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.
amcadam26 3 years ago
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 :).
Dwalimz 3 years ago