Creating a Game Map with C++ and SFML - Tutorial

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 30

  • @Zenva
    @Zenva  3 роки тому

    Access COMPLETE COURSES on C++ development here: academy.zenva.com/product/cpp-programming-bundle/?

  • @JyotiJyotiJyotiJyotiJyoti
    @JyotiJyotiJyotiJyotiJyoti 3 роки тому +25

    Me: *Dials 911
    911: What's your emergency?
    Me: I see a video on UA-cam and the person is doing illegal stuff in it
    911: what's he doing?
    Me: he isn't using dark theme!!!!

  • @stonedcodingtom9097
    @stonedcodingtom9097 2 роки тому +3

    Tip if you have linker issues despite of using ifndef.
    In main file don t include .cpp files, include only .h files

  • @wewliusevola
    @wewliusevola 2 роки тому +1

    Fantastic stuff, love the pace you go through it all.

  • @Aragon947
    @Aragon947 Рік тому +2

    I would recommend to learn c and then c++ basics (like pointers, structs and memory management in c and after classes in c++). After start with games. (why c? because you will not be overwhelmed in the beginning). If you understand c/c++ you can learn any other langue. But it needs a lot of time. To get good for real in c++ will take you 10 years and it will be really hard. But it is a lot of fun. It is not a easy Job. There is a reason for this high salaries. Don't over use chat bots. Give yourself the opportunity to find your own creative solutions. Start with really easy stuff like howto make your own putchar in c only with write(). after your own putstr. a strlen funktion and so on and pleas learn to write short functions from the beginning max 25 lines per function. It will pay out on long term.

  • @stonedcodingtom9097
    @stonedcodingtom9097 2 роки тому

    Nice tut! Thank you!

  • @mini_rudolfrudolf7659
    @mini_rudolfrudolf7659 2 роки тому

    good vid for beginners like me. really love ur content

  • @antomegaytb
    @antomegaytb Рік тому

    Why header files as .h when coding in C++ ?
    Shouldn't they have the .hpp extension logically ?

  • @negaly1207
    @negaly1207 3 роки тому +2

    Thank you so much that helped me a loooot

  • @mateagulashvili4817
    @mateagulashvili4817 2 роки тому +2

    I get an error saying vector subscript out of rangem what do I do?

    • @kykon1638
      @kykon1638 Рік тому +1

      did you find a solution? :D

    • @bakje
      @bakje Рік тому +1

      i have the same issue...

    • @richardboerst7754
      @richardboerst7754 5 місяців тому

      Same thing here

    • @richardboerst7754
      @richardboerst7754 5 місяців тому

      Fixed my vector issue with "setUpTiles();" in the GameWorld::setUpInitialState(){}. Looks like i simply forgot to call the lil fella.

  • @kzcshorts5858
    @kzcshorts5858 2 роки тому

    Hello!please tell me which software u use for creating sprites,character,background,block,gun etc.I am learning inkscape for it.Is it worth learning.Plz reply

  • @projectvibe1226
    @projectvibe1226 2 роки тому

    Im not an expert or anything but cant u do a double for loop while setting up the tiles instead of hardcoding it

    • @AydenA
      @AydenA Рік тому

      You could but you would need something inside the loop assigning each tile, meaning you need to find a way to feed the loop information so that it knows what tile goes where. If you studied file streams for CPP, I would recommend trying to use a .txt file with tile names or something similar.

  • @dandymcgee
    @dandymcgee 3 роки тому +4

    Bruh why is your editor zoomed in so far that you can only see 3 lines of text at a time? It's so hard to read.. 1 letter takes up my whole screen. :P

    • @mimiko-c4m
      @mimiko-c4m 3 роки тому

      yes

    • @mikamulperi
      @mikamulperi 3 роки тому +1

      The font size is perfect. Why would you want to see empty background 90% ?
      Also this way we can see it in mobile screen also.

    • @owen8500
      @owen8500 3 роки тому

      Eh, i can see at least 20 lines of text, are you wearing magnifying glasses or something?

  • @madisonwainwright5444
    @madisonwainwright5444 Місяць тому

    882 Mertz Rapids

  • @DArK-xj8lr
    @DArK-xj8lr 3 роки тому +1

    Epic tut. But I have a small doubt...
    SFML vs SDL?

    • @acidrain9924
      @acidrain9924 3 роки тому +2

      Sfml is easier
      If you are just starting out, I think SFML is a good choice.

  • @abdulalim757
    @abdulalim757 3 роки тому +1

    Sfml game