Command Prompt Console Game Engine

June 23, 2020

A game engine entirely for the command prompt?

Firstly – Yes this video is not on my normal release schedule, secondly – DON’T PANIC!! I’m not radically changing my approach to videos, but I’ve created a little helper class to assist with some future videos – and thought it would be useful to have this video as a resource to reference. I’ve created a little “game engine” that only uses the command prompt – which allows me to focus the code to just the cool stuff, and less of the “boilerplate” code – drawing to screen, setting up resolutions etc…



Xem thêm bài viết khác:

All Comments

  • Is it a lot of trouble to go a step further, and set up web sockets to enable webgl/html5 gameplay written in javascript to execute in our homemade terminal? 😁

    Ross Marinaro June 23, 2020 6:09 pm Reply
  • 4:51 why is there an 'L' before the '#' symbol? What does it do or change?

    Richard Toth June 23, 2020 6:09 pm Reply
  • Great video, my friend. Thanks for posting.

    Computer Cowboy June 23, 2020 6:09 pm Reply
  • Fucking legend mate.

    King Zeeb June 23, 2020 6:09 pm Reply
  • this dude made unity in the console!
    you are a legend man!

    Happy tiger June 23, 2020 6:09 pm Reply
  • I subbed to you
    which visual studio are you using – community, professional, or enterprise?

    PingoG June 23, 2020 6:09 pm Reply
  • Thank you for all your videos. I have a problem with olcConsolegameEngine. When setting windows 10 text to be bigger at 150% the engine gives error: screen size or font to big. Searched on google but solutions didnt work. Is there an solution? Thanks again

    mariol novaku June 23, 2020 6:09 pm Reply
  • 0:04 Thats moost satisfiing!

    Kočička Scratchi June 23, 2020 6:09 pm Reply
  • So ive been playing around with console buffers. Followed so far as where he has loop drawing to screen buffer, I can't figure out how to lock the buffer to a certain number of pixels wide and tall. As in, 80 pixels wide and 30 tall in this example. Could I get some assistance?

    R C June 23, 2020 6:09 pm Reply
  • <3 You were here for the nes emulator, and you are here for this! I love your video style and descriptions!!

    Kimiru June 23, 2020 6:09 pm Reply
  • Sorry I'm completely new to C++. What compiler are you using? Is there anything specific I need to install before I can use your code?

    AgilePeanut June 23, 2020 6:09 pm Reply
  • Which language is this?

    Denis Erdogan June 23, 2020 6:09 pm Reply
  • Cool idea 🙂
    But I have a problem with my adaptation of it:
    When I try the same "random color" algorithm, my FPS drop to 10 or below. Can you or someone else help me with that? I can give you the github link.

    Kevin Eichenberg June 23, 2020 6:09 pm Reply
  • Another good reason to abstract this out: On Windows it's easy to do this using a couple platform-specific features. Okay, but what if you're coding on a Mac? Or on Linux? You'd want curses for that probably. Which is fine, on any Mac or Linux system, you're going to have that available. Trivial to implement this class for ncurses. This is what classes are made for!

    Inareth June 23, 2020 6:09 pm Reply
  • You are one of the best programmers i have ever seen, if not the best, i like your videos so much i am trying to follow the tutorials… From Python XD, its not easy, but it seems possible for now. In fact i have really thought of switching to c/c++ becouse of you, but i am in love with Python, anyway, i love your videos and your Channel,
    PS: im looking forward that NES emulator tutorial, if i can make It work in Python i will feel like god.
    Keep It up.

    Recruit_main707 June 23, 2020 6:09 pm Reply
  • You are such a huge inspiration for me to keep learning code! One day I would like to make my own class that I could share with other people. Thanks for these entertaining yet informative videos! You deserve more subscribers!

    K1NG SAVAGE June 23, 2020 6:09 pm Reply
  • hey can you code an FPS game in Cmd?, i've tryed to code the animations, but it just stucks

    Madenman's mom June 23, 2020 6:09 pm Reply
  • Hi therehow do you parse long command line arguments with Visual C++in linux you have getopt.h what about with Visual C++ is there anything like that?

    Veso266 June 23, 2020 6:09 pm Reply
  • I am using python to make a bunch of calls smoke stuff. I didn’t know you could set the pixel height and width. I am trying to figure out how to do this in python and in the Linux terminal too. If I can’t use python I was hoping I could maybe make a wrapper for it. Man this is amazing! Your videos are awesome. Been watch for about a year now even though I’m not a C++ programmer. Maybe I should be.

    Cowboy 8625 June 23, 2020 6:09 pm Reply
  • How do you get command prompt?

    halmar chesta June 23, 2020 6:09 pm Reply
  • Holy cow. i know i am a little late in terms of the video release date but that like/Dislike ratio. Good video btw (if you see this).

    Alexander June 23, 2020 6:09 pm Reply
  • You, sir, are the greatest programmer in history.

    dopplegangerdavid June 23, 2020 6:09 pm Reply
  • As someone said a year ago, you are a wizard! I've got to know how you did this… did you define a custom font, like they did on the VIC-20 and other ancient systems? Did you rig up some kind of GDI+ or DirectX hack to put all that on the screen? Or is it just ridiculously clever ASCII art? I've never seen anything like this, except for modern terminal emulators (i.e. cool-retro-term on Linux). Thanks! 🙂

    Miguel0n June 23, 2020 6:09 pm Reply
  • YASSS!

    Paul-Gerriet June 23, 2020 6:09 pm Reply
  • i am new to your channel. i have a basic knowledge of c++. found your channel really interesting . My question:
    i saw that you used olc game engine so i searched sand found this video. is this beginner friendly?

    Anas Aziz June 23, 2020 6:09 pm Reply
  • I'm just beginning to learn C++ and was wondering if you have any really basic videos describing the screen buffer function and while lopp etc. that you mention around 00:50?

    George Sears June 23, 2020 6:09 pm Reply
  • but how do you do to make it smooth, mine just takes time to load so when i update the console the last lines become delayed to load and it doesn't look good

    VLADXD June 23, 2020 6:09 pm Reply
  • I am a beginner. To me it does not look like he is using the command prompt.
    What is the program he is typing the code in to? My command prompt does not have numbered lines.
    I know my question is kinda dumb I bet but I do not get it. I am sure I am just missing something.
    Anyone want to help?

    Andrew J June 23, 2020 6:09 pm Reply
  • can i make something like that in C#?

    LULWs June 23, 2020 6:09 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *