#15 Learn Small Basic Programming - Create A Painting App
This video series is designed to help introduce beginners to programming using Small Basic.
In this episode we'll be developing our very own painting and drawing program in Small Basic using the graphics window, mouse coordinates, mouse buttons and subroutines.
Пікірлер: 28
thank you so much!
Thank you for your tutorial video creating a painting app.
Thanks for all the videos that you have made which helped me in making a lot programs. Secondly as I couldn't afford to buy a three-monitored pc to use graphicswindow. I suddenly remembered that you showed how you drew some shapes so I tried to do that and write over the program in this video in which you taught us how to make a rectangle just by clicking and it worked so I am grateful to you.
Hi, first off, I just want to say I think your videos and resources are fantastic. That you are able to explain it so clearly is brilliant. You should think about teaching ;) I like using powerpoint but I didn't realise how versatile it was until I saw your videos. I have been trying to make quizzes for my students based on once popular game shows. Is there a way around macro security blocked? And could you do a video showing how to use action buttons to initiate an animation on a different slide? Any help much appreciated, currently trying to design blockbusters. Thanks👍
Your Videos Are Really Helping Me , Hello My Name Is On The Start Only , I Aim To Bulid A Multi-porpose program , which has the paint feature , your vids really encourage me to do more of programming , plz make more videos also i am a 12 yr old kid who wants to code and also anyone can code also really you should be a university professor
i recommend using the Mouse object as it has left and right click detection
@TheTechTrain
3 жыл бұрын
Good idea
Also please explain what should we do if we can't use the line "Graphicswindow.Left-2500" because as I have explained my problem in the previous comment. I tried but using "Graphicswindow.Left-2500" makes the program not working so I tried the last program you taught us but without using "Graphicswindow.Left-2500" which makes it draw only straight lines and nothing else so please make another video to explain and help us. Please.
@kelebeker6858
2 жыл бұрын
Graphics.Left=2500
Where is the 16th part
@TheTechTrain
4 жыл бұрын
Right here: kzread.info/dash/bejne/aGSJqrOtfti6Z5s.html
@rakhisabadra2557
4 жыл бұрын
Thanks Sir
hi but my graphicswindow does'nt open
my program no 2 is not working
Nice
@TheTechTrain
3 жыл бұрын
Thanks
I want a code like link no programing video
Hello tech train and everyone , I just want you to check will all these colors work or not LightCoral LightSalmon HotPink Tomato DarkOrange RosyBrown PowderBlue
@TheTechTrain
3 жыл бұрын
Check out this program to test all those colours... and yes, they do all work: turtle.speed=10 GraphicsWindow.BrushColor="LightCoral" GraphicsWindow.FillRectangle(0,0,300,50) GraphicsWindow.BrushColor="LightSalmon" GraphicsWindow.FillRectangle(0,50,300,50) GraphicsWindow.BrushColor="HotPink" GraphicsWindow.FillRectangle(0,100,300,50) GraphicsWindow.BrushColor="Tomato" GraphicsWindow.FillRectangle(0,150,300,50) GraphicsWindow.BrushColor="DarkOrange" GraphicsWindow.FillRectangle(0,200,300,50) GraphicsWindow.BrushColor="RosyBrown" GraphicsWindow.FillRectangle(0,250,300,50) GraphicsWindow.BrushColor="PowderBlue" GraphicsWindow.FillRectangle(0,3000,300,50)
@OpticCoding
3 жыл бұрын
@@TheTechTrain Hello tech train , thanks for the reply . So in my small basic in Textwidow it is not working but it is working in graphicswindow . So can you try it with Textwindow.
@TheTechTrain
3 жыл бұрын
The TextWindow, as the name suggests, is for text only. Anything graphical, including colours and shapes, must be in the GraphicsWindow. The TextWindow is just a Command window and only supports basic DOS colours.
@OpticCoding
3 жыл бұрын
So ok , Thanks Tech train
22:48, Graphicswindow.width and GraphicsWindow.height is not working. Please help. the error message displays,"Property 'GraphicsWindow.Width' cannot be assigned to. It is ready only." and the same for the command GraphicsWindow.height. Thank you.
@TheTechTrain
2 жыл бұрын
If you copy and paste the whole line of code it will be easier to see what the problem may be.
@exelmans8855
2 ай бұрын
@@TheTechTrain It's likely because he is using the online version, which is far for optimal, and I'm being nice.
@TheTechTrain
2 ай бұрын
No, I wasn't using an online version - this was using the Windows application.
@exelmans8855
2 ай бұрын
@@TheTechTrain I’m talking about the person commenting not be able to use the Graphic window properly. I use the online version and you have one standard Graphic Window. And sometimes the online version bug as well. I have a Mac I’m forced to use the online version sadly.
Basically what he did from 0:38 to 10:28 GraphicsWindow.BackgroundColor = "black" GraphicsWindow.BrushColor = "yellow GraphicsWindow.MouseDown=DoSomething Sub DoSomething x = GraphicsWindow.MouseX y = GraphicsWindow.MouseY GraphicsWindow.FillEllipse(x, y, 20, 20) EndSub