#17 Learn Small Basic Programming - Creating A Maze Game
Вставка
- Опубліковано 18 гру 2024
- This video series is designed to help introduce beginners to programming using Small Basic.
In this episode we'll be creating a maze game in which the player will use the keyboard to control their sprite moving on the screen to solve a maze. We'll look at a wide range of programming techniques, including arrays, string manipulation, nested iteration, Boolean logic, selection statements and even using a spreadsheet to help us convert a drawn maze into code.
Hi Justin, thank you for your Small Basic course. I finshed the last session today and enjoyed learning the basics of this programming language with you. It would be nice if you could offer more tutorials. You're doing really well.
Justin I had a project and because of you I was able to understand give the test for making a game like this keep up the good work
Hello, I really want to see other videos. I hope that you will continue in this serie. I am learning it, becasue we will learn this the next year in the school. Could you in one time turn how to plays some music and other with that?(I don't know how to stop music when you click on the button. I tryed it , and it was error. My english is not very well sorry. Tank you so much😉
Hopefully this account blows up again
Your a good teacher mate. i understand all over. thanks for this another learning mate, keep it up god bless
Sir , please tell us some projects we should do
It weird, up to now, I understood everything going on, but now, at the getpixel part with the coordinates, I just couldn't figure out what was going on, and it feels bad to leave it unsolved :( also, what is the hex for the color darkgray?
good morning, i am making a project for school and i do not know how to program much but may i use this code for the project?
Are you a teacher? A student? If my video is helpful to you then of course, please feel free to use my code (as long as I'm not just doing your homework for you!)
@@TheTechTrain I am a student, thank so much!
Glad to be of help! Good luck with your project. 👍
@@TheTechTrain Hello may i have the code to import it.? since im in hurry im the leader of this project and i have slept without knowing i havent finshined this, ive been almost late but it's okay not to!
I'm afraid I don't have the code in a text format - I'd have to copy it from the video myself. As it's midnight here in the UK I've switched the computer off for the day. When do you need the code for?
I have a question again, as I had in tutorial 16. Whenever I run the program it appears like upside-down. I experimented many times but can,t get the solution. Will you help me please ? I humbly request you again.
I think I have fixed the problem myself but there's still one. Whenever I run the program after the 1st level 2nd level gets repeated and I can't reach the 3rd level. I have checked the code many times and have not put any loop but still the 2nd level gets repeated. Is there any way send some pictures so that you can have an idea?
The code is MJT561. Please have a look at it 😊
I have finished the first maze and also finished the setups of the second level but the problem is that how do I get to play the second level once I finish the first level?.
what i would do is remove the invisible border so you can let the player go to level 2
For those waiting for more I say Go back and look closely from
the start again and you will get lots of new ideas on your own.
If you REALLY want to learn, It's up you! And to SELF LEARN with the tools you got.
Experiment, You won't blow anything up unless you TRY harder
hello, your video helped me a lot recently, I'm very appreciate it and thank you. Can you help me doing this assignment... I've been doing this for a month but I still don't get the code.
Devise a program to allow a user to play this game against another player using a computer
(ie. one player enters the word for the other player to guess). If the player gets the right answer, the program
should display how many guesses the player used. Your program should keep track of the player’s guesses, list their guesses with each guess and prevent the player from entering a previously used letter.
THANK YOU VERY MUCH
i know this is a pretty old comment by now but did you ever manage to finish that project? sorry im just a little curious
At 42:19 you are subtracting 50 but couldn't we just change the "For C=1 to 12" to "For C=0 to 11"? I think it would eliminate the need for "-50" and be more elegant.
It has been a while since you have uploaded. Any news on the next upload?
Sorry, as a full-time school teacher, the past few weeks have been so manic and tiring that I haven't really been able to focus on the channel. However, I'm on a two week Christmas break now, so will be producing more content, and looking ahead hopefully the next few months will see improvements, and a relaxing of the extra work I'm having to do for school, which will allow me to be more active on here. I'm glad you've been enjoying the content so far.
@@TheTechTrain you really helped with my homework wish you were my teacher
How to add more levels in that?
I do not know about this Basic, but I suggest instead to set your PlayerX=150 and PlayerY=150 you should set the PlayerX=3 and PlayerY=3.
Then there drawing your player rectangle you should use GraphicsWindow.FillRectangle(PlayerX*50,PlayerY*50,50,50).
Of course it seems this programming language doesn't have any capable to draw sprites and do some double buffer?
My opinion is each time you will draw the graphic you should erase the whole screen so if the player will be moved you will not need to erase the step behind.
Of course you should have some game loop that will redraws the whole maze scene with some double buffer or graphics page flipping.
One fantastic programming language that you will create advanced 2D games is BlitzMax. It has Basic commands and has easy object oriented programming.
hey Justin can you please make a video about making graphs?
Thank you for the suggestion! 👍
Amazing maze!)
Hi tech train thanks for teaching me small basics as did not no them before and can you make a video of making a game in small basic ?
I may come back to this series and add some more videos in the future, but due to the pandemic I moved from teaching Small Basic to my students in school to Python, so haven't really been working with this lately.
@@TheTechTrain So Ok But i have one more doubt in my small basic programs game "Maze" so i will leave the link try it .
So the doubt is that i have made the maze game but what is happening is when i reach the end it is not showing the message what You typed Like "Maze Completed"
smallbasic.com/program/?ZBMP50.000 this is the link
Sorry if i have disturbed you a many times !
@@TheTechTrain Maybe you can teach us to transition from small basic to python
hello tech train! can i get your permission to use this for our school project in computer? thank you 😊
You mean streaming the videos? I'm more than happy for you to use these videos to help your students - that's why I made them. And do feel free to let me know if there are any topics/skills/projects you feel would be helpful to add to this course.
@@TheTechTrain Thank you Sir, but I meant the statements in the program 😅
You mean just using the code? That's fine too, but a mention of the channel would be awfully nice too! 😁
@@TheTechTrain Thank you very much Sir! This really helped me a lot. And yes Sir, mention of the channel will be included! Have a great day/night! 😊
how to make it in a continuous loop. that it should start again once ends
very good👍
Thanks!
🙏🙏Sir please tell us some projects we can do please
you are a star
so useful
it actually works if you do it as he said
Can you please explain the get pixel command
Hello The Tech Train, i need help, i am trying to make a paddle game for my programing class but i have a problem with the varriable code. here's the sample that's giving me problems:
If Shapes.Move (ball, x, y) Then
Program.Delay(1)
But it says that Shapes.move expects a returen value but dosne't return anything.
even though i have a return value right under it?
Without seeing all of your code it's a little difficult for me to identify exactly what the problem is I'm afraid?
Is this the last small basic vedio
It's the last one for now, although I do plan more in the future. I'm very glad you've been enjoying the series!
Dude pls help me my player is not moving my code is correct I don't know what happen
this is epic and also its okay when in 15 mins and u test it doesnt load is it ok? edit: oh lol sorry
Thanks 😊🔥
What to learn in coding after small basic
Perhaps Python would be a good idea? My own students tend to work from Small Basic to Python, and it's actually quite a smooth, easy transition. I have Python videos on my channel, and will be adding to them.
Thanks sir
Sir , please tell us some projects we should do
There is a graduate button in small basic,
Please tell the commands of this, by just pasting all the commands... IN THE REPLY... PLSSSS :)
Hello, can I make a worm please?🌹🌹
Or are more coming
More will be coming, although I'm doing a few different videos first.
seeing thses replys from 10 months ago
Your accent is so good omg 😂
1:07:18 dont mind this
His voice is so mezmerizing to me, i've watched so many videos just to hear his voice, I have no questions, I just want to hear him speak. It's weird... I know...
Ha ha! I'm not sure what to say. I doubt my students would agree, but I'm glad you enjoy the videos anyway!
@@TheTechTrain Yeah me too. I also want to listen his voice and tutorials as he explains so clearly that understood I just in one view his voice is so awesome and mesmerizing, I love his tutorials.
@@TheTechTrain Can you guess from which country I am ?
I agree.
@@TheTechTrain Justin .. I'm not sure what to say. "I Love You too!"
this is as long as a movie
But much more educational!
@@TheTechTrain True that
That's not move. what i doing?
you dont have a link fak
can u copy the codes in comment and pin it
hi
Your a good teacher mate. i understand all over. thanks for this another learning mate, keep it up god bless
Hello, I really want to see other videos. I hope that you will continue in this serie. I am learning it, becasue we will learn this the next year in the school. Could you in one time turn how to plays some music and other with that?(I don't know how to stop music when you click on the button. I tryed it , and it was error. My english is not very well sorry. Tank you so much😉
It has been a while since you have uploaded. Any news on the next upload?