C++ game
1:17
Added: 3 years ago
From: soccergod561234
Views: 15,607
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (87)

Sign In or Sign Up now to post a comment!
  • Pretty little game... earlier I´ve maden some similar games, but now I ma trying to make some bigger projects in CMD (try to look for CMD Burnout video)

  • hey dude, not bad, can you make a video on how to make it??

  • @TheLifelessPlanet Nah I switched computers and just didnt bother copying anything over, I was 11 at the time I made it and didnt have the foresight :P

  • @soccergod561234 can this be done with an ordinary windows notepad?

  • @TheJimzhe842 No, c== in a language which requires a compiler. more basic languages such as php and html can be saved directly as .php or .html source files, however a c++ file cannot. I recommend looking into the dev c++ compiler if your looking into c or c++ programming

  • omgosh dude please give me tips. I was wanting to make something like this however I cant google anything like this

  • @LoveandAwe119 google c++ tutorials :P This game used all of the techniques I learned froma website tutorial, and I just put it together and bam. Its mainly just text output, variables and input and I think I used a data array just to use one, even though it wasnt needed

  • kannst du mir den code schikn

  • @megaXDundLOL

    Wer lesen kann it klar im Vorteil O.o

    DER HAT ES VERLOREN ^^

  • I didnt know know hobo's are monsters

    Cool game though

  • ooh,  xD text based fighting game xD

  • no graphic no sound effect try using SDL

  • @sam421kc

    No brains. No usefull comments. Try getting a life!

  • @sam421kc The video is almost 2 years old.

    The OP obviously wrote it in text-mode. If he was aiming for fancy 2D graphics, he'd most likely have used Allegro, as it works great with DOS/command console. :)

  • how do you make pictures in your games that scroll? i know how text games work, but how do you make picture games in c++?

  • @SPcopyright the allegro API, its used specifically for buffering images and such. :P

  • how do u clear the text and like start again ?

  • @DiscJockeyAce system("clr"); or something like that.. havent touched a compiler in a few months, little rusty, sorry.

  • @soccergod561234 i heard system should mostly never be used. becaus its slow or something try google it

  • @Necry3d Thanks for the input :P however in a small text based game like this, recalling data in slower or faster speeds makes no difference. The only time you would ever be concerned about the speed in how fast something happens in c++ would be when your looking through a data array or something large.

  • @Necry3d System is not slow.

    Its just inherently flawed. It forks a new process with the name specified and "pauses" the old program until the forked process ends.

    The big flaw here is, If the executable launched isn't what its supposed to be.

    Also if the forked process crashes then it MIGHT also crash the old program.

  • @soccergod561234

    Its "cls" to clear the screen.

    However you get the basic idea.

  • @DiscJockeyAce system("cls");

  • @DiscJockeyAce soccergod561234 is right, system ("clr"); works fine, but ("CLR") is more visible

  • @DiscJockeyAce

    system("cls");

  • Haha Nice Man!! :D Its Awesome :)

    Would You Mind Giving Me A Hand With Programming ? xD

    Ahmed.Samir@live.co.uk

  • @DiscJockeyAce I wouldnt mind, but im very rusty, contact me at soccergod@gmail.com

  • @soccergod561234 Thankkss Bro :) !

  • @DiscJockeyAce

    also, if it helps you, check out the C++ programming tutorials of thenewboston, their very handy!

  • how did you did then you enter something old text deletes and new one apears...

    line in : 0:20-0:23

  • dude nice game!

  • Hey man, that's pretty cool!

  • I hope you didn't put that much time into this game. Even for a whim this is kind of poor.

  • @ichiman14 eh... what?

  • Cool sound:D

  • can you tell me or teach me howt o make a game like this but a little better? im a begginner C++ and i dont get it :P

  • so have you gotten any better since this vid?

  • Lots lol, this was just a game I created out of boredom and Im stepping back into programming, Im going to finish learning allegro, then Im going to move onto some 3d stuff.

  • How do you make your text green?

  • its the default CMD text. but If I remember right, and someone correct me on this, you could just do a simple COLOR = statement to change the color, again, not sure of the syntax. google it?

  • system("COLOR a");

    I just looked at my code for a different game.

  • Comment removed

  • No I made it a monster RPG to start with, then i went back and made the beginning funny after I was revising it. I wrote it when i was twelve. I had an odd sense of humor lol.

  • nice game!

    my first game was like this one =]

  • Well Mr. FlyBoy!!! Mighty Creative are you?? i believe soo :P i have to spare time to do that. nor the patience.. good job.. And there are many other computer people commenting this photo. so i figured i shall comment this to feel smart even tho i have to brains to remember how to make anything.. haha

    ~WingGirl :]

  • EPIC DOS RPG FIGHTING GAME!

  • Thank you :)

  • can i have some code from that game please? :D

  • he has LOST the code. 0:12

  • aww! *sad face* i'll right some code my self then! i just don't know how good it will be. be more careful next time. i wan't to play that game too!

  • Ha well I could easily rewrite it in psuedo code for you. Just contact me via youtube, ill help :)

  • soccergod I know the basics of the BASICS of C++, meaning I'm a newbie, but I managed today to make a Tic Tac Toe DOS game using if else, loops and operators.

    Can you give me some advice on how to make RPG text-bases games, like what other stuff I need to learn (functions, arrays etc). I would appreciate that a lot  :) !

  • Well, anything can be done with just variables. However if you want to keep your code organised and easily readable learn how to use functions and arrays and get a basic knowledge of data tables. Using those also helps people solve your problems so the code can be easily read.

  • Ima make Brawl 2.0 :D (2d game :P)

  • lmao i tried that, i cant get tile collision working right so im tkaing a break from programming and working on varsity socer, i make my debut monday so thats pretty big lol

  • you better get practiceingg! you needd to win that debut thing u have going on! haha

  • Where is your evidence that it is batch -.-

  • Comment removed

  • you can do this with batch AND c++.

  • No, just C++

  • dang, i was going to make an RP game so incredibly similar to this lol

  • pretty neat man, I made somthing similar to this not long ago yours is better though cos I never finished it lol 5 stars anyway.

  • Simpa isn't the only person!!! :-D

  • lol, glad I came across you!

  • I LOVE IT! <3 8D

  • haha, thanks =) glad to see people like it!

  • Neat little game.

    However, this has nothing to do with Shattered Wrath so I'm removing it as a video response.

  • haha, thats ok I only posted it as a response because the text based combat system was similar. Shattared Wrath looks awesome btw, let me know what your professor thinks of it ;)

  • Hello, now i might ask stupid though, Allegro, SDL, is 2D librarys right?, and Opengl and DX9 is 3D librarys right?. Because what Books do you recommend me to get learning to make 3D games?, i'm learning to make Textbased games now (a little borign though :D), nice game you made though :P.

  • lol yeah TextBased games can get a little dull ;) and yes, allegro/SDl are 2d Graphics Librarys and for 3d Id either recomend online tutorials for DX9 but OpenGL is supposbly more user friendly and again.. online tutorials ;) If need be you could also go onto Amazon . com and look for books on that subject, there would undoubably be a lot of book on that subject matter, Im sorry I dont have alot of information on books lol, Ive never really used them I only use my one C++ book as a reference :)

  • You can use OpenGL and DX9 to make 2D games, it's just a lot harder. Also OpenGL only handles rendering so my recommendations would be use SDL with OpenGL for 3D games.

  • OMG AMAZING GRAPHICS

  • ik man! I spent like an entire hour writing this, and I mean, those graphic engines REALLY made a difference, you notice how the words are so properly shaded? well I do, and by god, it sure was worth the effort.

  • Lmao

  • obviously someone has to start somewhere, and with some sprites, ect this could be a good game

  • shit

  • hm? in a good way? or what?

  • Approval from poland is always welcome here.

  • GJ Man!  Hey are you planning on getting into 2d stuff?

  • Yeah ive dipped into SDl and Allegro im not sure which im gonna go with though, probably SDL because its better for games and only a little more of a learning curve :P

  • Allegro is good, I suggest you learn that before SDL.

  • yeah ive learned more allegro than SDL and honestly i might just go from allegro to something 3d, OpenGl or DirectX

  • If you use OpenGL, you will need to use something else for sound and user input. OpenGL only handles rendering (2D or 3D).

  • Why?

  • eh I dont really see myself doing any big projects with 2d and allegro gets the job done and teaches the basics such as buffering etc. which is all the skills you really need imo to begin to learn something 3d (besides c++)

  • Hey nice dude, really creative. I never thought of something like this when I was working on text base games.

  • Thanks man :) means alot to have someone think of my game like that :D

  • ok, ... I like the music--i don't get it

  • lol its just a game i made in c++ out of boredom then decided it was good enough for the world to see :P

  • Its cool, I just don't understand, but Its prob. just me!

    LOL

    :-)

  • nice job

  • Thank you :)

  • lol I always win XD

  • Victory :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more