Added: 3 years ago
From: EdurarTe
Views: 55,429
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (241)

Sign In or Sign Up now to post a comment!
  • can I have teh source?

  • can i do it only with c++ ?

  • @afker553 sdl is just a library for c++. I belive, it is still just c++

  • Very exciting. I cried.

  • Comment removed

  • Same music from orbiter! =D

  • I'd like to see the source code. Is there a possibility I can have it? In a PM? I really like it! :D

    Thanks in advance!!!

  • Very nicely made. Although i could make something similar in ASCII :)

  • I'm new to C++ but how do you add graphics to your game?

  • hola a todos me estoy iniciando en la progracion les agradecería mucho si me pudieran decir o aconcejar donde encontrar buenos tutoriales y buena informacion para mi formacion se los agradecere mucho

  • Nice base for a platforming game. Subbed to your channel ;D

  • Me parece bien para un inicio, podrias pasar el codigo? Veras yo ya he hecho juegos en GameMaker pero ahora quiero ir por C++ para la uni y meterme a una compañia de videojuegos. Espero tu respuesta. Gracias por el Video

  • If possible, could you release the project?

    Because I have some issues with the collision.

  • mUSIC NAME?

  • Creo que debes adoptar mejores prácticas de programación, en el 00:00 creas una variable sin sentido, returner? ¿Para qué? si ambos casos de la condición IF con ejecutar diréctamente return 0; o return 1; ya ahorras espacio en memoria evitando la variable "returner" :)

  • @pomposanta vaya, tantos años y nadia habia examinado eso, de hecho es un juego de returns, no recuerdo bien porque diablos no compilaba sin utilizar esa variable, creo que al poner el puro return, se seguia ejecutando el ciclo, o algun bug habia alli, hahaha gracias por fijarte, de todas maneras ese codigo lo he perdido y solo me queda un port a java MIDP para celular, el cual es mas limpio que este, pero vamos son solo 4 bytes! xD

  • @EdurarTe jajaja, que sigas bien programando juegos!

  • Good use of the sdl!!

  • Nice! :D I have been programming in C++ for a while now but just some easy things, how do u place images and stuff into your code, i can just make games with the symbols that is placed at the keyboard! :P plzz tell me, if it hard to discribe then u can make a video about it! :D Thanks!....

  • Mmm, esta bien, es una practica, todavia falta mucho porque la gravedad esta medio mal, es como que falla en el momento de colisionar en el suelo, pero lo demas bien, suponiendo que los cuadrados son sprites. Te recomiendo echarle un vistazo a otros IDEs y librerias graficas que andan por ahi. Si sabes castellano usalo, no te abortes. Voto a favor.

  • @LoboOscuro3 emm, que no te gusta SDL?! porfavor que otra libreria grafica es mejor y mas opensource que SDL, no necesito librerias pesadas como directx o openGL para rutinas tan simples como dibujar cuadrados, además SDL es independiente de plataformas, para que hacer aplicaciones nativas de windows o X11 para que el codigo no sea portable, en cuanto al IDE, ya uso codeblocks pues ahora trabajo en linux, pero DevC++ era lo mejor en windows antes de que codeblocks se hiciera tan confiable

  • @RageQuitNoobProduct hahaha, me too :)

  • Great game, great music

  • Nice

  • You're "landing" code needs to be fine tuned. It seems that the block just floats onto the ground at the last moment.

    for (int a = fallspeed; a > 0; a--){ if a collision exists at [x,y+a] continue else y += a and falling = false.

    Something like that should help. Oh wait, this vid is 2 years old. Oh well :/

  • @cluelessbtd yes, its indeed built to do that, the collition check is one Y coordinate above the hit, so that it doesnt get stuck, its hard to explain all these years passed by, but, its just one coordinate, a simple draw rutine can hide that.

  • @EdurarTe I actually think the floating gives it a nice touch, very well rounded game! nice job.

  • I had to double check at the beginning to see if it said,"ejaculate"

  • Looks cool, how many lines?

  • i started using c++ 1 week ago and before i started using it i would say that's rubbish and i could make that in 5 mins but now when i use it i say that it's very good and gravity and everything nice job. keep on. sry for my english

  • just download Game Maker, this is simple for that, you can make it in like 20 seconds lol, my games are made with Game Maker

  • Comment removed

  • @3DCubez

    nooblike

  • @OneJelle nooblike to u too :)

  • @3DCubez Game Maker is for lazy a**es... It's the same as saying you can drive 'cause you can drive well in a car sim, but never actually driven a real car. "my games are made with Game Maker"... LOL!

  • @PESFan79 no its not, its just not for nerds like this ^^

  • @3DCubez Well, it's "nerds like this" that find a job in the Gaming Industry, while lazy a*ses who use Game Maker can only dream about it. Unless you go for the Game Designer position, in which case you really need to know what you're doing. Judging by the looks of it, that's not your case.

  • @PESFan79 you expect people to make games with c++? in the gaming industry they dont program using that format. like c++, but completely different, so using this is just too hard to make games with and is pointless.

  • @3DCubez They do use c++ to make games.

  • @shanee753 some games...

  • @3DCubez

    Games like WoW and COD are used with C++ you know. C++ is the game industry standard, meaning it's the primary language for the entire game industry. On your channel I just see gamemaker videos. Gamemaker is a tool for wannabe kids to make 'their first game.'

  • @3DCubez 98% of video games released today are made in C/C++

  • @3DCubez

    replying to your first comment:

    sadly game maker is limited. I used it for awhile too, but now I want to make, eventually, a mmo style game. The thing with game maker is sure, you can make that above game in 20 seconds, because most of the actual code is supplied to you through the game maker itself, but at some point game maker is gonna become limited on what it can do, and that's where C++ will move forward

  • @ Iceshadow625 hey i guess ur right. i still use game maker but your right when its limited, thanks for telling and i will move on to c++ soon :)

  • how long did you work for this?

    was it difficult to do this?

    great job

  • muy buen trabajo, te agradeceria si me pudieras ayudar con el codigo de un programa similar a este.

  • Quantas linhas pra fazer esse jogo ai??

    Obrigado.

  • Scource code please? Preetty please? :P It looks nice. Gratz.

  • Hey, what tutorials or bocks do you recommend for game programming. Thanks!

  • can someone help me please, I'm starting programming and I can find all the tutorials etc about using c++, but i want to know what other programs I need for doing 3-D so I can have a little play about with the software. Please reply!

  • @headhunterhudson

    Get the programs;

    Blender for 3D modelling and animation.

    and

    GIMP for textures/graphics for tne models.

    People who can help

    super3boy for Blender

    Gimpknowhow for GIMP

    and

    Google. :)

  • @Sonicrega cheers but just wondering, i had a download the blender and it seem to be running with python as it said in the command line thingy, how do i change it

  • @headhunterhudson

    Actually, Python will help you in Blender, you don't need it to run it, but it helps, like if you have Python, you can import and export models from different programs and such, and you can texture your models much easier. You can't change it.

  • EdurarTe what's the name of this song I've been looking for this song for years

  • may I have the code plz?...I started using C++ 2 days ago and the code may help me understand some things...

  • cool and whats the music called?? sorry..

  • @Koyukonn Air - Johann Sebastian Bach

  • @Koyukonn air on a g-string

  • Very nice game. You could make better graphics though ^^.

  • I was wondering if you share the source code?

    I am having problems with my platform game for the jumping and collision and gravity.

  • hey how did u get your character to land perfectly on another block when it fell or landed ? just in general what did your code do . .like what did it check for .. , and the Map Array thing was a good idea . i was pasting my blocks in with "for" loops that drew a new sprite every 32 pixels in a direction.

  • love the gravity :)

  • whoa this is awesome!

  • hah! i'm programming a quadtree with heightmap for my isometric shooter game! bidimentional array? LOL noob.

    jk i suck at programming

  • Great job that looks good

    I'm planning to start using c++ like you do, but i always get this error when testing my project

    something that projectname.exe cannot be found

  • @coolguyflex u need to build it first

  • not bad.

    But why does the player always slow down before landing on a block?!

  • Whats this song called pls tell me.

  • @windson7 Well it's 3 weeks since you posted, but whatever :P It's "Bach - Air on the G String"

  • whats song called. its so sad :( makes me cry all the time

  • can somebody tell ,me how to make a game like this >?

  • @bigfanowarriors Well an answer isn't going to fall out of the sky and hit you on the head. Go to college for 4 years and learn how to program C++

  • @TyKtv no thanks i hve a life :D

  • @bigfanowarriors Okay so anybody who goes to college doesn't have a life? You sir, are the meaning of ignorance.

  • @TyKtv ad you sir, are the meaning of a fat american loser

  • @bigfanowarriors Lol I won a 2 mile race at a track meet a week ago. I weigh 130 pounds and I'm skinny. You said that anybody who goes to college doesn't have a life, that's just stupid.

  • @TyKtv lets seeee.... your fat... lying... insecure.... have no friends.. and if u were 130 pounds yu would probably be dead if u were in college... thats about starving weight for 20+ people.. bye fag :D

  • @bigfanowarriors Lol dude I'm 17 I didn't say I was in college, it was also a typo I'm 140 but that's not even a big difference lol. Why am I insecure what did I say to prove that lol. You asked the question "how do I make a game like this" and to make a game like this you have to go to college. I gave you the answer and you start insulting me.

  • mmmta madre y me quejo de como hacer un maldito cuadro en C jajajaja

  • can you give me a link to a good sdl-tutorial ?

  • looks interesting. I just started my C++ programming journey, 9 days in. Got a fully fledged pokemon styled combat system in and levels with vary mobs. Hope soon to make th jump to 2d graphics, fun so far though!

  • Who can tell me how to make games in C + + lasatimi a message please

  • Good Job

  • Making a game in C++ is just masochistic. Good luck, man.

  • Some game wow!! What was the point of it ?

  • music?

  • @Razputin53

    JS Bach- Air on the G String

  • nice job

  • sorry you have no right to say that unless you make a game that actually is usefull all by yourself so go ahead

  • pretty nice script. too dull of the game perpuse

  • How long did it take you to make this? Also 5*'s.

  • AWESOME

  • you suck at this game

  • looks good so far.

    Also I love the music from megaman legends

  • idea... load maps from a text file place X where the walls will be or an initial for the color, make a text file that says what maps to load when (read the text file to see next map... load the map, (make a end point and start on the map use S or E as a flag) this way you can easily add maps and change them. and i don't think the code will be that bad to do it, also this way people can make maps for it.

  • Actually programming a design is easy once you grasp the concepts, plan out your designs and learn the language. The design is the most difficult part; there's always at least one thing that you miss that screws you up half the time. That's my experience with it, at least.

    I'm still learning the language (I'm on day nine of Sam's C++ book) and afterwards I hope to learn DirectX.

  • Yeah that's how I learned. Personally though, I think once you "get" programming, it becomes quicker to learn from the internet. DirectX is complicated, actually it's a bit of a mess. I'd recommend openGL instead =)

  • @Jinmane

    Is OpenGL free? Also, can I use it for commercial projects?

  • @Kelarre653

    It's free, and yes, Id Software use it (the company that makes Doom, Quake, etc). Also, it's cross-platform and it does everything Direct3d does and is significantly easier to use :)

  • @Jinmane

    Sweet! Where can I learn to use it?

  • @Jinmane

    too complicatet for you, maybe.

    Reach deeper into your reservoir of arguments.

    Dont forget all the other (more or less) useful components of DirectX. Such as DirectSound.

    In my humble opinion you just defend the api, because you've chosen it then.

    (what experiences have you made with DX yet?)

    And in my opinion you can not recommend one of those two apis.

  • @IAmMoreGoodThanYou Yes, it was too complicated for me when I tried to use it, although I was not a good programmer then. That doesn't mean it's not as good as openGL though, it's just more difficult to use in my (very limited) experience. I would have benefited from someone telling me this, so why shouldn't I tell others?

  • @Jinmane Yea. Then either inform them about your limited experience or leave giving advice to less limited guys.

    And of course some would benefit from your comment. But others wouldnt.

    You see, i just wondered why DirectX should be a mess. Its not fair to claim that without solid ground, is it?

  • Where u learn this?!

  • well, you can study c++

  • lol, sorry, i wrote the wrong idea!!!

    What i mean, most guys prefer the empirical way of writting code instead of taking a little time to think how the things must be done. Good designs reduce mistakes and debbuging time!

    Programming really becomes hard just when someone is trying to create something big while he's missing programming concepts or just while he is learning a new framework, api or programing language.

  • Hey, im trying to learn c++ and i have 2 questions:

    1) Were do you learn everything about c++, books?

    2) What do you need to know before you start use sdl, dark gdk or other game engines.

    Plz i need answers!

  • very well done

  • wth, at least load your maps from a file (don't compile a game per map).

    Programming is really easy, the hard thing is designing and mantaining your projects!

  • phaha sorry mate programming is very hard and designing and maintaning* is very easy

    implementing your designs is a whole lot harder

    1. you dont program or

    2. you copy and paste code

  • programming is really easy? HAHA! Sure... sure... I've been programming for three years, and I am still considered a natural. Designing and maintaining your projects are probably the most simple things you could possibly do. Let's see what the hell you've programmed, what games have you developed?

  • i agree with loading maps from a file, text file would be good in this case.

    as far as if programing is easy or not, i would side with no; however it comes very natural to some (i consider my self lucky enough to be in this group) however finding that one line that is screwing with your program is a pain... but i must admit even though i conciser my self lucky that programing comes naturally, even i struggle a lot at times

  • Are There going to be enemys?

    +

    Nice Work

  • very good work!

  • it's like super mario :D

  • Really cool, though the music is just a little over the top don't you think?

  • hey guys i ported this to your cellphones lol, maybe ill upload game footage tomorrow java MIDP hell yeah!"

  • @EdurarTe man i really like the way you make your hero jump can you plz give me your code for that i really need the jumping code

  • Awesome!

  • this is fucking awesome

  • Good job. Check out my platform engine too, posted it as a video response.

  • nice game

  • woww nice man (y)

  • Not bad, not bad. Keep it up.

  • Umm, this is has all of the things needed for a better game. It's a few lines of code to add more creative stuff like your talking about. Do you even program?

  • Comment removed

  • I wanna see you do something like this, ignorant fuck. And it isn't even a completed game! What, you can't read the title? Tsk. I hate people like you that open their mouth and let out a chuck load of bullshit.

    Go sit on a Judas cradle, and you'll do a favour for us all.

  • tyrt

  • nice use of collision detection with the tiling.

    what bothers me is not knowing how to implement a proper 'jump' using maths instead of the boring set gravity to -9 then back to 9 after you hit a wall or reach max jump height =(

  • What kind of proper math? using sin and cos and stuff? I wish I could, but it seems that its very hard.

  • dude you really should make a tutorial, it would help a lot of beginners like myself.

  • yea can u post the source code? i rly wanna try that sooo bad. Oh yeah excellent job it must have taken u some time to program that.

  • download please =)

  • can u post the source code

  • haha, a junpn run. watched about 5 c++ vids here on youtube now. they were all nice, but this i like most till now.

    where can i get examples for a simple game like this?

  • @21jumpp

    Please, don't get examples for something of this (relative) simplicity. Figure it out yourself. Examples mess up the learning process.

  • c++/java? explain.

  • wut?, this one is C++

  • hey man....where can i get a c++ code game? or where can i found a tutorial?

  • @EdurarTe He's on about the title of the game, it says"C++ game - by EnduraRte C++/Java game programmer

  • @dosattack777 : the c++/java part is only part of his title, no the game-title

  • how you made jumping?

  • You did this in C++? Wow, that must've taken forever. Impressive!

  • why is there mac cursor on windows?

  • @PowerPlanetTheGame : that is probably an SDL cursor

  • looks good, ill sub!

  • Omg I know how you got the blocks to where they need to be!

    did you assign the color of each box manually or did you just make the program randomly choose the 4 colors that you picked out?

  • looks like there is a specific color for each line of blocks.

  • thats pretts good actully mind if I asked how you made it? was it dark GDK XNA or just plain simple c++?

  • of course is plain C++ binded with SDL, im not keen to engines or XNA, i just prefer hardcoding.

  • I agree, when you get stuff like dark GDK and XNA you don't use any programming you use a game maker. lol

  • I agree. Engines CAN be slow and it takes out a lot of the fun coding process of making a game. Although it can really help when cutting down time for making a game.

    I can make a decent game using C++ and a game engine in a matter of a day while If I was just using C++ it would take at least a week to get it working.

  • cool game:D

  • good job man. this is good inspiration for me im learning C++ as a foundation for objective C to make iphone games with some of my buddies. but yea this is cool do you do the gravity using just some kind of algorythm applied to a positioning variable or what?? idk lol im not there yet

  • how do you the jump and gravity physics? My ways are always crappy.

  • thejahooli: you could try to use some physics egine, like box 2d for 2d games and tokamak for 3d ones. (don't even think of using havoc or something like it, It's sucks. Hard. )

  • NO no need of physics engine, that will slow down ur game, better write ur own pices of code, just ser gravity and whenever the players on air, decrease its y valu by 1 and when he detects floor, set it to gravity = 0 yspeed = 0 and thats all!!!

  • Comment removed

  • wow nice i gave up programming but now i have new reason to try again thank you i will try to burn my eyes trying to do it again

  • I've been bustin out some QBasic lately, and tearin' it up with some nested FOR loops in screen 7 to make a maze game with ascii CHR$(219).

  • i use visual basic, wat wud u rate c++ difficulty compared to that?

  • Visual Basic compared to C++? C++ is 100 times harder then Visual Basic. If you want to get into game development to get money, quit Visual Basic now!

  • ah i see. oh im actually not doin it 4 money, im just preparing 4 college. ima b a comp programmer major and i wanted 2 learn a few languages b4 i got there. i started w/ vb cuz i heard it was the easiest between vb,c++ and c#. now, how wud u say c# compares 2 c++?

  • I don't know. My guess is that c# is easier than C++.

  • i c, well thx. just outa curiosity do u know c++? if so wud u happen 2 know a gud source 2 learn it?

  • I learned C++ from cplusplus (DOT) com

  • yeah thats a really good website to learn it from. I was thinking about making some tutorials like exactly the way they teach it there cause its a really good site. and ps. ive been wondering how you make those windows apps in C++ because im still stuck with console application crap :(

  • Windows apps? If you want to make them the "Official" way, then learn Win32. I would say get good at console apps, then google "Win32 Tutourials".