In this video we discuss how a voxel world can have its vertices packed into just 4 bytes, reducing video memory usage by around 85% for the information that makes up the world.
Voxel Game Mesh OptimizationsHopson2020-04-12 | Howdy y'all.
In this video we discuss how a voxel world can have its vertices packed into just 4 bytes, reducing video memory usage by around 85% for the information that makes up the world.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgMouseHopson2020-03-25 | new mouse game engine i am working onLets Code A Voxel Game in C++ and OpenGL - World Generation IHopson2020-02-07 | Welcome back all!! In this video we explore how to use noise to create a nice little terrain generation thing
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgLets Code A Multiplayer Voxel Game in C++ - Breaking And Placing BlocksHopson2020-01-17 | In this episodewe optimize the network code a bit, and also implement voxel world editing
Donkey Kong Country - Forest Interlude Geographer - Airline - youtube.com/watch?v=Yie5s6UVZfo Final Fantasy IX - Dali Theme Donkey Kong Country- Stickerbush Symphony
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgLets Code A Multiplayer Voxel Game in C++ - The EngineHopson2019-12-20 | In this new series, we will be creating a voxel multiplayer minecrafty cloney clone from the ground up using C++ and OpenGL, with some libraries for support such as SFML and ENET.
Donkey Kong Country - In A Snow-Bound Land - youtube.com/watch?v=oYOdCD4mWsk Rayman 1 - Betilla The Fairy Donkey Kong Country - Forest Interlude Rayman 1 - Bandland Theme Beyond Good And Evil - Home Sweet Home - youtube.com/watch?v=jTdcJWDNsao Rayman 1 - Bonus Level Music Ratchet and clank - Wupash Nebula Chrono Trigger - Winds That Cross Time
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgDesign Patterns Explained - Model View ControllerHopson2019-10-26 | The model view controller is commonly used to create GUIs, especially for websites. This video explains how it is used and how it works from the inside out.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgDesign Patterns Explained - The Strategy PatternHopson2019-08-18 | The strategy design pattern can help make code more readable, maintainable when you need to be able to select an algorithm during the run time of a program. This is done through the use of polymorphism.
Firstly I show how code can be bad when not using it, and then show the same code, but written using the pattern in mind.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Minecraft In 5 Seconds - Python/ OpenGL Programming ChallengeHopson2019-04-01 | Some say it wasn't possible. I beg to differ. Here I prove that programming Minecraft in 5 seconds using python can be done.
This is a showcase of the program made in the video here: youtube.com/watch?v=6haL-aiE21w Source code available down below, but bare in mind it was my first time using Java Swing and so it is not great.
EXPLANATION: There are 256 bars. Each bar has a height depending on the value of an integer array. For example, the bar on the far left has a height of the value of "array[0]" and the far right bar has the value of "array[255]".
As the sort algorithm changes the array, the bars change height accordingly.
Green bars are those most recently changed. They immediately go into a red bar, which gradually fades back to the default white colour.
The sounds being played were made using Java's built in MIDI Channels and Synthesizer. A note is played each time a change to the array is made. The higher the pitch, the higher the value that was changed.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding ASCIIMON in Rust - Episode 2Hopson2018-08-12 | Welcome back to Asciimon! In this episode of coding a pokemon-inspired game, I work on improving existing features such as the walking. I also add other features, such as support for portals (doors, stairs etc) and also a console.
========= MUSIC USED: Donkey Kong - Snow Bound Land Donkey Kong - Aquatic Ambience Pokemon D/P - Eterna Forest Pokemon HG/SS - Cianwood City Beyond Good and Evil - Frame of Mind Ken Silverman - DRIFSNG2
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding ASCIIMON in Rust (ASCII Pokemon) - Episode 1Hopson2018-07-28 | This is my first project using Rust, so I am entirely sure if the code is going to be good not, but here we go.
In his (potential) series, I will be creating "ASIIMON" using Rust.
Asciimon is a combination of the words "ASCII" and "POKEMON", just meaning a game inspired by Pokemon as a text-based game, rather than graphical based.
Furthurmore, I also have got hold of a much better video editor and screen recorder! Camtasia was on Humble Bundle for a fair $20, so I decided to buy it to give it a go, and I am loving it :)
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Wireworld Cellular Automaton in C++/SFMLHopson2018-07-01 | Hello everybody! This time, I will be creating Wire World, which is little bit different than some of the other cellular automatons i have made, but still quite cool none the less :) Hope you enjoy!
Rayman 1 - Betilla The Fairy Dragon Quest IX - The Sun Gathering Village Beyond Good and Evil - Home Sweet Home Donkey Kong - Aquatic Ambiance Donkey Kong - Snowbound Land Ken Silverman - DRIFSNG2
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Brians Brain Cellular Automaton in C++/SFMLHopson2018-06-20 | In this video I will be creating Brian's Brain cellular automaton using C++ and SFML. =========
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Space Invaders in C++/ SFMLHopson2018-04-12 | In this video I will create a clone of Space Invaders using the C++ programming language, and using SFML for graphics and audio. Thanks for watching :) =========
Ratchet and Clank - Wuplash Nebula Beyond Good and Evil - Frame of Mind Dragon Quest 6 - Pegasus Beyond Good and Evil - Home Sweet Home Donkey Kong - Aquatic Ambiance
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding a Game for a University Competition in PythonHopson2018-02-24 | Hello and welcome back. In this video I create the game I made for a university game programming competition.
1. Click on the green "Clone or download" button, and download ZIP 2. Extract somewhere 3. Make sure you have python installed from python.org 4. Open up cmd and cd to the directory you extracted 5. cd to the scripts directory 5. Run game by using the command `py main.py` or `python main.py`
========= MUSIC USED: Rayman 1 - Betilla The Fairy Donkey Kong - Forest Interlude Beyond Good and Evil - Home Sweet Home Cave Story - Mimiga Town Ken Silverman - DRIFSNG2 ========================================= LINKS:
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgUniversity Python Game Competition Entry DemoHopson2017-12-18 | A quick demonstration of my entry to the "Python Programming Competition" being held at my university by the unit coordinator for "Introduction to Programming".
Maybe not final version of game, still can potentially add more features.
This was created using Python 3 and the graphics library we had to use was "graphics.py", which really is not well-suited for creating games at all. Furthurmore, to keep the contest fair, we were not allowed to write classes, as we hadn't been taught that yet.
The rules also said that the game had to be about an Android eating apples (I have no idea why), hence the theme of the game.
There is no sound in this video just for simplicity purposes.
The game itself has no sound because I was unable to get the "winsound" python module working, which was the only sound module we were allowed to use.
I will be creating a video showing the creation of this in next couple of weeks.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Langtons Ant Cellular Automaton in C++/ SFMLHopson2017-11-05 | A video showing creation of Langston's Ant cellular automaton using C++14 and SFML
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgC++ Minecraft In A Week - What Is It Like Today?Hopson2017-10-14 | Ever since I uploaded the video of me creating MineCraft in a week, the community has been making some addtions to it, and today I will take a quick look at some of them.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Empire Cellular Automaton in C++/SFMLHopson2017-08-28 | This is a cellular automaton that I came up with. YouTube compression kinda ruins it, so I highly recommended you watch in highest quality you can, and also download the project to see it for yourself :)
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding a Simple SFML Game Framework in C++/ SFMLHopson2017-08-24 | When I create videos on creating games, I am going to be using this framework that is shown being made in this video. It's nothing too fancy, but it will help save time in future videos :)
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Conways Game of Life Cellular Automaton in C++/ SFMLHopson2017-08-18 | Coways Game of life is a very famous cellula automaton, created by John Conway.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgMinecraft Week Flyover + Q&A and Future Video DiscussionHopson2017-08-07 | So thought we could discuss future videos and potential Q&A :)
========= MUSIC USED: C418 - Sweden (Caution & Crisis Remix)
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCoding Minecraft in One Week - C++/OpenGL Programming ChallengeHopson2017-08-03 | Hello! In this video, I attempt to create a simple voxel game/ Minecraft clone in a single week. It doesn't have the best performance or the most features; but of course, there is only so much you can achieve in a single week.
Hope you enjoy!
=========
Note: Performance issues are excepted as this was made in only a week
NOTE: This MIGHT NOT WORK ON AMD GPUs. I'm not sure why exactly, I would find out but I do not own a AMD GPU. Works on Nvidia cards fine.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgSet Up SFML with CodeBlocks Tutorial (Windows) [Check pinned comment]]Hopson2017-07-08 | Technically I already made this, but I felt like I did a poor job, as many people commented with issues.
Follow me on Twitter: twitter.com/Hopson1997C++ Minecraft - Oddly Satisfying World GenerationHopson2017-03-11 | Bit of a waste of a video, but I thought this looked cool so I just wanted to share xD
For this, I just set a base height for the chunks based on their x and z position.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgOld Projects - Heli Attack Clone - C++/SFMLHopson2017-03-05 | This is just an old project from April 2016. It is basically a Heli Attack clone.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgHero | C++/SFML Game | Part 1 | [Source in Desciption]Hopson2017-02-18 | Very simple C++/SFML game that I making purely for a bit fun and for learning. Free feel to download and play around with the source code :)
Based upon this: https://scratch.mit.edu/projects/2399118/
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgOld Projects - Awful Flappy Bird Clone - Part 2 & 3 - Java/LWJGLHopson2017-02-01 | So yeah, this was made just under 2 years ago, and was my first programming project. Though, it was not 100% on my own, it is still quite a good first project as I learned a fair amount from this.
_________________________________________ Part 2 Collisions
This was originally uploaded on 17 March 2015
I have no idea. I was really dumb. I basically created 4 classes "thing1, thing2, thing3, thing4" and then I placed objects at the pipes corners.
I would then test if the bird was between thing1 and thing2, or thing3 and thing4.
Awful.
Original Title: Java/ OpenGL Flappy Bird Clone - Completed !
Original Description: I now have collision working :)
________________________________________ Part 3 Complete
This was originally uploaded on 2 April 2015
This just shows the overall completion of the project.
It is bad. Collisions were done naively, there are public static things everywhere, seperate class for top/ bottom pipe... D:
At least I can look back at this and see I have improved immensely :D
Original Title: Java/ OpenGL Flappy Bird Clone - Completed !
Original Description: So I managed to finally get my 'flappy bird' clone thing to work, so it can now reset without closure of the window, records score for as long as the window is open, and other crap no one cares about as no one reads this.
This was first the project I made, within perhaps 2 weeks of learning programming. Yes, I didn't actually start with C++, but rather I started with Java, as most people do for some reason.
While I didn't really make this entirely on my own, it was based off a short tutorial series which can be here:
I changed things around a bit, and made it into a simple flappy bird game.
It was programmed in Java using LWJGL, however I used the old intimidate OpenGL to create this, so it wasn't very hard as most of the OpenGL functions you see here were just from the tutorial.
I honestly had no idea what I was doing, but hey ho it actually worked.
As you can see, the name of the Window is quite rude, but oh well.
The music you hear in the video is actually from the original video. It is some "chill step" remix of a Minecraft song, but I cannot find it now :(
There are 2 more parts (which I can combine into a single video) and a time-lapse programming to this very old flappy bird LWJGL/ Java game series. Would you like to see them?
And obviously, I didn't know how to texture back then xD
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgOld Projects - Zombie Game - C++/ SFMLHopson2017-01-27 | This was originally uploaded on April 11, 2016. (6 months before I started to make my Minecraft clone)
This is an old open-source (GitHub linked at bottom) project of mine. It was made using C++ and SFML. There was originally no music (hence the stock YouTube music) or speech because I guess I didn't bother at the time, as it was originally just going to be a GIF.
I have quite a few of these videos unlisted on my channel. They are generally shortish videos where I play a game I had made. They show basically that we had to start somewhere before we were able to make larger projects, such as my Minecraft clone.
Would you like to see more of these videos? This is the only one where I change the code while I show the game, but if you do want to see more, then comment below!
Something bad has come up IRL recently, so I don't have motivation to create the tutorials right now, but I will continue very soon so don't worry.
The code of this game is awful, as each of those tiles is actually an individual sprite, meaning the game takes up a ton of memory (even more than my Minecraft clone!) and the FPS is awful. And the style of the code is very odd.
Original Description: Just a fun video editing some code to make something coolio.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCreating Minecraft in C++/ OpenGL - Part ThreeHopson2017-01-01 | This is not part of the tutorial series, but rather the series where I show the dev process of me creating my own Minecraft clone.
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCreating Minecraft in C++/ OpenGL - Part TwoHopson2016-11-16 | Just over 2 weeks later, here is part 2 of this series of me showing highlights of me making "Minecraft" from scratch use OpenGL.
Again, might have well say I am making this for fun and for learning :P
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgCreating Minecraft in C++/ OpenGL - Part OneHopson2016-10-30 | I started this project in early October 2016, and finally I have enough to show of it for a video.
I made for the sake of learning and for fun. I had to learn things that I had never done before in order to create this project such as raycasting and multi-threading.
Hello! So about a year and half ago, around March 2015, I knew nothing about real programming, except some stuff from Scratch that is nothing like real programming.
My initial goal was to create a Minecraft clone, as that is my favorite game.
I started off with C#, and made some crummy console games, but I knew that C++ would be the best for game so I bought a book, Jumping into C++, and I learnt so much! I learnt about classes, objects, functions, structs, pointers, data structures and more within this one book. By the Summer, which was around 4-5 months later, I made this simple game: Hopson Land, a basic console game. It was my first "big project" and it was a huge turning point, as from here on out I was very confident in my ability to create projects without actually having to use some random tutorial.
From there, most of my knowledge was learned online, such as RAII, rule of 5, more memory stuff, r value references, smart pointers, the auto keyword, range based for loops... The list goes on. There is always something new to learn :D
In January, I finally felt ready to try something "hard". I found this website for learning OpenGL, and this is probably the best OpenGL tutorial around (at least for free on the internet)
Community Channel: youtube.com/channel/UCvP6PNyj42j9PHPmCpo7SrgTime Lapse C++/ SFML Game Programming - Pyoro [Source code in description]Hopson2015-12-04 | So my friend challenged me to create a clone of Pyoro using C++ and the SFML.
I had never heard of this game before he told me and it looked very simple.
It is a game from WarioWare Inc. on the Nintendo GBA. You play as a little bird looking thing, and you hop left and right, avoiding seeds falling from the sky while simultaneously collecting them with your extendable tongue. Also, the background changes (as well as all the sprites, but background changes more freqently) as your score increases.
Me and my friend thought it would take 2-3 hours tops to make, but here is 14 hours of sped up footage creating a UNFINISHED product of the game.