Added: 3 years ago
From: Jazonxyz
Views: 93,468
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (477)

Sign In or Sign Up now to post a comment!
  • lol! mario in glue form! :D

  • it would be nice if you were show us what happen if you fall into void, thanx :)

  • i must buy this program or download ???

  • 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

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

  • i coded my first "real" game on (8 bit) Commodore 64 with 6502 assembler.

    There were no C++ back then ;)

  • if ea own this game, it wants 50$ for it and for the dlcs 50 bucks per dlc dude! xD :D nice 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.

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

  • I would HATE this video... If the player wasn't an epic fucking bottle of Elmer's Glue!

  • Это всё прекрасно, но я думал что вообще то, будет что-то вроде объяснения по созданию данной "игры"!

  • 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 i may say something stupid, but...do u clear the buffer every time u render??

  • THAT IS AWESOME FOR DONE BY 1 PERSON ONLY! I CAN EVEN PROGRAM A BANANA!

  • 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

  • this game is awesome.

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

  • How long have you been programming? :)

  • @Ralled96 I started when I was 13 and now I'm 19 and I did this about 3 years ago

  • @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?

  • @Jazonxyz

    umm ok i dont think your 19 and now your 13 beceause thats 6 years not 3 goback to preschool

  • @Dantheman6074

    You better grow up.

  • @DeadSteal

    i did im 21 ass hole

  • @Dantheman6074

    I don't think so.

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

  • @Jazonxyz Nice good work ;)

    

  • nossa deu um baita trabalho isso

  • i can't see any boss to jump on his head :D

  • NOT WORKING :(((((((((( .... :( !

  • 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

  • good work. keep working on it, for 10 years. until you can sell it on a platform as a 2d sidescroller

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

  • is the character a bottle of glue

  • @RockonStudio yeep

  • @Jazonxyz is it a bottle of glue because hes in a sticky situation?

  • i hope u dont take offense to this, but it kinda looks like a wimpy mario game. not bad overall though. :P

  • @lvl30Warlock None taken :)

  • @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++

  • 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 This game took me about three weeks to do

  • @PIKAMONjake Thats visual studio 2005 or 2008...

  • elmario and gluigi!!!!!!

  • Is it laggy like this in the game or is this just the way the video is??

  • 2 questions? is this program free? and is this even freaking easy?!

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

    Get OldTime()

    GameLoop()

    Render()

    Get NewTime()

    Delay(20-(OldTime-NewTime))

    Its along the lines of this

  • @Jazonxyz did you use a single thread?

  • 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

  • how did you learn programming such a nice game?^^

  • @DerGenialeDOEME I bougth a book on c++ :)

  • @Jazonxyz Where did you got that book??

  • what is that thing that jump?

  • will you write it?

  • Why do you have Direct3D files open ?

  • @bc0wful that was an old iteration of the engine, i ported them to SDL eventually

  • @Jazonxyz Oh

  • @Jazonxyz Great game though :]

  • very nice for a start

  • what did you use?

    c++ and ?!?!

  • @DerGenialeDOEME sdl compiled in codeblocks

  • @Jazonxyz nice

  • @Jazonxyz could you possibly send me the code ?^^

  • @DerGenialeDOEME I could write a tutorial on how to make it because the code is really messy

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

  • 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 What would you think about me making tutorials on the matter?

  • Comment removed

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

  • One question though, what Graphics library did you use to handle the visuals?

  • can you tell me how you to do background scolling?

  • Looks better than Minecraft :D

  • 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

  • Comment removed

  • how long did this take to make?

  • @lilbubka bout 3 weeks

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

  • Could you make a tutorial on how to make this game?

  • I think it would be much better if you maked better graphics and sound.

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

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

  • Comment removed

  • source code? please :D

  • nice nice

  • That looks like a whisky bottle jumping on a bunch of albino Pac - Man ghosts.

  • @Extilia All about them GUIs ma mane. ;P

  • Kiki is pretty ninja. And I can do all that in one file with python.

  • nice!

    

  • Pls upload the game

    

  • nice!

  • hi.

    if you wan't create a c++ game programming tutorial...:)

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

  • how many lines of code plz respond

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

  • so much headers and source files for a simple game like that ?

  • how do u guys do it? do u draw or what 

  • @tibiaowned1 C++ + OpenGL

  • I love the main character. Oh, and good job jor the game! :D

  • Care to share the source?

  • 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 Wtf does that have to do with anything in this video.

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

  • Link to play? 

  • Is that a bottle of Elmer's Glue?

  • 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

  • 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

  • good job

  • no ultimate boss ? ;\

  • SDL?

  • @Necry3d Yes! i love sdl!

  • @Jazonxyz can you tell me how you learnd becuse i would like to =D

  • @labroswwe7 Yeah, thats why they made Metal Gear Solid 4 and Halo in C++ ;)

  • @Jazonxyz

    I told my opinion

    many games have written in c++ and many games have written in java (like black ops)

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

  • @Jazonxyz

    Not neccesary

    Resistance is done with Lua (but with the game engine done first)

  • @bellicjr and the game engine was done with C++, they used lua to make the content

  • @Jazonxyz And like >9000 other games

  • @labroswwe7

    There is no "best" programming language.

  • @DeadSteal

    java is more production language than other languages but c++ or c is faster than other languages

  • @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 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 Ok, but over to C++ again.. Have you tried Allegro or SDL libraries?

    Yes but want even easier?

    DarkBasic or Blitzplus :)

  • @labroswwe7 Java can't handle almost anything, if you don't know what are you talking about, don't say anything

  • @labroswwe7

    Why, don't you think a game can be programmed in C++ ? Yes, Java is popular, but NOT THE BEST!

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

    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 total newbie to c++ whats that editor thing you're using that you can launch the game in and everything?

  • how did you make these objects ?background?floor?

  • very nice

  • 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

    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.

  • 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++

  • This is a good game!

    congrats!

  • How long did it take you to learn how to make this?

  • lol cool little or mutch like mario  but sooo cool i will try to instal the c++ and make a game :)

  • You could also make this in Visual Basic

  • nice dude! :)

  • you me send the Code pls on youtube ;DD

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

  • so pac-mans ghosts got loose............. and it's up to jumpy the clown to save the day

  • Its ok but you did do it in c++ and that is a very hard (:)

  • 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

  • can you have the code up for us, so we could check it and mess around with it or something?

  • The fuck? a gnome in a glass?!?

    Looks really cool dude!

  • 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

  • i can do better even with gdi

  • you can do this with game maker in 5 secs. and its free.

  • @ThePaintballParadise

    Well that's not as fun as coding. And you could get a free C++ compiler easy.

  • the ultimate n00b question:

    (do you use cin for controlling objects?)

  • so.. you play as a bottle of glue? weird.

  • 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

  • can you use dev c++?

  • wickeeeed

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

  • O M G Best game ever!!!

  • how long did you have to learn C++ to be able to make this?

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

  • nice gamestory;D

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