Super Mario (C++ & SFML)

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 119

  • @SkillMinecrsft
    @SkillMinecrsft 7 лет назад +184

    Who would dislike such a cool project?

  • @samljerify
    @samljerify 6 лет назад +48

    Who disliked this? Anyone who’s made anything knows what this took to do, good job.

    • @ngry-k7381
      @ngry-k7381 2 года назад +3

      A non programmer maybe. Some kids talks a lot even knowing a shit about programming

  • @guilleacq
    @guilleacq 7 лет назад +43

    It looks satisfying

  • @rainnoise2056
    @rainnoise2056 6 лет назад +7

    Это божественно! Графика/анимация на высшем уровне, а вот звук прихрамывает

    • @ivankaftulin5857
      @ivankaftulin5857 6 лет назад

      Уровни и звук взят из старой версии игры

  • @llamasarus1
    @llamasarus1 3 года назад +3

    A very nice graphically re-imagined implementation of a great platformer

  • @LienoGenesis
    @LienoGenesis Год назад

    This is SOOOOO nicely done

  • @matthagg
    @matthagg 6 лет назад +2

    Wow. That’s pretty great! Good job.

  • @phamtranhoang251
    @phamtranhoang251 3 года назад

    Can't ignore this game with special thank to developer.

  • @boyinpyjamas
    @boyinpyjamas 3 года назад +1

    Amazing work

  • @mattvonwenden5405
    @mattvonwenden5405 6 лет назад +17

    6:04 huh?

  • @DarkestVampire92
    @DarkestVampire92 2 года назад

    That is super impressive.

  • @xRockmetal26x
    @xRockmetal26x 4 года назад +1

    Awesome game :) thanks for sharing

  • @RoseyLegs
    @RoseyLegs 7 лет назад +24

    Nintendo got nothing on this

  • @VortexBoos
    @VortexBoos 3 месяца назад

    This is how SNES version should have been like

  • @samljer
    @samljer 5 лет назад

    couldnt look away, good job.

  • @Just12965
    @Just12965 4 года назад

    GREAT WORK!

  • @ricardo57389
    @ricardo57389 3 года назад +1

    I would love to have a step by step explanation on how to install all those 3rd party libraries so I could play this game and maybe make one game learning from this one

  • @alkouille2794
    @alkouille2794 6 лет назад +1

    great job

  • @nqloivn
    @nqloivn 7 лет назад +13

    Sound so "HD", can I get a copy of your theme song?

    • @ShyDigi
      @ShyDigi 6 лет назад

      Quocloi Nguyen but other its just th original...

  • @filiphedman4392
    @filiphedman4392 5 лет назад +1

    This is absolutely mind blowing. So good.

  • @SkyenNovaA
    @SkyenNovaA 5 лет назад +2

    You legend

  • @lamtungphan1020
    @lamtungphan1020 6 лет назад +18

    Can you upload this source code, i've studied C++ 3 month and i really really want to be a game developement, so i really want this game's source to study more and more about game dev by C++

  • @In-N-Out333
    @In-N-Out333 7 лет назад +23

    Great upload. Just curious: why did you use opengl for a 2d game?

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  7 лет назад +38

      Actually, there is nothing strange here.
      In our time any graphics oriented application (CAD, Web-Browser etc) uses hardware acceleration i.e. OpenGL or DirectX API.
      - Firstly, an application became much more faster (x10-x1000) FPS than use CPU only.
      - Secondly, OpenGL is de facto cross-platfotm standard 3D API. i.e. code can be easily portable to any other platform. (Linux,Android etc).

    • @In-N-Out333
      @In-N-Out333 7 лет назад +4

      Cool, so you used primarily for speed and portability. I thought it was mostly used for graphics, like creating certain visual effects or messing around with the lighting. I learned something new, thanks!

    • @jgordon7719
      @jgordon7719 6 лет назад +2

      Sonic Mania Is A great example of a recent commercial game written in c++ using opengl

    • @chappie3642
      @chappie3642 6 лет назад +2

      @@jgordon7719 every modern game is made in OpenGL or DirectX, every game like Gta, Rainbow 6, far cry and so on

    • @jgordon7719
      @jgordon7719 6 лет назад +1

      Are you answering a question or just making a statement? I was just making a statement

  • @akj7
    @akj7 5 лет назад

    So this is the Super mario maker 2 i have heard so much about!

  • @zainliberty4084
    @zainliberty4084 6 лет назад +2

    code well, and play well!

  • @filiphedman4392
    @filiphedman4392 5 лет назад

    Simply amazing

  • @smartconjurers2509
    @smartconjurers2509 4 года назад +1

    How much time did it take to make this game???

  • @zayyanabbas4958
    @zayyanabbas4958 6 лет назад +2

    Mario maker - Advanced Mode

  • @kartikpandey8739
    @kartikpandey8739 5 лет назад +2

    This looks so original that people are over looking the fact that its redesigned\engineered.
    So LOSS

  • @nematjonabdulloev3568
    @nematjonabdulloev3568 Год назад

    Compared to sdl2, I notice some friction. Is it implementation detail or library detail? Is SFML better than SDL2?

    • @arthurvieira2104
      @arthurvieira2104 Год назад

      If you're talking about physics than that has absolutely nothing to do with the graphics library

  • @holtras8786
    @holtras8786 6 лет назад +1

    Wow its amazing. What was the path of your learning. What books do you recommend to study. And i dont understand how you implement mechanism levels. I do by file .txt. Can you explain me this? Sory for my english iam from poland.

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  6 лет назад +3

      I have commented it's earlier: go from very casual games to more complicated ones.

      There are many different books for gamedev.
      But beyond basic background (language, math etc) no one can entirely more or less describe gamedev field.
      Rather you have to find and collect pieces of information around the internet articles, forums etc.
      In my implementation, levels games stored in XML files (tmx - tiled editor format).
      There are two layers:
      - tiles layer
      (blocks, background decoration: clouds etc)
      - game objects layer (enemies, elevators, level portals etc)
      So levels designed entirely in tiled editor (very easy and fast) including levels and sublevels transition.
      Person who don’t know programming though tiled editor (modifying XML files) can easily make game levels.
      Game only loads this files, parsed and creates corresponding entities for populating game level.
      There are no code hardcoding.
      Main rule for it - separates game developer and game level designer job.

  • @the_zlatk0
    @the_zlatk0 3 года назад

    how much time did this take?

  • @Minh-si1zz
    @Minh-si1zz 3 года назад

    How do you get game assets (sound,texture)? Do you create yourself or you download?

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  3 года назад +2

      Some sprites I got from JinnDEvil (search in the google "JinnDEvil super mario"). it basically inspired me. Some sprites I got from Super Mario All-stars and up-scalled it.
      Sounds I got from NES resourses.

  • @holtras8786
    @holtras8786 6 лет назад +2

    And i ask you for advice. I write mario game too. And my mechanism depends on singleton and mainly four loop to check collisions. Character-obstacle, Mario-character, Thing(coin,mushroom)-character, Thing-obstacle. I have too function specifying whether the object is visible in the window. if so, I draw and update it. What do you think? its good solution?

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  6 лет назад +2

      There is no complete answer for yours question.
      It’s depends from your game architecture and design.
      There are too many ways to implement it.
      In any case it’s must be clear, flexible and scalable solution, as possible.
      As rule any kind of game object can be derived from common class (Game entity for example).
      So in most common case you have two loops
      Game::update (delta_time)
      //loops for game objects
      GameObject::update(delta_time)
      // loops that check collision
      // through scene game objects
      this->getBounds().isIntersect(other->getBounds()) //collision detect
      Yes, you can use additional optimization for updating and drawing game objects (that only visible in the screen).
      You can download my source code and learn something new.

  • @emilyy03
    @emilyy03 4 года назад

    Looks like a pretty solid remake or engine

  • @b10gaming2
    @b10gaming2 3 года назад

    I will play GTA V and post it and give it a title GTA V using sfml or may be graphics.h library

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  3 года назад

      and will u attach a github link to the related source code in the video description? nab

    • @b10gaming2
      @b10gaming2 3 года назад

      @@andreyparfenyuk3852 arghh may be not

  • @RoshanPradhan2
    @RoshanPradhan2 4 года назад +1

    Isn't this original?

  • @muyvello4646
    @muyvello4646 3 года назад

    Could you pass the source?, Please, I like study those things :(

  • @АленТурумбетов
    @АленТурумбетов 4 года назад

    why folder tinyxml is empty?

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  4 года назад

      It's a git's submodule.
      Use "github.com/PfAndrey/supermariohd.git --recursive" to clone all data.

  • @vadymvatsenko2137
    @vadymvatsenko2137 Год назад

    Привіт, Андрій, бачу ти з України, ти ще займаєшся програмуванням c++? Ти навчаєш новачків?

  • @MiRRoRRek
    @MiRRoRRek 5 лет назад

    How many times you tried to record this video? xd

  • @MrGrandepip23
    @MrGrandepip23 6 лет назад

    What do you use for the physics? Do you use Box2D? Thaanks

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  6 лет назад +4

      No, but you can use Box2D in this purpose. Although there is the opinion that using of physics engines for platformers is really bad idea.
      There are lot of information about game physics in the internet. If you want make physics from scratch you can do that step-by-step like me:
      1) Base Mario moving with acceleration, friction and gravity forces - school course of mechanics.
      2) Tile map vs characters collision detection and response - separate axis collision method.
      3) Mario vs Items (different sized rectangles) - rect vs rect continuous collision detections.
      4) Moveable platforms - simple mechanical equations.
      5) Mario vs Platforms moving detection - slightly advanced item 3 .
      PS: But you can use Unity2D for platformer and making game without any lines of code (or very small amount of code) as example.

    • @MrGrandepip23
      @MrGrandepip23 6 лет назад

      Thanks a lot!! Amazing answer. I appreciate that so much. I know to use Unity and other engines to make games. But some times it's very pleasant when you only make the game using code. Because you can learn more because it's harder than using a game engine. Thanks for the tips and I am going to think about the physics how I am going to implement them, if using a external library or done for me.

  • @shobhitverma2478
    @shobhitverma2478 4 года назад

    I am getting error while building project

  • @rohansingh1584
    @rohansingh1584 2 года назад

    Where is the start button ?😂😂

  • @Aquel_driver.
    @Aquel_driver. 3 года назад

    Controls?

  • @둘리형아
    @둘리형아 6 лет назад

    와.. 좋은정보 보고갑니다!!

  • @tomay3000
    @tomay3000 5 лет назад

    What about SDL2! Have tried it?

  • @shahabmeteor8975
    @shahabmeteor8975 4 года назад

    Thanks for the video, The option of 2 player doesn't work in the game (can not select the 2 player option, it doesn't select)

  • @stickeronepice5495
    @stickeronepice5495 5 лет назад

    i need Source code window, you can give for me?

  • @mateuszodrzywoek8658
    @mateuszodrzywoek8658 6 лет назад

    Looks like a flash game

  • @majedhk5460
    @majedhk5460 5 лет назад

    DAAMMN SON

  • @SwastikAayush
    @SwastikAayush 3 года назад

    Great job bro please make a tutorial if you want

  • @mauzi4473
    @mauzi4473 6 лет назад

    how to run the source program on the system ??

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  6 лет назад

      Download source code, open it in vs2017 community and compile project. There is readme inside for more information.

  • @elikemmedehou
    @elikemmedehou 5 лет назад

    What do you smoke ? Please I need some teacher !!
    :-) amazing game

  • @kstudios4046
    @kstudios4046 2 года назад

    uhh wrong textures

  • @BomberKing
    @BomberKing 4 года назад

    Congratulations
    Can you help me to turn the view like how you did?

  • @patrickc.9472
    @patrickc.9472 7 лет назад

    mario + fire flower = luigi. 0:41

    • @EzzSo
      @EzzSo 6 лет назад

      Kiddo hahaha XDXD

  • @geekerofficialchannel4445
    @geekerofficialchannel4445 7 лет назад +1

    Can you upload the source code? I want to study

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  7 лет назад +1

      Ok. I put out early draft source code of mario.

    • @richardc9325
      @richardc9325 6 лет назад

      Geeker Official Channel I have a source code of Super Mario World in Python, it’s very messy

  • @XaluDadayev
    @XaluDadayev 4 года назад

    Так держать. Классно написано.

  • @Тэмми-у8ж
    @Тэмми-у8ж 6 лет назад

    Remastered

  • @cppprograms5868
    @cppprograms5868 4 года назад

    Like

  • @TheFrostSnowball
    @TheFrostSnowball 6 лет назад +7

    There are 115 Fortnite fans watching this.

  • @witM90
    @witM90 5 лет назад +1

    Jeśli jesteś początkującym programistom lub NIE MASZ w ogóle doświadczenia to wejdź w link. Piszemy gierkę, Arkanoida w c++, tłumaczę przy tym podstawy informatyki i programowania gier. Wymagana podstawowa znajomość matematyki. Zapraszam: ruclips.net/video/ooyyZpyL2do/видео.html

  • @ahedmoh9038
    @ahedmoh9038 6 лет назад

    I want the code plese

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  6 лет назад

      bitbucket.org/AParfen/supermariohd/src/master/
      Early draft, see readme

  • @josenavaro3195
    @josenavaro3195 2 года назад

    WHERE IS .EXE FOR PLAY. tHANK YOU

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  2 года назад

      You can build it for youself ;) see description

    • @josenavaro3195
      @josenavaro3195 2 года назад

      @@andreyparfenyuk3852 I have c++ from borland and I don't know how to build the game, what file do I have to open for the compiler to create the game and be able to play it.
      How do you get to play it? Thank you,

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  2 года назад

      @@josenavaro3195 C++ builder is suck. Try to instal Visual Studio Community Edition (is free). Also install Git-bash and CMake. There are instructions inside. (install OpenAL also)

    • @andreyparfenyuk3852
      @andreyparfenyuk3852  2 года назад

      @@josenavaro3195 I share with you win build. Please check if it works for you: drive.google.com/drive/folders/1QT3IUdJOlSxJYgtf3LRouZiP7-sp2vaH?usp=sharing

  • @edsoncobrinhasilva3606
    @edsoncobrinhasilva3606 6 лет назад

    isso. e. super. Mario. Bros. misturado. com.
    Mario. all. stars

  • @SURINDERSINGH-nk4lx
    @SURINDERSINGH-nk4lx 6 лет назад

    sir coding ki e

  • @woozlebuka
    @woozlebuka 5 лет назад

    красавчик!

  • @ZinaidaSemenivna
    @ZinaidaSemenivna 2 года назад

    ☻ Достойное видео!
    Есть еще один интересный пример связки sfml + OpenGL - вариант клеточного автомата в 3D
    ruclips.net/video/K2p8EzQq4og/видео.html

  • @fictionfiction9060
    @fictionfiction9060 6 лет назад +1

    chutiya sala>>>>>>

  • @montesaoliveros4816
    @montesaoliveros4816 4 года назад

    Fake , Virus, And Scam

    • @Volian0
      @Volian0 4 года назад +5

      How is this "fake, virus and scam"? I just compiled the source code and it works :D