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

КОМЕНТАРІ • 83

  • @boa2145
    @boa2145 2 роки тому +2

    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.

  • @Ayaanistic_player
    @Ayaanistic_player 8 місяців тому

    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
    @petrbostl7532 4 роки тому +6

    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😉

  • @RaanaGolzar
    @RaanaGolzar 4 роки тому +7

    Hopefully this account blows up again

  • @villetaharley7107
    @villetaharley7107 3 роки тому +1

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

  • @rakhisabadra2557
    @rakhisabadra2557 4 роки тому +2

    Sir , please tell us some projects we should do

  • @isaacb5610
    @isaacb5610 3 роки тому +1

    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?

  • @srewtheberry
    @srewtheberry 2 роки тому +1

    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  2 роки тому +1

      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 2 роки тому +1

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

    • @TheTechTrain
      @TheTechTrain  2 роки тому

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

    • @srewtheberry
      @srewtheberry 2 роки тому

      @@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  2 роки тому +1

      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?

  • @archanasrivastava6343
    @archanasrivastava6343 4 роки тому +1

    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 роки тому +1

      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 4 роки тому +1

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

  • @somabhaumik5835
    @somabhaumik5835 4 роки тому +1

    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

  • @davidmacphee8348
    @davidmacphee8348 3 роки тому +1

    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

  • @irisbaek8857
    @irisbaek8857 4 роки тому +1

    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

  • @paulkostecki3454
    @paulkostecki3454 4 роки тому

    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.

  • @beefysupreme
    @beefysupreme 4 роки тому +1

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

    • @TheTechTrain
      @TheTechTrain  4 роки тому +1

      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

  • @rivijh
    @rivijh 3 роки тому +1

    How to add more levels in that?

  • @takis76
    @takis76 2 роки тому

    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.

  • @frontmanthe180
    @frontmanthe180 2 роки тому +1

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

    • @TheTechTrain
      @TheTechTrain  2 роки тому

      Thank you for the suggestion! 👍

  • @ИнтересноеТВ-р4ъ
    @ИнтересноеТВ-р4ъ 3 роки тому +1

    Amazing maze!)

  • @OpticCoding
    @OpticCoding 3 роки тому +1

    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 роки тому +1

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

  • @onleeyu
    @onleeyu 2 роки тому +1

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

    • @TheTechTrain
      @TheTechTrain  2 роки тому +1

      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 2 роки тому +1

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

    • @TheTechTrain
      @TheTechTrain  2 роки тому +1

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

    • @onleeyu
      @onleeyu 2 роки тому +1

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

  • @daisysvelte
    @daisysvelte 7 місяців тому

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

  • @RishabBhushan
    @RishabBhushan Рік тому +1

    very good👍

  • @rakhisabadra2557
    @rakhisabadra2557 4 роки тому +1

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

  • @assumptaaso3380
    @assumptaaso3380 Рік тому +1

    you are a star

  • @ActIvision-ke2hh
    @ActIvision-ke2hh Рік тому

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

  • @nirmalasabadra4163
    @nirmalasabadra4163 3 роки тому

    Can you please explain the get pixel command

  • @igormehandziski1068
    @igormehandziski1068 4 роки тому

    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  4 роки тому

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

  • @rakhisabadra2557
    @rakhisabadra2557 4 роки тому +1

    Is this the last small basic vedio

    • @TheTechTrain
      @TheTechTrain  4 роки тому +1

      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!

  • @Dragon10.24
    @Dragon10.24 3 роки тому

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

  • @sirhaunted89
    @sirhaunted89 4 роки тому

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

  • @kapilbisht3230
    @kapilbisht3230 3 роки тому +1

    Thanks 😊🔥

  • @rakhisabadra2557
    @rakhisabadra2557 4 роки тому +2

    What to learn in coding after small basic

    • @TheTechTrain
      @TheTechTrain  4 роки тому +2

      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 4 роки тому +1

      Thanks sir

    • @rakhisabadra2557
      @rakhisabadra2557 4 роки тому

      Sir , please tell us some projects we should do

    • @isaacb5610
      @isaacb5610 3 роки тому

      There is a graduate button in small basic,

  • @deathnotegamingff
    @deathnotegamingff 3 роки тому +1

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

  • @RayanAldaya
    @RayanAldaya 2 роки тому

    Hello, can I make a worm please?🌹🌹

  • @rakhisabadra2557
    @rakhisabadra2557 4 роки тому +1

    Or are more coming

    • @TheTechTrain
      @TheTechTrain  4 роки тому +1

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

    • @isaacb5610
      @isaacb5610 3 роки тому

      seeing thses replys from 10 months ago

  • @crevette3909
    @crevette3909 4 роки тому +2

    Your accent is so good omg 😂

  • @borekstavitel7417
    @borekstavitel7417 4 роки тому

    1:07:18 dont mind this

  • @tubbyowens6198
    @tubbyowens6198 4 роки тому +11

    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 роки тому +7

      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 роки тому +3

      @@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 роки тому +1

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

    • @igormehandziski1068
      @igormehandziski1068 4 роки тому

      I agree.

    • @davidmacphee8348
      @davidmacphee8348 3 роки тому +1

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

  • @hyuichi5918
    @hyuichi5918 3 роки тому

    this is as long as a movie

  • @IndraEpu
    @IndraEpu 6 місяців тому

    That's not move. what i doing?

  • @editsz_football
    @editsz_football 3 роки тому +1

    you dont have a link fak

  • @premierleaguelive6954
    @premierleaguelive6954 2 роки тому

    can u copy the codes in comment and pin it

  • @ollyis100talent2
    @ollyis100talent2 4 роки тому

    hi

  • @axxsim234
    @axxsim234 3 роки тому +1

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

  • @axxsim234
    @axxsim234 3 роки тому +2

    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😉

  • @axxsim234
    @axxsim234 3 роки тому +1

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