Creating Minecraft in C++/ OpenGL - Part Four
ฝัง
- เผยแพร่เมื่อ 20 พ.ค. 2017
- START FROM PART ONE: • Creating Minecraft in ...
Welcome back to my Creating Minecraft series!
This time it is all about a rewrite of the clone, with new exciting features.
Enjoy!
Music:
[00:00] Mother 2 - Fourside ( • Video ) [01:05] Super Mario Galaxy - Star Festival ( • Video ) [02:06] Ken Silverman - NEATSONG.kdm ( archive.org/details/youtube-2... ) [03:02] Kirby and the Rainbow Curse - Milky Way Wishes ( • Video ) [03:35] Terraria - Underground Hallow ( • Underground Hallow - T... ) [04:34] SoundGarden - Black Hole Sun (8 bit) ( • Black Hole Sun (R.I.P.... ) [05:22] Tales of Phantasia - Final Act (SNES) ( • Tales Of Phantasia - F... )
__________
You can view the source here:
github.com/Hopson97/HopsonCraft
But note, there is nothing there really due to a massive code overhaul, but you can view source of a similar Minecraft project I made here:
github.com/Hopson97/MineCraft...
__________
Feel free to contribute!
Also, download the game here: drive.google.com/open?id=0B-b...
PS: I have been revising for exams, hence why no videos for a very long time. I have been creating this video in my breaks.
Links:
GitHub: github.com/Hopson97
Discord Server: / discord
Support me on Patreon: / hopson
Follow me on Twitter: / hopson1997
Follow me on Twich: / hopsonn
Subscribe to the subreddit: / hopsoncommunity
Community Channel: / @hopsoncommunity8184 - วิทยาศาสตร์และเทคโนโลยี
I now have about 154 comments saying "LOL LE TERRARIA MUSIC IN A MINECRAFT VIDEO"
Yes, congrats, it is the underground hallow song and I used it because I liked it.
Please stop commenting it :)
Edit: People are still doing it. STOP, YOU ARE NOT CLEVER AND NOT FUNNY...
we will never stop
Hopson to be precise, it's the music that is played in the underground holy biome in Terraria 🤔
I was just about to say the same thing XD
Hopson I love Terraria music I don't care what music it is :/
i was more surprised with the mario galaxy music, but okay.
Minecraft? No, Comrade. Ourcraft.
Minecraft? Hell nahh
Meinkampf? Yeah..
Edit: 40 likes on a reply? omg ty all
LeoDaBoss
Comrade, it is not
Comunism, it is
Comunoursm
the trashman **USSR theme plays**
Our pony and soviet city
Stalin likes this
Two mistakes Notch made with Minecraft:
1.) Writing it in Java
2.) Selling the rights to Microsoft
Yea I’m sure you’d turn down a billion or 2 dollar offer lol
True... Java sucks, not performs that well, they can do anything, it just won't be as good as C++.
Also agree with the Microsoft part.
Would be good to see it in dx11. Opengl wass aways less supported by the gpu manufacteres
Geizio Well.. without orienting with objects most of them are awmost the same...
Csharp maybe would be better in minecraft, even maybe paired with the directx api, as manu gpus are more optimized for it. The newer ones are now getting along opengl, but the mid-low end and older ones dont.
C++ is thicc.
* Programmer
* Minecraft player
* Loves terraria music
* Has Far Cry 3 as favorite game
Dude this must be my clone.
Terraria music best music
@@user-lb3nv4lk9u Haha! I always wanted to try, but I probably won't.
Stop being ultra gay
@@nivian8329 Lmao, what did I do to offend you? Jeez..
Yeah me too.
Why buy Minecraft when you can make it right?
Hytale
@@ZFilms11 Hytale is a mod
@@momoreview5555 uhm. No. It's a fully fledged game. Check yo facts.
@@ZFilms11 The creators have said that Hytale is based on a mod from 2017.
@@user-fg6pu6qi1z Look into the oficial page of Hytale and you will see that they have said it : Hytale is based on a mod of minecraft
5:10 "This allows smooth height-map generation between biomes" *huge ass Pillar forms infront"
Mission failed: We'll get em' next time.
Time to rewrite it again
:)))))))
Lol xd
LMFAO
0:25 "break and remove blocks" I love 2 ways of doing the same thing
sooo no placing?
Wyan but you can delete them too
Break, remove, delete, destroy, disappear and teleport to nothingness.
Sabiki Kasukō dissolve, demolish, disintegrate, annihilate, obliterate, even erase them, and most accurately: replace with air.
Dissolve, disintegrate, destroy, anhialate, evaporate, remove, vanish, break, erase, demolish, scrap, terminate, eradicate, exterminate, obliterate, abrogate, invalidate, nullify, expunge, extirpate, abolish, deracinate, eliminate, go missing, fade out, recede from view, disappear, quash, vitiate, dump, ditch, rescind, repeal, get rid of, be absent, teleport to nothingness, replace with air, compress into singularity, and commit not exist.
Good now start on half life 3
You are one of us...
Hold my Beer
@@Wishuphd your pfp is cute
@@Med-B thanks, u replied 2 years later :D
4:34 black hole sun 8-bit? You just increased your cool points my guy
Noticed it as well lol
Your profile picture basically compliments the guy already
Yes bruhhh i loved that so much
Love the Black Hole Sun 8 bit at the end
th-cam.com/video/Srzq7X6zYLo/w-d-xo.html
Confused the shit out of me for a min 😂
Black Hole Sun? Thanks! I love that song.
Soundgarden is great
I prefer "Close to the Sun" (remix by Niel C), but yeah, the original is awesome.
Where can I find this version of Black Hole Sun?
I KNEW THERE WAS SOMETHING FAMILIAR
i was thinking the same thing
Tbh the islands look better than anything I have seen in actual Minecraft
The terraria music is fantastic
Samuele Canale Yeah, a game that had much more content than minecraft, but forgotten beucause of it.
Eduardo Avila no.. no it didn't...
Caleb Alexander It had! Many bosses without any mod, like wall of flash, skeletron, big eye of cthulhu, etc. It has tons of different ores, and different equippament, much more than even minecraft has with mods.
Terraria has many places, like hell (minecraft had the underworld but nothing to do there, here you fight against some bosses), it has the corruption (a entire biome that has dungeons and such), it even has a boss called queen bee in the jungle. It has a great variety of items, like broad, short swords, hammers, axes, enchantments that even minecraft didnt had.
Its has some sazonal events, as the gobling invasion, bloodmoon (where tons of zombies spawn and will try to kill you and your npcs).
It has a way better and usefull system of salesman npcs, in minecraft there only some villagers that will want thousands of emeralds for like a iron pickaxe, in terraria you really have a usefull system to buy and sell things, not a stupid villager that will want thousands of emeralds to give you shit, and aways things easy to get.
It has tons of possible armour combinations, and much more..
I played minecraft for a long time, and i must say, minecraft vanilla doesnt have even 20% of what terraria has... Even with mods, minecraft dont have like 50% of the content that terraria has to offer, and without even counting with the mods.
Its a 2d game? Yeah, but its way more complex than minecraft. I am not saying that minecraft is the worst game, i still like it, but terraria has way more content and things to do...
"wall of flash"
"equippament"
"a entire"
"didnt had"
"sazonal"
"gobling"
"usefull"
"a iron"
"aways"
"minecraft dont have"
Please, proofread. I hate to be this type of guy, but come on.
Gabe Chevalier What? Proofread, what is this? (My english is a little bit rusty). If you wanna proofs: Just search youtube for all terraria minerals, or all terraria bosses and minibossess.
Or just play the demo in android/ios.
huge fan of this series! keep it up!
Pentox jo
me too
Honestly, I enjoy your version of biome generation leagues more than the biome generation used in minecraft.
The generation they use doesnt feel like it's trying to make a desert or mountain, it just feels like they take one or two key features from the desired biome and apply it to the standard forest. Fields are just flat and no trees, mountains are just tall with stone, deserts have no trees and use sand, etc. The footage you've shown here looks like you've focused primarily on getting the topography and layout of the biome correct as opposed to just the details.
*Good way to get minecraft for free*
XD
It also worth the efforts.
*FBI open up*
Good now create GTA 5
Hold my beer
Challenge accepted
Mohammed Ali LOL are you serious 😂😂😂💔
I take it your joking but if you are serious it is impossile for a single developer to make a game like GTA V
Its basically creating a map, physics, your character, nps, traffic, etc. Well to make a gta game and not the actuall gta V lol. U need voice actor's too
A fanmade minecraft is better optimized than the original? WTF
The original game has a hell of a lot more features, so it is not exactly fair to compare performance.
Hopson I'm comparing with the alphas
Original Minecraft was made in Java. It was a bad decision back then. Good for modding, bad for performance. Minecraft needs a proper C++ version (well Windows 10 Edition is C++ and runs miles better than the Java one) and needs a proper modding API.
No, Java was not the reason Minecraft performs so poorly, design and implementation was.
Try making a core mod for Minecraft and see for yourself.
The potions management code is probably the most cryptic, but I managed to crack it and add my own potions.
The only thing better is the fps, this game crashes every few minutes. It's so unstable.
Good music choices! I love the Super Mario Galaxy and Terraria stuff! Also, you did an incredible job with all of this.
Such a great work! Keep working. It really interesting
Songs that I recognize are from Terraria and Super Mario Galaxy?
Also I just tested it out. You might know these bugs but here it goes:
1) I get bounced off if my head hits a block.
2) I broke a log and then it crashed.
3) When I generated new chunks it crashed.
Correct !
And Black Hole Sun. RIP Chris Cornell
Marmori Pelaa :o
Thanks for testing, and don't worry, I am aware these bugs :P
Hopson try to program terraria!
how can i open the game???
Never been this happy after seeing this in subscription box !!!
OMG I love you, not only is this video amazing but you put two of my favorite soundtracks of all time in here, the Mario and Terraria ones
Good job! You look pretty talented, can't wait to see what else you do :3
AMAZING 10/10!!
Neoharry Mihailidis 9/11
da da daaaaa
da da daaaaa
100 OUTTA 100!
Same...
This is so cool to watch! I hope you don't get sick of the project
inevitable xd
well about that
I love how the terrain generates in this rewrite, the islands and the mountains are pretty impressive
Congratulations on working on this big project😊
Man, this can end up being better than the original. Can't wait to see part 5!
3:37 Terraria Music!!!!!!!!!!!!!!!! YAY
This is really cool! I watched all the videos, liked and subscribed.
This is very impressive, keep doing what you do!
5:00 is that black hole sun?
Yes
yup
Black hole? Where?
Claudio Alejandro it's a song
That's why it was so familiar...
Once you have finished remaking minecraft. Minecraft will hire you
-age 7
"Minecraft will hire you" like wtf does that even mean lmao
@@shyshka_ haha i wonder what does that mean too
@@zydiz LOL
Ah yes the company known simply as minecraft
Holy crap ! This is AMAZING ! Good job , kudos to you
Just another example of how people are awesome. Good job!
I love it! Maybe you should call it "Far-Craft".
That's a good idea ! I agree !
Far Cry Craft
Nah, i don't think it's a good idea to call it "Far Cry Craft"
L' Avocat Ok...
Yes!!
"Black Hole Son" @ 4:45
Beautiful
Respected work in progress!
Omg thank you for playing super Mario galaxy music! I needed this! My childhood😊
Pocho same
terraria music is giving me nostalgia :(
Euros They're both fantastic games
Terraria has to have some of the best music of all time
@@joedefraties3304 how about hollow knight?
@@joedefraties3304 Yeah you're right!
Same lmao
Yay! A new vid!
So cool! This take a perseverance and hard work... bravo
Nice choice of music! seriously, it was a good break from the freaking house music on all these vids. its what made me watch this
Dope Earthbound music boi
Now I want to play Terraria again... Dammit.
THIS VIDEO MAKES ME WANTED TO WATCH ALL OF YOUR C++ TUTORIALS!!!
It looks great! Keep up the good work!
lol i just found your channel like 4 hours ago and then you upload
Same here
Same
Same
schön dich hier zu finden xD
LBGST zockt Not meant to Be Racist, But I Don't Understand your language.
Ooooo Terraria music. Very noice
Andreas Petersen I noticed that too
I too XD
Oh that's some nice 8 bit Soundgarden there! Loved that
You are really good at this!
lmao the 8 bit version of _Black Hole Sun_ got me dying, sounds so bad its hilarious
That shit low-key go hard tho what u talking bout lol
lmao terraria music, i love it.
that's really cool, good job dude
Aaaaah I wish I have your knowledge of programming, you are so experienced, keep it up bro good work!
There is a problem... When you launch the game it says "Error compiling shader : ERROR 0:3: 'location' : syntax error parse error"
You should recreate overwatch next!
Great video! And awesome music choice btw
Hey, great work. The "launch" you're getting when clearing the water's surface is because, as a criterion for switching to "watery" physics, you're checking your playing character's lower block for contact with water, meaning you can still use the "unbound jump" when your head has cleared the water surface.
To fix this, just use the character's upper block instead. This will also help imitate how in Minecraft you can swim upwards through "water pillars" and essentially use them as no-redstone elevators.
Would coloured lights be possible to implement? Or are you going to do the same lighting style as Minecraft?
yes.
yes what? Which one?
Use shaders from the get go!
None of this CPU-computed lighting nonsense! please!
*3:45** Это музыка из Террарии!*
Мы очень рады.
I only see hate comments showing your flaws but what you did is pretty amazing and I hope to see more of your work
Can I just say, your ocean landscape is dope af
Will a linux build be available?
...Uh, the github repo is right in the description...
This is awesome! Keep up the good work! Are you planning to add moving objects which do not align with the block grid (entities) in the future?
Thanks! And yeah I am :)
We're all excited to see that!
How do you compile the source code?
Hmm... I have tried compiling myself on Linux Mint by generating the Makefile with CMake and then running the Makefile, but then I got the following message:
HopsonCraft/Source/GUI/Component.cpp:47:14: error: ‘class sf::Text’ has no member named ‘setOutlineColor’
text.setOutlineColor(sf::Color::Black);
HopsonCraft/Source/GUI/Component.cpp:48:14: error: ‘class sf::Text’ has no member named ‘setOutlineThickness’
text.setOutlineThickness(2);
You need SFML version 2.4 :P
Amazing, you have a talent right there 😳
So cool my dood great work!
I have an idea!
Minecraft PE
I bet you asked it just because you want to play it on ur phone
@@cadetw1376 Lol same
terraria music :D
these biomes is amazing
I respect you so much for the super mario galaxy music.
3:37
terraria 1.1 underground hallow
well, 1.1 was like end of 2011 - 2012 start
LOL TERRARI....oh shit... I'm late aren't I?
Subbed because of the Mario Galaxy soundtrack. Was not expecting it and that shit gave me some major nostalgia
Great work dude 👍😁
You should just create a better minecraft. Limitations of java hold minecraft back in terms of what can be implemented into the game. You dont have that problem.
as of version 1.11 minecraft is entirely in c++ java is dead
That's not true, the PC edition is still written in Java
nope the the windows 10 version is entirely c++ java is longer seriously this has been a thing since 2015
indeed the java versions are only used by modders because modding is extremely hard in the new versions
well most people don't use win 10
is this going to be public?
I love seeing games like this in thier early stages.
This is fucking awesome, and you're even more awesome for doing it!
Hey did you know that Minecraft Bedrock is mostly made in C+++
I think it was C# not C++
Charlie Recto it was C++
I don't need a girlfriend it's a waste of time my forever love will be Visual Studio
You're right!
Same, but I use gedit + terminal😂
Nice soundgarden music btw. Caught me off guard. Started humming it.
Very nice music I must say. I love the series too.
i would have totally called it craft craft
Uses
Super Mario galaxy
And
Terraria underground
Music
Thx for mario galaxy
Nice! Thats amazing brother! I think the ocean should be a little darker. Other than that, your work is really impressive well done!
Holy fuck dude,really nice job there! Hope you had fun doing this one masterpiece (actually,it looks bad,for now,but the time and effort you put in it,it just needs recognition!)
So ur making bedrock
Everbody is talking bout the terraria music but no one acknowledges the earthbound music!
I don’t really understand coding, but I do understand that recreating minecraft entirely is hard. Props to this guy!
Keep it up. U help us all with this work to have sometimes way more fun and more options with minecraft. Maby more and better mods for it and do on... i like it.
what's the first piece of music that's played?
commenting so I get an answer maybe
Mother 2 - Fourside
th-cam.com/video/zoWNTcP1uqM/w-d-xo.html
can we get a list of the songs you used in this video?
Ultimate Rosen One of them is Star Festival from Super MARIO Galaxy. There are also some from Earthbound and one from Terreraria called the Hallow I believe.
an 8 bit version of Black Hole Sun by Soundgarden
This video threw me back to my Nintendo Wii days with that music from Super Mario Galaxy
lol, thats so cool dude
keep up the great work
:thumbsup:
Minec++ft
What programm did you use?
Yes haha, they liked my comment but no one helped me haha
JukaCuber MS paint
he used C++ to make Minecraft (original game was made with javascript)
Java, not Javascript.
java is not javascript, if it was done in javascript it would run smother, dont compare javascript master race whit lowly dirty java peasant
Love the music in this video
This man is good at making beauty in random generation congratulations ¥