as simple a platformer as it is, it's really well done concidering it was done when you were 16 in C++, which just for a matter of interest, Uncharted 2 : Among Thieves was written completely in C++. Good Job.
i know i little c++ and im still learning more i can make game on CMD but thats about it how would you suggest i learn to make a platformer like this one.
I'm not the poster of this video, but... Learn everything you can about C++, or at least the core concepts and then pick an application programming interface (API), such as Allegro or Simple DirectMedia Layer (SDL), and learn to use and program with that.
Can you please help me?, i'am currently coding a very simple 2d game just like yours, i'am a beginner but advanced if that makes sence xD, anyway, i have programmed a sprite to move up,left,right and down on my screen, it seems to work fine but i have one major problem when i move the sprite, it drags, like the color of the sprite drags along the screen and it stays there :/ i can make a video if you need to see plz help :/
oh my god i find it so frustrating that i can never find any decent advice on how to start programing basically i know nothing about programming and i really want to be able to do something like this so please can anyone give me any tips ! it would be soooooo greatly appreciated
@Jazonxyz Hey, I'm 13 & I'm wondering how did you begin programming. I would like to begin computer programming & What would be the best programming language to begin?
@Dantheman6074 I don't think that's what he meant. He started programming (in general) at 13. He's now 19. He wrote the game 3 years ago. A game project like this wouldn't be your first project.
My suggestion would be to use acceleration for the jumping so it's smoother, rather than go up then go down at constant speeds.
Example: Set vertical speed to 5 units per frame or something, and constantly reduce it by 1 unit per frame? So eventually it becomes negative and the character starts to fall realistically
@chitzy47 the program is free, its call Visual Studio EE but I prefer Code::Blocks now and its fairly easy as long as youre patient with it. I also suggest looking into Blitz Basic if you wanna make games
Cool. How do you separate the "game loop" which draws the screen (40 FPS) from the speed of the action of the game so that it would be (hopefully) constant from system to system? Do you know of any good examples for setting up the logic to do this?
@VPSantiago Well, first you take the system's time (e.g. SDL_GetTicks() or GetTickCount())
And then you do your your game loop and render everything, next, you get the new time and compare it to the old one. After that, you delay the difference.
snap...it was hard to get into game development since there are BARELY any tutorials on Gravity, KeyEvents, and Tiles! But it feels great now that I found it all...probably the suckiest part of my experience.
haha oops! missread that! geez i feel stupid rofl! I have failed misserably! I was actually creating one... sigh. I just wasted two hours of my day...
It would be a good Idea for you to do that, especially since there aren't that many out there. I learned it all from a video that wasn't even focused on that! I'm sure that several programmers out there would be searching for those areas in programming and would be relieved to find a tutorial that would explain it!
What books or tutorials did you read before you could make this game. Im trying to make games to but, its not going really fast because i can't find a good book or tutorial for it.
@Jazonxyz ok do i have to download another library or something? im not exactly sure on how to tap into sdl either. please help out a 13 year old C++ programmer build his TD. no gravity needed so far thanks.
@0TheHackMaster0 of course it would. immersion is all very well and nice but the gameplay is most important - you can play around with pretty pictures and loud bangs when thats done.
hi! im new in c++ programming... and i need to make a game which is not that difficult to play... i wonder if you can lend me some of ur "already made games" :D if its okk...
hi! im new in c++ programming... and i need to make a game which is not that difficult to play... i wonder if you can lend me some of ur "already made games" :D if its okk...
I'm not that new to C++, but I haven't made a game yet, this might sound stupid, but, how do you make a camera that either follows your player like in this one, or a First person camera that you can control?
if a job cant be found out of school, we shouldnt cast worry and anger about that or anything in this life.Mathew 6:33 says "But seek first his kingdom and his righteousness, and all these things will be given to you as well." SO Christ says store your treasure in heaven as thats the promised place we go when we recieve Christ as lord and savior living our lives for GODs will.as a career may or may not come, death surely will any time and after that follows the judgment of GOD to heaven or hell
@burninmunkeys in Mark 16:15 Christ tells all his followers "Go into all the world and preach the good news to all creation." so,as a born again believer in Christ with his spirit in me i witness the gospel truth to EVERYONE,including creation on this video.In hopes atleast a few will decide to recieve the message with joy,out of the many the bible say will reject the truth when hearing it. bible says the truth must be witnessed even though it still will get rejected by many, until the end
@huntallen00 Okay, so basically you're saying that you're a faggot and a troll, so get the fuck off the internet. No I'm not denying your dip shit blind religion, because I had been part of Christianity for over 12 years and finally got smart enough to understand how ignorant it was. Go join a christian forum, they're the only ones that want to listen to you babble on with your nonsensical bull shit. If you're smart you'd get an education and do some research, then maybe you'd see the real truth
now that i now i cant even make a game like this, i know how much time it takes to create a game like Call of Duty and stuff like that, it´s carzy. big respect
@Aldeni1551 ok Minecraft RuneScape! Puzzle Pirates FunOrb Tribal Trouble Stendhal ok now? When i told "For games the best programming language is java." i didn't tell "console games".
@gaikokujinNor Easier language? :)) give me an example rofl C++ is not hard but u have to be an Ace in maths for the Olimpics (as an example) to make this kind of game by yourself you need many years in C++ very many or a nice youtube tutorial lol
thanks, you are correct. The c++ is the best language for games with c# in my opinion. I program in c++
but i didn't know that c++ is the best language for games. I look for and i understand that java is better for mobile apps and websites. But i read that c# is better than c++. I don't believe it. C++ is more understandable language...
C# is newer. I've also heard many people saying that C# is better then C++, I don't think it's wrong, but, nobody said that c++ is forgotten ,you can still have a good job as a software developer if you know either c++ or c#.
I'm a beginner in c++ and I am learning now how to make very basic games with the keyboard characters like Playsim1234 said. But I was wondering if anyone could tell me how to incorporate gravity into the games because I can't figure it out. I know that if I want to make games with actual sprites like above I need to learn SDL but I was just hoping someone could either give me a link or tell me how to create gravity in my games. Thanks in advance.
If you want to incorporate gravity, I guess you just need to make the "Y"co-ord of an SDL_Rect (i.e the location where your sprite will be drawn each frame) subject to an algorithm which accelerates it in the positive Y direction(From top to bottom in SDL).
In the real world the acceleration due to gravity is 9.81 m/s^2. In your game you will need to decide how many pixels represents 1 meter. You may as well round It up to 10 m/s^2. Or vary it to change the speed your sprite falls
@Leogecko32 Ok, its easy. First make a variable called YVel(or whatever) and assign it to something like 8. Every game cycle add YVel to your Y and then if the object is accelerating, increace YVel(e.g. YVel = YVel +1).
Thats as basic as I can get it.
Also, C++, C# or Java before even looking into games. Blitz Basic is good too. But yeah, its pretty fun once you know how to do it :)
@Leogecko32 Have you taken any trig classes? you could use a projectile motion function for your jump action, although i'm not quite sure how sines and cosines would work in C++...
@Leogecko32 a simple approach is to give each object a velocity variable and every cycle add that velocity variable to your objects y coordinate. and also increase that velocity variable if the object isnt touching the ground. If it is touching the ground, make the vel = 0. if you want the object to jump simply make the vel = a nevative number.
Nice game! I have just started with programming in C++ and i can make very simple games but just with the character how is on the keyboard like: (X=?"#Y!=¤/%!3) Yeye what ever! How do you paste in a picture or something like that i'm tierd of this boring grey characters. I really want some color and nice stuff. Can u tell me how to do it? Or is it to hard to explain? In such case do you know any good sites where I can learn that? (Sorry if my english is bad)
Thepaintballparadise gamemaker is for 7 year olds who want to be proud of themselves for doing NothinG. Learn c++ it's real game PROGRAMMING not MAKING. Not trying to be mean, well kind of. But good luck and nice work with this game but what was the point of the three levels they were really all the same thing lol
@Shihonoryu 4 months to fully learn the programming language! 2 years to maintain the codes for a fairly good game! 5 years to master the the language for professional programming and 10 years to write a "mythical" security programs!
lol! mario in glue form! :D
SwanTonBon 1 week ago
it would be nice if you were show us what happen if you fall into void, thanx :)
79apoelultras 1 month ago
i must buy this program or download ???
Darkspawn6666 1 month ago
as simple a platformer as it is, it's really well done concidering it was done when you were 16 in C++, which just for a matter of interest, Uncharted 2 : Among Thieves was written completely in C++. Good Job.
DKC1011 1 month ago
@DKC1011
Uncharted 2 wasn't completely written by C++ !!!
They used Assembly Language too, sometimes called as Machine Code.
Watch behind the scene videos for god's sake.
So code is not portable, it is why you won't expect to see any other version other then PS3 (Cell Broadband Engine) or compatibles (PS4+).
drkamilz 1 month ago
i coded my first "real" game on (8 bit) Commodore 64 with 6502 assembler.
There were no C++ back then ;)
drkamilz 1 month ago
if ea own this game, it wants 50$ for it and for the dlcs 50 bucks per dlc dude! xD :D nice job!
0samenspender0 2 months ago
i know i little c++ and im still learning more i can make game on CMD but thats about it how would you suggest i learn to make a platformer like this one.
TheBlizznerd 2 months ago
@TheBlizznerd
I'm not the poster of this video, but... Learn everything you can about C++, or at least the core concepts and then pick an application programming interface (API), such as Allegro or Simple DirectMedia Layer (SDL), and learn to use and program with that.
Soulsphere001 2 months ago in playlist More videos from Jazonxyz
I would HATE this video... If the player wasn't an epic fucking bottle of Elmer's Glue!
Harffleknobman 2 months ago
Это всё прекрасно, но я думал что вообще то, будет что-то вроде объяснения по созданию данной "игры"!
StOsRAMMStEIN 2 months ago
Can you please help me?, i'am currently coding a very simple 2d game just like yours, i'am a beginner but advanced if that makes sence xD, anyway, i have programmed a sprite to move up,left,right and down on my screen, it seems to work fine but i have one major problem when i move the sprite, it drags, like the color of the sprite drags along the screen and it stays there :/ i can make a video if you need to see plz help :/
Rijelthelovefool 3 months ago
@Rijelthelovefool i may say something stupid, but...do u clear the buffer every time u render??
Syl4r93 2 months ago
This has been flagged as spam show
which language should i use to program an open world game in 3d
AFClan1 3 months ago
THAT IS AWESOME FOR DONE BY 1 PERSON ONLY! I CAN EVEN PROGRAM A BANANA!
TheCPLaw 3 months ago
oh my god i find it so frustrating that i can never find any decent advice on how to start programing basically i know nothing about programming and i really want to be able to do something like this so please can anyone give me any tips ! it would be soooooo greatly appreciated
beastrohan18727 3 months ago
this game is awesome.
merenvagyokakacsa 3 months ago
Sick, dude! And much respect for pullin it off with C++. I've done C++ terminal stuff, but I use python whenever I can for Any kind of UI.
clipophile 4 months ago
How long have you been programming? :)
Ralled96 4 months ago
@Ralled96 I started when I was 13 and now I'm 19 and I did this about 3 years ago
Jazonxyz 4 months ago 4
@Jazonxyz Hey, I'm 13 & I'm wondering how did you begin programming. I would like to begin computer programming & What would be the best programming language to begin?
RobloxiaMania 4 months ago
@Jazonxyz
umm ok i dont think your 19 and now your 13 beceause thats 6 years not 3 goback to preschool
Dantheman6074 4 months ago
@Dantheman6074
You better grow up.
DeadSteal 3 months ago
@DeadSteal
i did im 21 ass hole
Dantheman6074 3 months ago
@Dantheman6074
I don't think so.
DeadSteal 3 months ago
This has been flagged as spam show
@DeadSteal
check my channel
Dantheman6074 3 months ago
@Dantheman6074 I don't think that's what he meant. He started programming (in general) at 13. He's now 19. He wrote the game 3 years ago. A game project like this wouldn't be your first project.
tsolorio3001 3 months ago
@Jazonxyz Nice good work ;)
Ralled96 3 months ago
nossa deu um baita trabalho isso
98123220 5 months ago
i can't see any boss to jump on his head :D
NoWayOutzy 5 months ago
NOT WORKING :(((((((((( .... :( !
afker553 5 months ago
My suggestion would be to use acceleration for the jumping so it's smoother, rather than go up then go down at constant speeds.
Example: Set vertical speed to 5 units per frame or something, and constantly reduce it by 1 unit per frame? So eventually it becomes negative and the character starts to fall realistically
LordFabs 5 months ago
good work. keep working on it, for 10 years. until you can sell it on a platform as a 2d sidescroller
fuckcomments 5 months ago
I think there must be something the glue can catch you know? like coins or so :D
Sorry for my English (I'm German :D)
Luditorials 5 months ago
is the character a bottle of glue
RockonStudio 5 months ago 17
@RockonStudio yeep
Jazonxyz 5 months ago 17
@Jazonxyz is it a bottle of glue because hes in a sticky situation?
uzack3 3 months ago
i hope u dont take offense to this, but it kinda looks like a wimpy mario game. not bad overall though. :P
lvl30Warlock 5 months ago
@lvl30Warlock None taken :)
Jazonxyz 5 months ago
This has been flagged as spam show
@Jazonxyz how long days you need to make this game :D
HipHopBerinSakic 2 months ago
@Jazonxyz wow bro, this must have been fun to make
im 18 and new to C and i just wanted to see what you could do with c++
jjtheslayer69 1 month ago
it apeared you were using npp (Notepad++)
by the way how long did it take to code out the backgroung (area or what ever)
and player (moving, jumping, scrolling)
PIKAMONjake 6 months ago
@PIKAMONjake This game took me about three weeks to do
Jazonxyz 5 months ago
@PIKAMONjake Thats visual studio 2005 or 2008...
LordFabs 5 months ago
elmario and gluigi!!!!!!
pintuperupti99 6 months ago
Is it laggy like this in the game or is this just the way the video is??
dervish2173 6 months ago
2 questions? is this program free? and is this even freaking easy?!
chitzy47 6 months ago
@chitzy47 the program is free, its call Visual Studio EE but I prefer Code::Blocks now and its fairly easy as long as youre patient with it. I also suggest looking into Blitz Basic if you wanna make games
Jazonxyz 6 months ago
Cool. How do you separate the "game loop" which draws the screen (40 FPS) from the speed of the action of the game so that it would be (hopefully) constant from system to system? Do you know of any good examples for setting up the logic to do this?
VPSantiago 6 months ago
@VPSantiago Well, first you take the system's time (e.g. SDL_GetTicks() or GetTickCount())
And then you do your your game loop and render everything, next, you get the new time and compare it to the old one. After that, you delay the difference.
Get OldTime()
GameLoop()
Render()
Get NewTime()
Delay(20-(OldTime-NewTime))
Its along the lines of this
Jazonxyz 6 months ago
@Jazonxyz did you use a single thread?
VPSantiago 6 months ago
Did you use your own engine or someone else's, if you made your own please give me some insight to how this could be possible
STIYE101 6 months ago
how did you learn programming such a nice game?^^
DerGenialeDOEME 6 months ago
@DerGenialeDOEME I bougth a book on c++ :)
Jazonxyz 6 months ago
@Jazonxyz Where did you got that book??
Buyinos 6 months ago
what is that thing that jump?
koosimk 6 months ago
will you write it?
DerGenialeDOEME 6 months ago
Why do you have Direct3D files open ?
bc0wful 6 months ago
@bc0wful that was an old iteration of the engine, i ported them to SDL eventually
Jazonxyz 6 months ago
@Jazonxyz Oh
bc0wful 6 months ago
@Jazonxyz Great game though :]
bc0wful 6 months ago
very nice for a start
TheCheesyProductions 6 months ago
what did you use?
c++ and ?!?!
DerGenialeDOEME 7 months ago
@DerGenialeDOEME sdl compiled in codeblocks
Jazonxyz 6 months ago
@Jazonxyz nice
DerGenialeDOEME 6 months ago
@Jazonxyz could you possibly send me the code ?^^
DerGenialeDOEME 6 months ago
@DerGenialeDOEME I could write a tutorial on how to make it because the code is really messy
Jazonxyz 6 months ago
@Jazonxyz yes, would be great. when? you are the best if you could do this in the next 2 weeks :D
and a tut how to install SDL codeblocks ...
DerGenialeDOEME 6 months ago
snap...it was hard to get into game development since there are BARELY any tutorials on Gravity, KeyEvents, and Tiles! But it feels great now that I found it all...probably the suckiest part of my experience.
TheWillOfTheKing 7 months ago
@TheWillOfTheKing What would you think about me making tutorials on the matter?
Jazonxyz 7 months ago
Comment removed
TheWillOfTheKing 7 months ago
haha oops! missread that! geez i feel stupid rofl! I have failed misserably! I was actually creating one... sigh. I just wasted two hours of my day...
TheWillOfTheKing 7 months ago
It would be a good Idea for you to do that, especially since there aren't that many out there. I learned it all from a video that wasn't even focused on that! I'm sure that several programmers out there would be searching for those areas in programming and would be relieved to find a tutorial that would explain it!
TheWillOfTheKing 7 months ago
One question though, what Graphics library did you use to handle the visuals?
TheWillOfTheKing 7 months ago
can you tell me how you to do background scolling?
KoyoteHokage 7 months ago
Looks better than Minecraft :D
cybogg13 7 months ago
2 things,
1 can you send me the source for this, im looking for examples to study, im trying to learn game programming (ive been using the same things as you)
and 2 can you in any way with tile engines, i just cant seem to figure it out on my own and i havent found any decent help with it
any help will be appreciated thanks in advance =D
DarkVoidBM18 7 months ago
Comment removed
DarkVoidBM18 7 months ago
how long did this take to make?
lilbubka 7 months ago
@lilbubka bout 3 weeks
Jazonxyz 7 months ago
May i ask,
What books or tutorials did you read before you could make this game. Im trying to make games to but, its not going really fast because i can't find a good book or tutorial for it.
twindippy 7 months ago
@twindippy go to lazyfoo.net and buy andre lamothes book Tricks of the Windows Game Programming Gurus,
use SDL for graphics/sound and use andres book for theory, you should also look up C++ for beginners :D
Jazonxyz 7 months ago
@Jazonxyz ok do i have to download another library or something? im not exactly sure on how to tap into sdl either. please help out a 13 year old C++ programmer build his TD. no gravity needed so far thanks.
chickenpoper 7 months ago
Could you make a tutorial on how to make this game?
mario56785 7 months ago
I think it would be much better if you maked better graphics and sound.
0TheHackMaster0 8 months ago
@0TheHackMaster0 of course it would. immersion is all very well and nice but the gameplay is most important - you can play around with pretty pictures and loud bangs when thats done.
Balimaar 7 months ago
Why don't you show player's death?) It's interesting to look.
And why didn't you kill nearly 13 monsters on the third level?((
Only one remark - levels seemed to be rather boring...
dohxehapo 8 months ago
Comment removed
dohxehapo 8 months ago
source code? please :D
freemanz1000 8 months ago
nice nice
Psw189 8 months ago
That looks like a whisky bottle jumping on a bunch of albino Pac - Man ghosts.
kyleraiders15 8 months ago
@Extilia All about them GUIs ma mane. ;P
TheVideoVector 8 months ago
Kiki is pretty ninja. And I can do all that in one file with python.
Puffsmeal 8 months ago
nice!
MegaGurcke 8 months ago
Pls upload the game
RED000DEATH 9 months ago
nice!
13redhawkpictures 9 months ago
hi.
if you wan't create a c++ game programming tutorial...:)
lestesmen 9 months ago
This has been flagged as spam show
hi! im new in c++ programming... and i need to make a game which is not that difficult to play... i wonder if you can lend me some of ur "already made games" :D if its okk...
chibiiakira 9 months ago
hi! im new in c++ programming... and i need to make a game which is not that difficult to play... i wonder if you can lend me some of ur "already made games" :D if its okk...
chibiiakira 9 months ago
how many lines of code plz respond
159kira 9 months ago
I'm not that new to C++, but I haven't made a game yet, this might sound stupid, but, how do you make a camera that either follows your player like in this one, or a First person camera that you can control?
GT101boy 9 months ago
so much headers and source files for a simple game like that ?
ZHAUSQ 10 months ago
how do u guys do it? do u draw or what
tibiaowned1 10 months ago
@tibiaowned1 C++ + OpenGL
MineshaftManiacs 10 months ago
I love the main character. Oh, and good job jor the game! :D
SneakySteeve 10 months ago
Care to share the source?
harrycheeky 10 months ago
if a job cant be found out of school, we shouldnt cast worry and anger about that or anything in this life.Mathew 6:33 says "But seek first his kingdom and his righteousness, and all these things will be given to you as well." SO Christ says store your treasure in heaven as thats the promised place we go when we recieve Christ as lord and savior living our lives for GODs will.as a career may or may not come, death surely will any time and after that follows the judgment of GOD to heaven or hell
huntallen00 11 months ago
@huntallen00 Wtf does that have to do with anything in this video.
burninmunkeys 10 months ago
@burninmunkeys in Mark 16:15 Christ tells all his followers "Go into all the world and preach the good news to all creation." so,as a born again believer in Christ with his spirit in me i witness the gospel truth to EVERYONE,including creation on this video.In hopes atleast a few will decide to recieve the message with joy,out of the many the bible say will reject the truth when hearing it. bible says the truth must be witnessed even though it still will get rejected by many, until the end
huntallen00 10 months ago
@huntallen00 Okay, so basically you're saying that you're a faggot and a troll, so get the fuck off the internet. No I'm not denying your dip shit blind religion, because I had been part of Christianity for over 12 years and finally got smart enough to understand how ignorant it was. Go join a christian forum, they're the only ones that want to listen to you babble on with your nonsensical bull shit. If you're smart you'd get an education and do some research, then maybe you'd see the real truth
burninmunkeys 10 months ago
Link to play?
jagknullarmycket 11 months ago
Is that a bottle of Elmer's Glue?
presbarkeep 11 months ago
Man.. I want a template of for this kind of game, any links or source code? pm me if you don't liek posting here LOL
ayinozendy 11 months ago
now that i now i cant even make a game like this, i know how much time it takes to create a game like Call of Duty and stuff like that, it´s carzy. big respect
451850 1 year ago
good job
TheHappyWhaleshark 1 year ago
no ultimate boss ? ;\
lub094 1 year ago
SDL?
Necry3d 1 year ago
@Necry3d Yes! i love sdl!
Jazonxyz 1 year ago
@Jazonxyz can you tell me how you learnd becuse i would like to =D
who885 9 months ago
Comment removed
labroswwe7 1 year ago
@labroswwe7 Yeah, thats why they made Metal Gear Solid 4 and Halo in C++ ;)
Jazonxyz 1 year ago 22
@Jazonxyz
I told my opinion
many games have written in c++ and many games have written in java (like black ops)
labroswwe7 1 year ago
@labroswwe7 No video game for a console has ever been written in Java. Black Ops was written in GSC, a language exclusive to IW and Treyarch.
Aldeni1551 1 year ago
This has been flagged as spam show
labroswwe7 1 year ago
@Jazonxyz
Not neccesary
Resistance is done with Lua (but with the game engine done first)
bellicjr 1 year ago
@bellicjr and the game engine was done with C++, they used lua to make the content
Jazonxyz 1 year ago 5
@Jazonxyz And like >9000 other games
iR00k 11 months ago
@labroswwe7
There is no "best" programming language.
DeadSteal 1 year ago
@DeadSteal
java is more production language than other languages but c++ or c is faster than other languages
labroswwe7 1 year ago
@labroswwe7 Hehe, troll?
C++ is the "best" language for programming, even game programming.
It is the mother language, if you look away from the even further away languages.
But if you are a "newb" to programming and/or game programming, you should start with a easier language.
gaikokujinNor 11 months ago
@gaikokujinNor Easier language? :)) give me an example rofl C++ is not hard but u have to be an Ace in maths for the Olimpics (as an example) to make this kind of game by yourself you need many years in C++ very many or a nice youtube tutorial lol
taigi100 11 months ago
@taigi100 Ok, but over to C++ again.. Have you tried Allegro or SDL libraries?
Yes but want even easier?
DarkBasic or Blitzplus :)
gaikokujinNor 11 months ago
@labroswwe7 Java can't handle almost anything, if you don't know what are you talking about, don't say anything
MineshaftManiacs 10 months ago
@labroswwe7
Why, don't you think a game can be programmed in C++ ? Yes, Java is popular, but NOT THE BEST!
NarekNitrogen 10 months ago
@NarekNitrogen
thanks, you are correct. The c++ is the best language for games with c# in my opinion. I program in c++
but i didn't know that c++ is the best language for games. I look for and i understand that java is better for mobile apps and websites. But i read that c# is better than c++. I don't believe it. C++ is more understandable language...
labroswwe7 9 months ago
@labroswwe7
C# is newer. I've also heard many people saying that C# is better then C++, I don't think it's wrong, but, nobody said that c++ is forgotten ,you can still have a good job as a software developer if you know either c++ or c#.
NarekNitrogen 9 months ago
I'm a total newbie to c++ whats that editor thing you're using that you can launch the game in and everything?
BlackMagic8520 1 year ago
how did you make these objects ?background?floor?
MrAlfa2000 1 year ago
very nice
VisualBasic08Team 1 year ago
I'm a beginner in c++ and I am learning now how to make very basic games with the keyboard characters like Playsim1234 said. But I was wondering if anyone could tell me how to incorporate gravity into the games because I can't figure it out. I know that if I want to make games with actual sprites like above I need to learn SDL but I was just hoping someone could either give me a link or tell me how to create gravity in my games. Thanks in advance.
Leogecko32 1 year ago
@Leogecko32
If you want to incorporate gravity, I guess you just need to make the "Y"co-ord of an SDL_Rect (i.e the location where your sprite will be drawn each frame) subject to an algorithm which accelerates it in the positive Y direction(From top to bottom in SDL).
In the real world the acceleration due to gravity is 9.81 m/s^2. In your game you will need to decide how many pixels represents 1 meter. You may as well round It up to 10 m/s^2. Or vary it to change the speed your sprite falls
4Teddybears 1 year ago
@Leogecko32 Ok, its easy. First make a variable called YVel(or whatever) and assign it to something like 8. Every game cycle add YVel to your Y and then if the object is accelerating, increace YVel(e.g. YVel = YVel +1).
Thats as basic as I can get it.
Also, C++, C# or Java before even looking into games. Blitz Basic is good too. But yeah, its pretty fun once you know how to do it :)
Jazonxyz 1 year ago
@Leogecko32 Have you taken any trig classes? you could use a projectile motion function for your jump action, although i'm not quite sure how sines and cosines would work in C++...
BlakeC90 8 months ago
@Leogecko32 a simple approach is to give each object a velocity variable and every cycle add that velocity variable to your objects y coordinate. and also increase that velocity variable if the object isnt touching the ground. If it is touching the ground, make the vel = 0. if you want the object to jump simply make the vel = a nevative number.
Jazonxyz 8 months ago
For everyone wanting to make this, it's hard so don't just jump into it... learn the C syntax first.
go with C# sharp (it's easier for noobs)
and them move to c++
MrVirtualCoder 1 year ago
This is a good game!
congrats!
Diloman64 1 year ago
How long did it take you to learn how to make this?
nusaik 1 year ago
lol cool little or mutch like mario but sooo cool i will try to instal the c++ and make a game :)
ZagonFULL 1 year ago
You could also make this in Visual Basic
MrVBMagic 1 year ago
nice dude! :)
gamer33XD 1 year ago
you me send the Code pls on youtube ;DD
Black1Head 1 year ago
Nice game! I have just started with programming in C++ and i can make very simple games but just with the character how is on the keyboard like: (X=?"#Y!=¤/%!3) Yeye what ever! How do you paste in a picture or something like that i'm tierd of this boring grey characters. I really want some color and nice stuff. Can u tell me how to do it? Or is it to hard to explain? In such case do you know any good sites where I can learn that? (Sorry if my english is bad)
Playsim1234 1 year ago
so pac-mans ghosts got loose............. and it's up to jumpy the clown to save the day
parasites84 1 year ago
Its ok but you did do it in c++ and that is a very hard (:)
alex123456789ander 1 year ago
awsome sir i am impressed it is so nice ;) i am was also starting a game like that as my 3rd semester project then i find this it is so nice
hadigondal7 1 year ago
can you have the code up for us, so we could check it and mess around with it or something?
sofaking1023 1 year ago
The fuck? a gnome in a glass?!?
Looks really cool dude!
Da3dBlender 1 year ago
Thepaintballparadise gamemaker is for 7 year olds who want to be proud of themselves for doing NothinG. Learn c++ it's real game PROGRAMMING not MAKING. Not trying to be mean, well kind of. But good luck and nice work with this game but what was the point of the three levels they were really all the same thing lol
joelisjoelbutiamwho 1 year ago
i can do better even with gdi
Wegzo 1 year ago
you can do this with game maker in 5 secs. and its free.
ThePaintballParadise 1 year ago
@ThePaintballParadise
Well that's not as fun as coding. And you could get a free C++ compiler easy.
MrApetastic 1 year ago
the ultimate n00b question:
(do you use cin for controlling objects?)
jetpack1986 1 year ago
so.. you play as a bottle of glue? weird.
Jediknight846 1 year ago
This has been flagged as spam show
If you wrote that game 30 years ago, you would've made a fortune
ChunFun1 1 year ago
Great stuff! Would you mind adding a link to download the source code so we can all play around with it and learn?
Keep up the good work! =D
granfanucci 1 year ago
can you use dev c++?
DrDray7 1 year ago
wickeeeed
KillThatEmoChild 1 year ago
Let's Say ive Created my own Handheld/Home Console.
Is there anyway I Could import Games Into a Disk/Cartridge?
(Note: I Havnt Acually made a C++ or a Console, But im Just Asking)
TheAdamena 1 year ago
O M G Best game ever!!!
warglaive0fazzinoth 1 year ago
how long did you have to learn C++ to be able to make this?
Shihonoryu 1 year ago
@Shihonoryu 4 months to fully learn the programming language! 2 years to maintain the codes for a fairly good game! 5 years to master the the language for professional programming and 10 years to write a "mythical" security programs!
jetpack1986 1 year ago
nice gamestory;D
KillingBanana 1 year ago
I'm working on a game similar to this for my senior project but I'm having trouble adding the sprites into the game. Any pointers?
DragonKazooie89 1 year ago