@Aardaerimus lol, i put that there to mark my position in the video for when i return haha. Thanks for your vids man, you have proven to be a foremost teacher on these subjects.
I had a feeling that it might be something like that. I know I goofed up in a few videos, and I was wondering if this was a pointer to one of those 'finer moments', but I checked at it seemed normal enough. heheh
I appreciate ya stopping by, and thank you much for the encouraging word! :-D
@fagalor I think it only matters when it comes to product distribution. In pro versions there is version control and the ability to create distribution packages (setup.msi, .exe). I don't think that you can do this in express versions, though you still can compile an .exe and distribute a project.
hey thanks for the tutorials, they are awesome, i just wanted to say, so far at least the examples don't load in visual basic 2010 express, but they do work if you just copy and paste the code :) it seems I may have to obtain the full package to use this xna however
@pheangsri It was provided by the company I work for, but I'm thinking we paid somewhere around $500 for it w/ the MSDN additions.
The nice thing about it is that you can build deployment projects that take a lot of the work out of version control and creating an exe or msi setup package. Also, I think it has more database connectivity features.
@jlt012 Usually, this means that the For X/Y loop is not propagating outward and downward properly and that all tiles are being drawn to the first square. Make certain that the destination rectangle is X * Tile size, Y * Tile size, the width is the tile size, and the height is the tile size.
@GTARockstarGamesVids There are a few different ways to toggle between the form and code screens: VIEW CODE: 1st - You can double-click your form to view your code. 2nd - From the menu bar (top), click VIEW --> CODE (F7) 3rd - Press F7 VIEW YOUR FORM: 1st - Double-click Form1.vb on the right, in the Solution Explorer panel. 2nd - From the menu bar (top), click VIEW --> DESIGNER (Shift+F7) 3rd - Shift+F7 Hope that helps. :-)
@Aardaerimus I made the entire game in VB.NET and thought, i'll try to make this in C#. So I tried to make the game by myself w/o watching your tutorial and it worked however, when i hover over the program with my mouse, the mouse icon changes to loading and i can't seem to move or resize the form. Any ideas? If you want, i can send you a link to the code on pastebin?
1.) Dim allocates memory space to a variable. Essentially, it's for creating a variable. Dim X as Integer = 2 creates a variable of an "Integer" type, and gives it a starting value of 2.
2.) Green words are comments. The compiler ignores them completely. They're used for making notes to yourself or others about what a particular section of code is used for - or anything else you want to comment about. To create a comment in you code simply start your line with a single quote '
i know nearly nothing about how to use this programm i can just imagine a little what you do there, so i wanted to ask you if you got some good sites or friends with good videos for beginners ? cause it kinda fascinating me how a programm(game) looks in the background and how some1 effects it,
Youtube has a wealth of info for the aspiring programmer. I try my best to explain things as I go. There are numerous programming languages to choose from. Some have a much better reputation for game programming (i.e., C++). Should you decide that you want to program in Visual Basic, I'd be happy to answer any questions that I can. It certainly is fascinating, and really exciting as you learn new things and overcome problems as they present themselves. :-)
my goal for this year/ next year is understanding a few things you did in this video and to understand the basics and maybe change something so i could change it from my own mind and in a way i understand.
just the idea to creat a game which is working and to wich i can add some personal ideas and giving computer orders to make this work is huge for me even if its pong or a simple programm
I could imagine for what you what did but i wouldnt be able to do
@TheOrneryNerd I think what's happening is that the form is dumping drawing resources in the middle of its draw cycle, so it tries to draw with resources that no longer exist. The easiest way to overcome this is to put your drawing routine in a Try/Catch statement. That way it'll drop out in a friendly manner when the form is closed.
@DarkDevistation5176 You certain could, though you're definitely going to need a more efficient way to handle your graphics. The method I'm using in these videos is simple but very inefficient. GDI+ paint is a real performance killer. Ultimately, you're going to want to control your video card and adapt the screen resolution for best graphics performance, so you'll probably want to use something like DirectX. XNA would be even better, but it doesn't fully support VB yet.
@LandMuffin Usually this means that your drawing loop is not drawing out the proper distance. In the dRect you should be drawing something like X * TileSize and Y * TileSize for the width and height of the tile.
The tile loop is is X = 0 to 19 and Y = 0 to 14 in this video (19:44). Follow this closely and you'll see that the rectangle is drawn at (X * 32) (Y * 32) so every time the loop steps through, the next number will move over 32 pixels and begin drawing the next square. :-D
@PcPlayer992 Hahah!! It's an ancient Dell keyboard that I salvaged because I really love the old clicky keyboards. When I'm at work I'll have to see what the model is. I have a few of them at work that I've saved for myself over the years. :-)
@PcPlayer992 Sadly, most manufacturers make "quiet" keyboards now. Nothing compares to the tactile response of the old spring-tap keyboards. They just feel good to type on.
There are still websites - like clickykeyboards (dot) com - dedicated to sales of these old keyboards, and you can probably find them on ebay.
The old connectors are PS/2, so you'll probably want a PS/2 to USB adapter. :-)
Hey I liked your tutorial and where it was going. I had problems with getting DrawGraphics to work. I have no idea what the problem might be. I made a video response with a little bit more detail.
@the1000th1 Sounds to me like you may be opening the solution in C# instead of the VB environment.
I don't believe you'll see any C include files if you open MyGame.sln from the folder. Of course it may be that you have the C# set as your default editor for .SLN (solution) files, in which case, you'll need to open Visual Basic first then load the project from there.
Really helpful with creating a View your FPS, for performance issues. plus if you don't a bug during testing it isn't a "Kewl" tutorial because most of us have one during a 1st Trial anyways.. Thanks for Sharing the wisdom.. :)
19:19
T3RRABYT3 1 week ago
@T3RRABYT3 *blink blink*
:-O
Aardaerimus 6 days ago
@Aardaerimus lol, i put that there to mark my position in the video for when i return haha. Thanks for your vids man, you have proven to be a foremost teacher on these subjects.
T3RRABYT3 5 days ago
@T3RRABYT3 Ahhhh lol
I had a feeling that it might be something like that. I know I goofed up in a few videos, and I was wondering if this was a pointer to one of those 'finer moments', but I checked at it seemed normal enough. heheh
I appreciate ya stopping by, and thank you much for the encouraging word! :-D
Aardaerimus 5 days ago
My tick counter is stuck at 0 and doesn't move when i press play. any ideas why this might happen or what I did wrong?
eagle7032 3 weeks ago
@eagle7032 Feel free to PM me with your code and I'll check it out and see what's going on. :-)
Aardaerimus 2 weeks ago
does express or pro matter?
fagalor 1 month ago
@fagalor I think it only matters when it comes to product distribution. In pro versions there is version control and the ability to create distribution packages (setup.msi, .exe). I don't think that you can do this in express versions, though you still can compile an .exe and distribute a project.
Aardaerimus 1 month ago
Cant start it cuz tthe MaxTicks is not declaired it says...
rockeskolen 1 month ago
@rockeskolen Did you declare it :P
LoopyStudios 1 month ago in playlist More videos from Aardaerimus
@LoopyStudios hehe,, found the problem, =) Nvm. Nice guide!
rockeskolen 1 month ago
OH I LOVE YOU!!! These tutorials are wathever i need now! Thanks a lot!!!!!!
KaraOP 2 months ago in playlist Visual Basic Game Programming Tutorials For Beginners
@KaraOP Hahah! Always a pleasure, Kara!!! I'm glad you're finding it helpful. :-D
Aardaerimus 2 months ago
Man you are amazing, I'm really happy because i found this video. Thank you very much. For people like me, who are begginning, is nice.
ThomyKz4 2 months ago
@ThomyKz4 Always a pleasure, my friend! I'm glad that you found the videos to be helpful. I appreciate the positive feedback, too! :-D
Aardaerimus 2 months ago
hey thanks for the tutorials, they are awesome, i just wanted to say, so far at least the examples don't load in visual basic 2010 express, but they do work if you just copy and paste the code :) it seems I may have to obtain the full package to use this xna however
DarkShroom 2 months ago
how much did you pay for visual studio 2010 pro?
pheangsri 2 months ago
@pheangsri It was provided by the company I work for, but I'm thinking we paid somewhere around $500 for it w/ the MSDN additions.
The nice thing about it is that you can build deployment projects that take a lot of the work out of version control and creating an exe or msi setup package. Also, I think it has more database connectivity features.
Aardaerimus 2 months ago
@Aardaerimus
hm, yeh... btw, express can only create unmanaged exe right? .NET
pheangsri 2 months ago
how did the make Pokemon DoD , i really want to code a game like that
TutsModding 2 months ago
I....I just learned how to make progress bar....ahhhh
elmobb224 2 months ago
I finnished the coding and debugged it but only one square shows up.. any ideas?
jlt012 2 months ago in playlist More videos from Aardaerimus
@jlt012 Usually, this means that the For X/Y loop is not propagating outward and downward properly and that all tiles are being drawn to the first square. Make certain that the destination rectangle is X * Tile size, Y * Tile size, the width is the tile size, and the height is the tile size.
For example, in your drawing loop:
(Using a tile size of 32)
For X = 0 to 5
For Y = 0 to 5
dRect = new Rectangle(X * 32, Y * 32, 32, 32)
G.DrawYourStuffHere(imagetodraw,dRect,sRect,etc...)
Next
Next
Aardaerimus 2 months ago
got as far as drawing the window and changing the size but then you switched to the coding and i could find out how to get to that part :(
liamheffernan2006 2 months ago
@liamheffernan2006 Hello :-)
Which video did you get stuck in? I'll be happy to help if I can, or at least point you in the right direction.
Aardaerimus 2 months ago
@Aardaerimus 02:20, don't know what you did there, how you switch to that screen?
GTARockstarGamesVids 2 months ago
Aardaerimus 2 months ago
@Aardaerimus I made the entire game in VB.NET and thought, i'll try to make this in C#. So I tried to make the game by myself w/o watching your tutorial and it worked however, when i hover over the program with my mouse, the mouse icon changes to loading and i can't seem to move or resize the form. Any ideas? If you want, i can send you a link to the code on pastebin?
ImmaAnime 1 month ago
@GTARockstarGamesVids Just doubleclick on the form.
ImmaAnime 1 month ago
Subscribed,Liked,Favorited and Commented?
Susurlauks 3 months ago in playlist Visual Basic (VB) Game Programming Tutorials For Beginners
@Susurlauks Thank you, Susurlauks! Happy to have you along. :-)
Aardaerimus 3 months ago
hi, thx for the great tutorial. i made a little game, based on your tutorials :)
look for:
Self made game in visual basic.net with code & download - "CatchtheX"
jordman001 3 months ago
Comment removed
jordman001 3 months ago
@Rokjorlaif
ty
assassin132132 3 months ago
im newble and have some questions about this part:
1st.what mean Dim?
2nd. the green words are commands or something other
im intisted
assassin132132 3 months ago
@assassin132132
1st it is like ("this word-> dim" G as ...
2nd yes
Rokjorlaif 3 months ago
@assassin132132
1.) Dim allocates memory space to a variable. Essentially, it's for creating a variable. Dim X as Integer = 2 creates a variable of an "Integer" type, and gives it a starting value of 2.
2.) Green words are comments. The compiler ignores them completely. They're used for making notes to yourself or others about what a particular section of code is used for - or anything else you want to comment about. To create a comment in you code simply start your line with a single quote '
Aardaerimus 3 months ago
Comments Remove
Ranjhamovies 4 months ago
Comment removed
Ranjhamovies 4 months ago
Comment removed
Ranjhamovies 4 months ago
I gave u 45 like,even if i don't like your video it's tooooo long
make it shorter
zongivila 4 months ago
Thank you very much.
MrPancakez 5 months ago
@Aardaerimus
i know nearly nothing about how to use this programm i can just imagine a little what you do there, so i wanted to ask you if you got some good sites or friends with good videos for beginners ? cause it kinda fascinating me how a programm(game) looks in the background and how some1 effects it,
friebender 5 months ago
@friebender Hi there, Friebender! :-)
Youtube has a wealth of info for the aspiring programmer. I try my best to explain things as I go. There are numerous programming languages to choose from. Some have a much better reputation for game programming (i.e., C++). Should you decide that you want to program in Visual Basic, I'd be happy to answer any questions that I can. It certainly is fascinating, and really exciting as you learn new things and overcome problems as they present themselves. :-)
Aardaerimus 5 months ago
@Aardaerimus thanks for the nice answer
my goal for this year/ next year is understanding a few things you did in this video and to understand the basics and maybe change something so i could change it from my own mind and in a way i understand.
just the idea to creat a game which is working and to wich i can add some personal ideas and giving computer orders to make this work is huge for me even if its pong or a simple programm
I could imagine for what you what did but i wouldnt be able to do
friebender 5 months ago
I get error "can't accsess disposed object" error at:
BBG = Me.CreateGraphics
everytime I close the form.
used the exact same code as you did
TheOrneryNerd 5 months ago
@TheOrneryNerd I think what's happening is that the form is dumping drawing resources in the middle of its draw cycle, so it tries to draw with resources that no longer exist. The easiest way to overcome this is to put your drawing routine in a Try/Catch statement. That way it'll drop out in a friendly manner when the form is closed.
Aardaerimus 5 months ago
Can you make a mmorpg in visual basic.
DarkDevistation5176 5 months ago
@DarkDevistation5176 You certain could, though you're definitely going to need a more efficient way to handle your graphics. The method I'm using in these videos is simple but very inefficient. GDI+ paint is a real performance killer. Ultimately, you're going to want to control your video card and adapt the screen resolution for best graphics performance, so you'll probably want to use something like DirectX. XNA would be even better, but it doesn't fully support VB yet.
Aardaerimus 5 months ago
Hi When I run the Program it doesn't Show The Ticks or TPS
BigtallWhiteGuy 5 months ago
@BigtallWhiteGuy Hey there! Feel free to send me a message with your source code and I'll be happy to try and help out. :-)
Sounds to me like your backbuffer may not be drawing properly or is not looping.
Aardaerimus 5 months ago
when i ran it it only showed 1 square please HELP! (love the vid too)
LandMuffin 5 months ago
@LandMuffin Usually this means that your drawing loop is not drawing out the proper distance. In the dRect you should be drawing something like X * TileSize and Y * TileSize for the width and height of the tile.
The tile loop is is X = 0 to 19 and Y = 0 to 14 in this video (19:44). Follow this closely and you'll see that the rectangle is drawn at (X * 32) (Y * 32) so every time the loop steps through, the next number will move over 32 pixels and begin drawing the next square. :-D
Aardaerimus 5 months ago
Wow, i really like the sounds when you're typing cause my keyboard keep silent when i typed. What's the name of your keyboard?
PcPlayer992 6 months ago
@PcPlayer992 Hahah!! It's an ancient Dell keyboard that I salvaged because I really love the old clicky keyboards. When I'm at work I'll have to see what the model is. I have a few of them at work that I've saved for myself over the years. :-)
Aardaerimus 6 months ago
@PcPlayer992 I found an old one in my house! It's an old Dell keyboard. Model: AT101W
I hope this helps! :-D
Aardaerimus 6 months ago
@Aardaerimus "old Dell keyboard", meaning that it's not available at the stores now? and does it use USB Port?
PcPlayer992 5 months ago
@PcPlayer992 Sadly, most manufacturers make "quiet" keyboards now. Nothing compares to the tactile response of the old spring-tap keyboards. They just feel good to type on.
There are still websites - like clickykeyboards (dot) com - dedicated to sales of these old keyboards, and you can probably find them on ebay.
The old connectors are PS/2, so you'll probably want a PS/2 to USB adapter. :-)
Aardaerimus 5 months ago
@Aardaerimus how much does it cost if i buy the old keyboard and the ps/2 to usb adapter?
PcPlayer992 5 months ago
Hey I liked your tutorial and where it was going. I had problems with getting DrawGraphics to work. I have no idea what the problem might be. I made a video response with a little bit more detail.
Designartseller 6 months ago
nice men , !!!!
abdoulila13 7 months ago
k ill give it a try
the1000th1 7 months ago
when i view the source code, it shows the .f (form1.h) code and it's very confusing how do u get urs to (.vb) ? pllease help!
the1000th1 7 months ago
@the1000th1 Sounds to me like you may be opening the solution in C# instead of the VB environment.
I don't believe you'll see any C include files if you open MyGame.sln from the folder. Of course it may be that you have the C# set as your default editor for .SLN (solution) files, in which case, you'll need to open Visual Basic first then load the project from there.
Aardaerimus 7 months ago
Best Tutorial I've seen so far :) thanks a lot!!! subscribed!!!
ThaAfricanGamer 7 months ago
im watching this and copying it hope i can learn to make my own games!!
burningac64 7 months ago
@burningac64 Hey there. Glad you stopped by. :-) I hope you find it helpful, too.
Aardaerimus 7 months ago 2
wow that's great!!
jackson39ful 8 months ago
How have you done to your video q has more than 10 minutes?
jackson39ful 8 months ago
@jackson39ful I'm really not sure what changed, but YouTube just decided to let me post longer videos, one day. :-D
Aardaerimus 8 months ago
Really helpful with creating a View your FPS, for performance issues. plus if you don't a bug during testing it isn't a "Kewl" tutorial because most of us have one during a 1st Trial anyways.. Thanks for Sharing the wisdom.. :)
waldtbc 9 months ago
thanks. this was a great intro to programming a vb game.
atk326 9 months ago
@atk326 Thank you for stopping by. I appreciate the comments. :-)
Aardaerimus 9 months ago