The Complete Roguelike Dev Tutorial Week 1 - Setup & Initialization

Sdílet
Vložit
  • čas přidán 14. 06. 2020
  • Ombarus does the RoguelikeDev Complete Tutorial. Part 00 : Setup the python environment, part 01 : Initialize libtcod and display our first character.
    Check out my Roguelike Space Game ►solar-rogue.netlify.app/
    Support me on Patreon ► / ombarus
    Join the discussion on Discord ► / discord
    Twitter ► @Ombarus1
    Instagram ► / ombarus1
    Website ► www.ombarus.com
    Email ► ombarus.dev@gmail.com
    Github ► github.com/Ombarus/roguelike-tut
    Music ► www.bensound.com
    My name is Ombarus and I'm a programmer / game developer from Canada who moved to Japan and decided to try my own luck with game dev.
  • Věda a technologie

Komentáře • 41

  • @ZimmoYT
    @ZimmoYT Před 3 lety +5

    amazing content pls do more like this

  • @KlausWulfenbach
    @KlausWulfenbach Před 4 lety +14

    I did this last year. I managed to marathon the whole thing in a week and a half and had a complete version with a couple of my own tweaks. Then I tried to figure out how to make an executable binary and discovered why Python doesn't rule the world yet. It was like running a marathon only to find out that someone built a brick wall around the finish line.

    • @skaruts
      @skaruts Před 4 lety +1

      You could use py2exe or similar programs. Although, personally I had a bit of trouble getting an exe with pySFML, so it may not work with some libs. This was some five years ago, though, and I don't remember if I tested it with libtcod. I remember that it worked perfectly fine with pygame, right out of the box, no need for setting up anything. You could always try it out and see what happens.

    • @GretSeat
      @GretSeat Před 4 lety

      doesn't rule the world? What do you mean? Could you explain? I'm new, but does that mean that my roguelike won't be a huge open world? or something?

    • @KlausWulfenbach
      @KlausWulfenbach Před 4 lety +5

      @@GretSeat It means Python has a ton of user friendly features and is great for learning except for one giant pain in the butt problem: when it comes to making your own executables, you have to figure out how to do it yourself. This is not something beginners should be expected to do, and for more experienced developers like me it seems scandalously unprofessional. On reflection, it's probably done that way to developers don't have to rely on any one IDE for Python development. But when I zoomed through the whole Python RL tutorial in Visual Studio Code with little friction only to find out at the end that there wasn't an easy way to compile all the code I just wrote and that this was an *intended feature* of the language itself, that spoke volumes as to why Python isn't widely considered to be a "serious" language for software production.
      Of course it's great for hobby projects. I totally get that. Some people can make it work in a professional environment. I appreciate that. But I don't think I'll be using Python for actual software production any time soon.

    • @Pat315
      @Pat315 Před 3 lety

      @@KlausWulfenbach It's used primarily for machine learning, simulations etc.

  • @moonsteroid
    @moonsteroid Před 4 lety +4

    For a portable environment, as you talked about at ~ 1:45, is docker a great solution. Everyone can run your Docker exactly as you've configured it :)
    But I don't know if it's any useful for a client*

    • @ruadeil_zabelin
      @ruadeil_zabelin Před 3 lety

      You can't run tcod in docker properly since it doesn't output to a console. It renders to a window, which docker does not support. You can run technically if you're lucky (if it can find the xdisplay), it but you won't be able to see the game at all. A better way is to use v(irtual)env or pipenv.

  • @TackerTacker
    @TackerTacker Před 4 lety +3

    Great video even though the timing is a bit poor after you just got a shout out for your awesome Godot content from GDQuest :P

    • @Ombarus
      @Ombarus  Před 4 lety +2

      True. My game just released and it's a roguelike so I wanted to do something roguelike related and refreshing! It's a big event right now on r/roguelikedev

  • @philtoa334
    @philtoa334 Před 3 lety

    Nice.

  • @the_Googie
    @the_Googie Před 3 lety +10

    Im doing python tutorials right now to get my programming basics down, hopefully it will improve my Godot skills

    • @farwarak3936
      @farwarak3936 Před 3 lety

      Same

    • @rizla8602
      @rizla8602 Před 3 lety

      Godot support python?

    • @the_Googie
      @the_Googie Před 3 lety +1

      @@rizla8602 gd script is very similar to python also you can use python in godot just as many other languages

    • @seraph8293
      @seraph8293 Před rokem

      your programing skills in general will improve

    • @KaizarNike
      @KaizarNike Před rokem

      I've already made some rls in godot but returning to these videos to get ready for 7DRL jam.

  • @muckiSG
    @muckiSG Před 3 lety

    Maybe helpful for Fedora Users:
    sudo dnf install python3-devel SDL2 SDL2-devel
    If nor installed you get some error within thne pip install tcod command.
    hope it helps ...

  • @virgomaquiavelico58
    @virgomaquiavelico58 Před měsícem

    2:53 i can't download it, how you get that route?

  • @eternaldistortion9496
    @eternaldistortion9496 Před 3 lety +1

    I installed python and C++ but when i enter "py -m pip install tcod" i get an invalid syntax error, any ideas?

    • @Ombarus
      @Ombarus  Před 3 lety

      Sounds like the Python interpreter is not in your Path

  • @jamesmunroe6558
    @jamesmunroe6558 Před rokem

    Poetry totally kicks Pip's ass when it comes to packaging up preconfigured environments. Just a PSA FYI.

  • @kubasek175
    @kubasek175 Před 2 lety +3

    Hey! Could you, please, make a new tutorial? Many of the commands you used here seem to be depricated right now.

    • @sechmascm
      @sechmascm Před rokem +1

      You should follow the new tutorial. It uses contexts which make these functions not work properly. It's also much cleaner than this code

  • @mangonango8903
    @mangonango8903 Před 2 lety +1

    This is good but... How do i do it on Chromebook
    And not a good one... Its One of the shitty ones that school gives you

  • @spazetalkzz7903
    @spazetalkzz7903 Před 3 lety

    oh btw the window p1 opens, is not closeable by me even with task manager.

    • @Ombarus
      @Ombarus  Před 3 lety

      I'm not sure what you mean by window p1. Sometimes if the python interpreter gets stuck you can abort using ctrl+c a few times

    • @spazetalkzz7903
      @spazetalkzz7903 Před 3 lety

      @@Ombarus part 1

    • @Ombarus
      @Ombarus  Před 3 lety

      @@spazetalkzz7903 I See. I suppose you programmed the infinite loop for the game code. You'll need to add the key press to quit the game and exit the loop. If you're using my Notepad++ setup you can also abort the run in the console with ctrl+c. To kill it from the task manager you need to kill the python process not the window.

    • @spazetalkzz7903
      @spazetalkzz7903 Před 3 lety

      @@Ombarus well i progressed since then, I learned 2 things: 1 how to make a roguelike. 2. batch sucks.

  • @danieldo545
    @danieldo545 Před měsícem

    The intro sound effect is a bit harsh on the ears

  • @rmt3589
    @rmt3589 Před 2 lety +1

    Me: *Fluent in html and css trying to learn python*
    Video: ...is equivalent to [incomprehensible dialog] in Java or C++
    Me: I don't know what any of that means... T^T

  • @christopherchilton-smith6482

    Does this even work anymore or am I just stupid?

    • @Ombarus
      @Ombarus  Před rokem +1

      I believe there have been major changes in libtcod since the video was made so you might need to install an old version or look at a more up-to-date tutorial. You can look at the text version on rogueliketutorials.com/

  • @Feetrex
    @Feetrex Před 4 lety +7

    This is not beginner friendly.

    • @Ombarus
      @Ombarus  Před 4 lety +3

      Sorry. The Complete Roguelike Tutorial is aimed at people with a basic understanding of programming. But if my explanations aren't clear let me know and I'll try to explain in the comments.

    • @ss-oq9pc
      @ss-oq9pc Před 3 lety +6

      @Feetrex You made the same mistake I did, trying to learn programming with making games. It just makes things a lot more complicated than they need to be.
      Learn the fundamentals first doing very simple things and don't move on to the next thing until you have a solid grasp on them, try to have some fun with them too. This is the channel that made everything click for me because he used diagrams. I hope it's just as helpful for you.
      czcams.com/video/AaIdperUu-A/video.html
      Watch his videos on python classes, methods, functions, the basics of programming all of that. Stick with python too, it also makes things less complicated, once you have a solid understanding of the fundamentals then you can branch off.
      Also, if you have questions you can google it with keywords of 'stack overflow' . Chances are it was already answered there.

    • @Feetrex
      @Feetrex Před 3 lety +1

      @@ss-oq9pc do you have discord? mine is @feetrex lets chat there

    • @justsomenamelesssoul8097
      @justsomenamelesssoul8097 Před 3 lety +2

      @@Ombarus Programming isn't problem, speed is. You are too fast when explaining concepts and stuff, you don't give people any time to process data at all.. I had to press pause after each couple of sentences just to "think through it" and realize what you just said..

    • @sirkane5727
      @sirkane5727 Před 2 lety

      I don't know how to code at all yet but I can follow simple instructions