Car Racing Complete Game in c#
ฝัง
- เผยแพร่เมื่อ 24 พ.ย. 2024
- #car #Racing #game #visualStudio
Here you will learn how to create up down car racing game in c# without coding one of the best video for beginners. Car racing game in vs windows form application without using Graphics. Game Development in c# without coding car racing game
I SAW NEVER A VIDEO LIKE THIS UNBELIEVABLE BAD
my BOYS profile pic is in the gym
God bless you bro 👏 👏 ❤❤
nice game ,thanks for sharing !
Wow! i just followed these instructions, rewrote & finished this tutorial. Thank you very much, you are the best.
thanx for your appreciation
to restart game button create a button and in button body { application.restart();} simple
A lazy way to restart a game.
Thank you! It's a very well explained tutorial. You've just saved my life with this. Good job!
Great video. Thank you for your sharing
One of the few videos without any unnecessary stuff. Useful!
Thank you ! My it worked for me for school homework
Good job
Cool game. Thanks.
Excellent bro
This man deserves more likes and subs what a job man what a job, I m just Flattered. U gained 1 Sub :)
salam koloman purtkort ed se lopaer
I like it thanks alot
Thanks
Much appreciated
Keep up the awesome work
Man, great job, it helped me and learned me alot.
Thanks a lot! It's a helpful tutorial. I recreated the game and in addition I created a restart button that pops up as a Game Over guy comes:D
well appreciated
Could please send me your code with restart button? Always getting errors when trying to add it. Thx!
thanks this was kinda fun to do when bored
It’s very good and helpful tutorial but can you add some sound effects
sir its wonderful
nice
0:00 your pc noise like Racing Car)
600th subscription, your videos are entertaining!
thankew
I thought only I program in this incremental way.
Thank You
thanks a lot
@miniprogramers why have you used timer in this coding plzz reply me i am making this game as my project....
Thank you. Very useful tutorial.
Can you please show how to create xonix game on c# win forms?
well its sounds interesting and ill inform you soon
Plz sir can you make a racing game for turning left and right ..........plz it's a humble request to you I need that urgently because I want to a project
What to do if we want to take our left or right turn?? Plz share on this topic
thanks! very interesting. We want more!
subscribe to stay updated with new videos
WHAT A WEIRD VIDEO I NEEDED THIS FOR SCHOOL AND I GOT A 0 BECAUSE OF YOUR EXPLANATION
Very helpful.
Sir please give the links of pictures..
Can we tell me how to download this image from google please?/or can share the file please.
how i make it where i have the option to choose templates it doesnt show up
It's probably not a good idea to get people into the habit of hardcoding direct numbers as limitations for sizes on stuff like this 😅
Due to Displays being different, and increasing resolutions, it would be a good idea to get people used to being a little more flexible. Instead of setting the game to ONLY work at the size you are working with, it might be a good idea to either have it scale off of the size of the window, so that if people resize it, it isn't incredibly tiny on their screen. Either that or have the window itself open at different sized based on the resolution
Using same method one can resize it and make responsive game window
What would be your ideo for a resizable Window?
Its showing me error that ( The private modifier isnt valid for this item) from line num 106
9:46 this is not in same, in my pc,Form1_KeyDown not there,there is blank place
i have a question that how i can stop the car in this game
sir i want to make more level of this game plz guide me
@@quicksolution1732 use the brakes
I copied your exact code for the road but there is a huge gap in the road when I RUN IT
because your picturebox lines are not equal you need to make equal white lines on road their would be much difference in height of these white lines
@@miniprogrammers5089 Thank you very much can you also tell me how to make the pictures without a background as I used the same red car but mine comes with a black background aswell.
@@rakthuraga8960 image with transparent background is png type image you need to remove background and save it with png type
In my programming gameover is always visible how can I solve this? Plzz give solution.....
Hello there! why is my car wont move? all my code are correct as you wrote them. no errors but it just dont move
Have you been able to figure this out ? Is your code free of red squiggly lines, and are all the functions defined also called ?
mine tooo
how do i figure this out @mini
well i want c# editor like yours
It is visual studio ide you could download it from Microsoft site.
Jesus Loves You
merci bien à vous
hello sir i wrote the code exactly as you are doing but my car does not move can you help me sir
thanks best regards
do you enable the timer i think timer is disable
and one more thing we do not move the car we move the lines on road so it seems like car moving its pretty simple code you must miss something
@@miniprogrammers5089 i did it sir but the movement of left and right did not work and the lines move can i get any hint
thanks sir
best regards
i think you need to review the click event in which section you are writing the code of move car left or right
#miniprogramers
Sir can we encrypt & decrypt coins value ??? And how to do it???
there is one of my video on simple encryption check that
How i add highscore?
thx
:)
sir . can u please give me the code button restart and show the result of score.. ?
on restart button only thing you need is to enable the timer to true
and game over text makes visible=false;
the last thing is set enemy car position to top
for any other question feel free to ask and dont forget to subscribe thankew
@@miniprogrammers5089 em sir can u email me the whole code include the restart code. im lost . muhammadadeebrazali@gmail.com . really need ur help . ty sir
could you please give us a website to bring the images of cam or simply upload them
where did you get images
What program are you using?
can you put link for car icon and other picture boxes
which software are you using
Its visual Studio
yout video should be 720 bro to see it better :)
alright ill thankew
How to restart the game when game over
How many years do you have experience with C#? And in how many years/months/days did you learned this language? Just asking haha.
i like haters
@@miniprogrammers5089 I ain't hating. I'm just asking.
programming is not about learn the syntax of any programming language but its about concepts
@@miniprogrammers5089 and youre a Person thinking someone hates u by normally asking about ylur Expiriences🤧
The road doesn`t want to move..
what does it mean by
If possible provide the code, because getting errors while running, thanks
Can some please comment the whole code i cant get it 😅
Sir can you give all code for program
Can someone help me?
When I try to add an image to the picture box, I click on select image and nothing happens. I tried to do it from the menu on the bottom right but an error message pops up saying "Value can't be null. Parameter name: docData". How can I solve that? Am I missing something?
If you are using Visual Studio, Create a new Project, or try it with deleting your Form1.rsx file.
My lines don't move how do I fix this issue please help
Did you start your timer like this "timer.Start();
Little do they know, this game was a hit in the soviet union
really?
What link can i download any icon sir. Thank you
flaticon.com
Are you Arabic 🤨🤨
How do u restart the game ?
AAAAAAAAAAAAAH CHAVINHO AAAAAAAAAAAAAAAH
GOZA BATMAN GOZAAAA
GOOOOOZAAAAA AGORA BATMAN GOOOOOOOZAAAAAA
OLHA O POKEMON QUE EU CAPTUREI BATMAN
GOOOOOZEEEEE GOOOOOZEEEEEEEEEEE NO MEU POKEMON BATMAN
É MEU
Where to get a folder with images?
look here :D :
de.cleanpng.com/png-cqh0ai/download-png.html
Thanks sir it's helpful video
But I couldn't get the car pictures how can I get it
flaticon.com
@@miniprogrammers5089 thank you bro bro
@@mthembenisoganile2229 pleasure
can someone can send me the working source code of the game plz its urgent for a project'
New game open button not create
its pretty simple you need to set all the timers to true and make object positions to its initial
New game button create please
alright i will make up one video then share link with you subscribe channel to stay tuned
@@miniprogrammers5089 OK
Your phone number
Or
Your gmail account please
AAAAAAAH CHAVINHOOO AAAAAAAAAAAAH
How to download car image
Gracias
Please sir
How addname
can you send me a mail about how to create a replay button ?
Why do you use Windows 8? That's the worst OS ever made!
How to make a restart game?
Application.Restart();
I did all. My game is working thanks. But i losed codes. Can you send me?
Hi, can I have project file?
I didn't succeed to collect and count the coins?
why dont you
the simplest method behind is to increment the coins variable by 1 when car intersect with coin
@@miniprogrammers5089 i don't succeed turn on it method
Can you help me?
@@אלעדברגר yeah sure
really bad tutorial, im making it already 1,30 hour, and its still nott working i dont understand, maybe make a new version of this because this video is not that good, greetings from netherlands
Coin
How to open properties
just right click on picturebox and go to properties
Design window doesnt come
ctrl+f7 or alt+f7
How do you explain the code
what does it mean by
Where is source
Source code
33.52
bro you make more mistakes than right things
please link
This tutorial could take less than 15 minutes if speak and write faster.
stfu
Somebody can help me
מצטער אחי, לא יודע. רק התחלתי ללמוד תכנות
can't add restart button :(
its simple see my other game tutorial i made restart button in recent game tutorials
English 0x100
worst tutorial i have seen so far
well your remarks are really important to us but will you please share why it is worst?
instead of hardcoding the if statements of the pictureboxes.. just automate it:
string[] Names = { "pictureBox4", "pictureBox5", "PlayerCar", "enemy1", "enemy2" };
foreach (PictureBox pictureBox in this.Controls.OfType())
{
if (!DoesContain(pictureBox))
{
pictureBox.Top += Speed;
if (pictureBox.Top >= 700)
{
pictureBox.Top = 0;
}
}
}
}
bool DoesContain(PictureBox pictureBox)
{
for (int i = 0; i < Names.Length; i++)
{
if(Names[i] == pictureBox.Name)
{
return true;
}
}
return false;
}
easy.
How about you script yourself some bitches