#17 Learn Small Basic Programming - Creating A Maze Game

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.

Пікірлер: 83

  • @boa2145
    @boa21452 жыл бұрын

    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.

  • @villetaharley7107
    @villetaharley71073 жыл бұрын

    Your a good teacher mate. i understand all over. thanks for this another learning mate, keep it up god bless

  • @Ayaanistic_player
    @Ayaanistic_player4 ай бұрын

    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

  • @petrbostl7532
    @petrbostl75324 жыл бұрын

    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😉

  • @user-gl1xv8jv9g
    @user-gl1xv8jv9g2 жыл бұрын

    Amazing maze!)

  • @RaanaGolzar
    @RaanaGolzar4 жыл бұрын

    Hopefully this account blows up again

  • @isaacb5610
    @isaacb56103 жыл бұрын

    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?

  • @rivijh
    @rivijh3 жыл бұрын

    How to add more levels in that?

  • @ActIvision-ke2hh
    @ActIvision-ke2hh Жыл бұрын

    so useful it actually works if you do it as he said

  • @rakhisabadra2557
    @rakhisabadra25573 жыл бұрын

    Sir , please tell us some projects we should do

  • @nirmalasabadra4163
    @nirmalasabadra41633 жыл бұрын

    Can you please explain the get pixel command

  • @kapilbisht3230
    @kapilbisht32303 жыл бұрын

    Thanks 😊🔥

  • @axxsim234
    @axxsim2342 жыл бұрын

    It has been a while since you have uploaded. Any news on the next upload?

  • @takis76
    @takis762 жыл бұрын

    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.

  • @irisbaek8857
    @irisbaek88574 жыл бұрын

    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

  • @The_Codemaster144k

    @The_Codemaster144k

    2 жыл бұрын

    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

  • @sirhaunted89
    @sirhaunted893 жыл бұрын

    this is epic and also its okay when in 15 mins and u test it doesnt load is it ok? edit: oh lol sorry

  • @igormehandziski1068
    @igormehandziski10683 жыл бұрын

    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?

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    Without seeing all of your code it's a little difficult for me to identify exactly what the problem is I'm afraid?

  • @somabhaumik5835
    @somabhaumik58353 жыл бұрын

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

  • @isaacb5610

    @isaacb5610

    3 жыл бұрын

    what i would do is remove the invisible border so you can let the player go to level 2

  • @assumptaaso3380
    @assumptaaso338011 ай бұрын

    you are a star

  • @daisysvelte
    @daisysvelte3 ай бұрын

    how to make it in a continuous loop. that it should start again once ends

  • @davidmacphee8348
    @davidmacphee83483 жыл бұрын

    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

  • @paulkostecki3454
    @paulkostecki34543 жыл бұрын

    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.

  • @archanasrivastava6343
    @archanasrivastava63434 жыл бұрын

    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.

  • @archanasrivastava6343

    @archanasrivastava6343

    4 жыл бұрын

    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?

  • @archanasrivastava6343

    @archanasrivastava6343

    3 жыл бұрын

    The code is MJT561. Please have a look at it 😊

  • @rakhisabadra2557
    @rakhisabadra25573 жыл бұрын

    🙏🙏Sir please tell us some projects we can do please

  • @frontmanthe180
    @frontmanthe180 Жыл бұрын

    hey Justin can you please make a video about making graphs?

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    Thank you for the suggestion! 👍

  • @DRAGON11723
    @DRAGON117232 жыл бұрын

    Dude pls help me my player is not moving my code is correct I don't know what happen

  • @OpticCoding
    @OpticCoding3 жыл бұрын

    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 ?

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    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.

  • @OpticCoding

    @OpticCoding

    3 жыл бұрын

    @@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 !

  • @isaacb5610

    @isaacb5610

    3 жыл бұрын

    @@TheTechTrain Maybe you can teach us to transition from small basic to python

  • @tubbyowens6198
    @tubbyowens61984 жыл бұрын

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

  • @TheTechTrain

    @TheTechTrain

    4 жыл бұрын

    Ha ha! I'm not sure what to say. I doubt my students would agree, but I'm glad you enjoy the videos anyway!

  • @archanasrivastava6343

    @archanasrivastava6343

    4 жыл бұрын

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

  • @archanasrivastava6343

    @archanasrivastava6343

    4 жыл бұрын

    @@TheTechTrain Can you guess from which country I am ?

  • @igormehandziski1068

    @igormehandziski1068

    3 жыл бұрын

    I agree.

  • @davidmacphee8348

    @davidmacphee8348

    3 жыл бұрын

    @@TheTechTrain Justin .. I'm not sure what to say. "I Love You too!"

  • @user-ux3jf6ln3b
    @user-ux3jf6ln3b Жыл бұрын

    very good👍

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    Thanks!

  • @srewtheberry
    @srewtheberry Жыл бұрын

    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?

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    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!)

  • @srewtheberry

    @srewtheberry

    Жыл бұрын

    @@TheTechTrain I am a student, thank so much!

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    Glad to be of help! Good luck with your project. 👍

  • @srewtheberry

    @srewtheberry

    Жыл бұрын

    @@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!

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    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?

  • @deathnotegamingff
    @deathnotegamingff2 жыл бұрын

    Please tell the commands of this, by just pasting all the commands... IN THE REPLY... PLSSSS :)

  • @rakhisabadra2557
    @rakhisabadra25574 жыл бұрын

    Is this the last small basic vedio

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    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!

  • @onleeyu
    @onleeyu Жыл бұрын

    hello tech train! can i get your permission to use this for our school project in computer? thank you 😊

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    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.

  • @onleeyu

    @onleeyu

    Жыл бұрын

    @@TheTechTrain Thank you Sir, but I meant the statements in the program 😅

  • @TheTechTrain

    @TheTechTrain

    Жыл бұрын

    You mean just using the code? That's fine too, but a mention of the channel would be awfully nice too! 😁

  • @onleeyu

    @onleeyu

    Жыл бұрын

    @@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! 😊

  • @rakhisabadra2557
    @rakhisabadra25573 жыл бұрын

    What to learn in coding after small basic

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    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.

  • @rakhisabadra2557

    @rakhisabadra2557

    3 жыл бұрын

    Thanks sir

  • @rakhisabadra2557

    @rakhisabadra2557

    3 жыл бұрын

    Sir , please tell us some projects we should do

  • @isaacb5610

    @isaacb5610

    3 жыл бұрын

    There is a graduate button in small basic,

  • @rakhisabadra2557
    @rakhisabadra25574 жыл бұрын

    Or are more coming

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    More will be coming, although I'm doing a few different videos first.

  • @isaacb5610

    @isaacb5610

    3 жыл бұрын

    seeing thses replys from 10 months ago

  • @user-oo7re1sz3c
    @user-oo7re1sz3c2 ай бұрын

    That's not move. what i doing?

  • @crevette3909
    @crevette39093 жыл бұрын

    Your accent is so good omg 😂

  • @RayanAldaya
    @RayanAldaya Жыл бұрын

    Hello, can I make a worm please?🌹🌹

  • @hyuichi5918
    @hyuichi59183 жыл бұрын

    this is as long as a movie

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    But much more educational!

  • @isaacb5610

    @isaacb5610

    3 жыл бұрын

    @@TheTechTrain True that

  • @borekstavitel7417
    @borekstavitel74173 жыл бұрын

    1:07:18 dont mind this

  • @ollyis100talent2
    @ollyis100talent24 жыл бұрын

    hi

  • @premierleaguelive6954
    @premierleaguelive69542 жыл бұрын

    can u copy the codes in comment and pin it

  • @editsz_football
    @editsz_football3 жыл бұрын

    you dont have a link fak

  • @axxsim234
    @axxsim2342 жыл бұрын

    Your a good teacher mate. i understand all over. thanks for this another learning mate, keep it up god bless

  • @axxsim234
    @axxsim2342 жыл бұрын

    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😉

  • @beefysupreme
    @beefysupreme3 жыл бұрын

    It has been a while since you have uploaded. Any news on the next upload?

  • @TheTechTrain

    @TheTechTrain

    3 жыл бұрын

    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.

  • @thecousins4035

    @thecousins4035

    3 жыл бұрын

    @@TheTechTrain you really helped with my homework wish you were my teacher