Code-It-Yourself! Role Playing Game Part #1

  Рет қаралды 207,052

javidx9

javidx9

6 жыл бұрын

The first video of my next big Code-It-Yourself! project! A top down role playing game in the style of Zelda and Final Fantasy. This video is long, but lays out the project plan and gets some of the fundamentals out of the way. It also introduces Object Oriented Programming techniques, that I use to make the whole thing much easier to develop as part of a team.
Shout outs to TomL, Itay, Stepanium and King from the Discord server for all their help with the graphics and tools.
Source: github.com/OneLoneCoder/Javid...
/ discord
Blog: www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9

Пікірлер: 198
@jordanbrauer
@jordanbrauer 4 жыл бұрын
You are like the Bob Ross of programming videos! I love it.
@javidx9
@javidx9 4 жыл бұрын
lol thats a big compliment, thanks Jordan!
@Maraus92
@Maraus92 4 жыл бұрын
Happy little coredumps.
@samuelhulme8347
@samuelhulme8347 3 жыл бұрын
@@javidx9 from your isometric demo I’m making a game like open ttd
@crusaderanimation6967
@crusaderanimation6967 2 жыл бұрын
@@samuelhulme8347 What's status 3 mounts later ?
@samuelhulme8347
@samuelhulme8347 2 жыл бұрын
@@crusaderanimation6967 very not at all, doing something completely different now
@Ramash440
@Ramash440 4 жыл бұрын
22:49 - "Now I'm not a fan of using setters and getters everywhere ... I'm just going to make them (Variables) accessible directly by declaring them as public." This is the part where my Programming II teacher would lose her mind and possibly commit manslaughter.
@user-eo5bh2zg2f
@user-eo5bh2zg2f 4 жыл бұрын
Are setters/getters rreeally necessary?
@saldor0108
@saldor0108 3 жыл бұрын
I've always seen getters and setters as a way of allowing the programmer to have control over variable access in the future, if they so choose. You may not care right now if other classes can directly access your player's position, but what if in the future you want to be able to log where the player is on the map for debugging purposes? It's a lot easier to put that in your setter function as opposed to having to track down all of the different pieces of code that interact with your public variable.
@oliverzhang9004
@oliverzhang9004 3 жыл бұрын
In my opinion, you can make class members public in managed languages like c# or java, but with unmanaged languages like c and c++ you NEED getters and setters.
@JohnDavidDunlap
@JohnDavidDunlap 3 жыл бұрын
You can control access to the attribute with or without accessor methods(getters/setters). You can have a public/private variable in your class or you can have public/private accessor methods. The advantage of accessor methods is that you can change a property back and forth between being computed and not being computed without changing anything outside the class. If you are 100% certain you won't need to do this, there's no real benefit to them(you're probably wrong if you are 100% certain of this). IMHO: This is one of the things that C# got right(and I'm a Microsoft hater) because it uses the same syntax for accessing a variable with a getter/setter as it does for accessing a variable without a getter/setter. This allows you to switch back and forth between computed attributes and non-computed attributes without having to worry about affecting code outside the class definition.
@sarahtonin58913
@sarahtonin58913 3 жыл бұрын
@@oliverzhang9004 Interesting, I normally see the opposite. Direct variable access in C(++) and getters/setters in Java and C#.
@noahsrc
@noahsrc 5 жыл бұрын
I'm in my third year of computer science and I've never watched someone else code before. It's weird to me that I can follow along and not get lost like I do learning new things in class. Can't wait to make a game.
@Meteor2022
@Meteor2022 2 жыл бұрын
@p3rcio I hear from boomers that there was a time in the before times where internet didn't exist and people had to do this.
@bandanaboii3136
@bandanaboii3136 4 жыл бұрын
I like how you draw everything out in the beginnning. It helps me visualize everything that needs to be in the code.
@seditt5146
@seditt5146 6 жыл бұрын
IDK, I have a hunch this could turn out to be your biggest, most popular project to date Javid. Best of luck, This is awesome!
@javidx9
@javidx9 6 жыл бұрын
Thanks Sedit, I hope people can tolerate the "not entirely from scratch" nature of the series, its just to big to do everything in fine detail, without getting too boring
@seditt5146
@seditt5146 6 жыл бұрын
Ahhh well, it is entirely from scratch, I guess they are just going to have to Watch all the rest of your videos if they missed some of the pieces ;)
@henrykkaufman1488
@henrykkaufman1488 3 жыл бұрын
As you said this OO might not be the example of best practices, but you make really nice comments about what best practices should be. Great vid. :)
@Richard-xh5iw
@Richard-xh5iw 5 жыл бұрын
How sad I feel not knowing everything you know. I have a hard time understanding programming but I do not want to give up. I need motivation I really want to learn. greetings from Argentina. You are amazing. Hugs
@inkryption3386
@inkryption3386 3 жыл бұрын
I do hope you've had a fruitful year of learning.
@kazzy8819
@kazzy8819 3 жыл бұрын
Same! I looove computing and coding but I have a hard time understanding it's process. I'm more into the Linguistic side instead of the Calculus and Physics. However, I'm not giving up either. May you have a good luck into gaining knowledge in such thing. Cheers!
@jrg4ngst3r83
@jrg4ngst3r83 2 жыл бұрын
a no bajar los brazos papa!!
@Richard-xh5iw
@Richard-xh5iw 2 жыл бұрын
@@jrg4ngst3r83 Thank you bro
@mathewnickle3579
@mathewnickle3579 6 жыл бұрын
I just stumbled across your video. I'm hooked, can't wait for more. Keep up the good work!
@javidx9
@javidx9 6 жыл бұрын
Thanks Mathew!
@teslastellar
@teslastellar 4 жыл бұрын
Thank you for doing this, specially for doing it object-oriented. It's one of my weaknesses in programming.
@DeathAtYourDoorStep
@DeathAtYourDoorStep 5 жыл бұрын
your videos are awesome. i love them, and your voice is so relaxing to listen to... calming yet assuring 🙂
@javidx9
@javidx9 5 жыл бұрын
lol thanks FallAngel!
@napalmpig3772
@napalmpig3772 4 жыл бұрын
"It's no good if the first enemy of the game kills you straight away" dar*COUGH*uls
@initfunction6961
@initfunction6961 2 жыл бұрын
Best Introduction to game programming concept
@guithegood87
@guithegood87 4 жыл бұрын
This is skyrocket as my favorite channel.
@GodofWar1515
@GodofWar1515 6 жыл бұрын
This is a very educational video. Everything that you've put together shows the reality that creating these kinds of games (And any other game) takes a LOT of work. My desired field in this though is more focused on AI and Language processing. But I do wish to make a game as a hobby someday. But that will be probably take about 5 to 10 years. LOL
@javidx9
@javidx9 6 жыл бұрын
Hi Lucas, thanks! I agree, it just goes to show how perceived simplicity is in reality far from simple, I hope it serves to show ambitious young programmers that it takes time and effort to do even basic games, and that they should not start with 3D MMORPGs.
@GodofWar1515
@GodofWar1515 6 жыл бұрын
beautifully said.
@DAVISXXZ009
@DAVISXXZ009 6 жыл бұрын
Thanks for sharing this, looks amazing...
@javidx9
@javidx9 6 жыл бұрын
Thanks Davis, no problem!
@autogenes
@autogenes 3 жыл бұрын
I love the graphics, they remind me of the old days of commander keen etc
@andrewstark4240
@andrewstark4240 4 жыл бұрын
You are awesome, I would like to learn as much as I can from you. I am a web architect but want to dive into low lvl. :)
@kazzy8819
@kazzy8819 3 жыл бұрын
I'll repeat what I've seen commented here. You REALLY are the Bob Ross of coding. Thank you, sir.
@xinthralgaming
@xinthralgaming 4 жыл бұрын
3:44 "Yes, we've used classes and structs....buut we've never really used them in anger."......Ahhh, true #OOPLoveHate
@AJSquirrel53
@AJSquirrel53 4 жыл бұрын
HAHAHA How did I miss this the first time around
@KellenChase
@KellenChase 4 жыл бұрын
i actually came scrolling for this comment because I wanted to make sure someone else caught that. awesome.
@uuu12343
@uuu12343 6 жыл бұрын
Damn, gotta try out more of what the old game engine can do, a RPG maker? I think you have made a gem right here
@javidx9
@javidx9 6 жыл бұрын
The engine simply takes input and displays coloured squares :D What can be done with that is only limited by your imagination! Thanks, Its been a lot of work this one, so I'm pleased its being appreciated already.
@brandonphilander661
@brandonphilander661 6 жыл бұрын
Procedural generation will free up a lot of time as the engine will be handling the placement of the tiles, just my two cents. Thanks for the great tutorial series, it is much appreciated.
@javidx9
@javidx9 6 жыл бұрын
Hey thanks Brandon, I agree with you, I think procedural generation is a fascinating topic, and I hope to explore it a little one day. Added to the list :)
@ClaytonMalarkey
@ClaytonMalarkey 3 жыл бұрын
I'd love to see a tutorial on making a game like final fantasy tactics with all the engines and tools nessary to design any kind of variation of it Including adding classes skills sprites maps music and so on
@darkelikplim18
@darkelikplim18 Жыл бұрын
Thanks so much for this exceptional series of game dev, I was wondering if member functions could be available at the timestamps of the video?
@kanito107
@kanito107 6 жыл бұрын
Hopefully this series never ends
@javidx9
@javidx9 6 жыл бұрын
Thanks Salvador, but Mrs Javidx9 would kill me if it didn't :D
@kanito107
@kanito107 6 жыл бұрын
javidx9 keep up the awesome work man. Really loving what your doing here. I know you are going to grow as a channel. 😊
@crankluga
@crankluga 3 жыл бұрын
Thanks for the Tutorials, please create some for Node Connection UI. where an element can have an input and output node
@kaylenbates5010
@kaylenbates5010 5 жыл бұрын
I feel I should tantrum that your message was "Hello Everybody!" instead of "Hello World!"
@javidx9
@javidx9 5 жыл бұрын
Dang, yeah - a missed opportunity :D
@synthoelectro
@synthoelectro 5 жыл бұрын
These videos are a wealth of info. For one you're programming in C++ and most shy away from such things. It's like going right to the core of things where we can understand via C++. What I'm curious of is are you coding it all with a custom graphics engine? Is there SDL or SFML hiding in the background?
@javidx9
@javidx9 5 жыл бұрын
Thanks Almark! In the case of this RPG series its just a windows command prompt.
@synthoelectro
@synthoelectro 5 жыл бұрын
@@javidx9 Welcome, so you can utilize graphics in general without the need to code extra even in windows? I guess for the more adv graphics one would program in OpenGl.
@javidx9
@javidx9 5 жыл бұрын
They are simple graphics but yes - I have since developed a very similar second engine olcPixelGameEngine which uses proper full colour pixels. It is cross platform also, but uses a bit of OpenGL behind the scenes.
@jorgengullstrand5988
@jorgengullstrand5988 3 жыл бұрын
Hi Javid! I've been wanting to convert this RPG series to the PixelGameEngine instead of console engine, but I just can't seem to figure out how to convert the code!? Can you please make a short video explaining how to do it??
@ogr2
@ogr2 4 жыл бұрын
Great tutorials, but where can I find that graphic tools for creating the map and the viewer of the spritesheet?
@fnarmusiccomposition3418
@fnarmusiccomposition3418 2 жыл бұрын
this is awsome .I am in the middle of learning c# and i can say some of it makes sense to me but i am still a noob comparet to this guy .But thats not gonna stop me for trying to learn and have fun with programming (:
@kimkarlsson4176
@kimkarlsson4176 4 жыл бұрын
Is the map editing tool Itay made available on github? Also wondering the same with the sprite editing tool. Would be really fun to try it out
@samuelhulme8347
@samuelhulme8347 3 жыл бұрын
Agree
@ClaytonMalarkey
@ClaytonMalarkey 3 жыл бұрын
I love these tutorials I wonder if you could convert them to java script and or c sharp and maybe add multiplayer online functions and than have a overall goal of teaching the player new skills
@brecoldyls
@brecoldyls Жыл бұрын
39:25 I thought you were going to use the flyweight pattern here instead of singleton. Great video!
@RealNekoGamer
@RealNekoGamer 3 жыл бұрын
That approach for a map file is okay for beginners, but I think the way I'd approach it would be as a binary file. You'd have a 2 byte header for the X, Y values, then X * Y amount of tile/flag values. In this case, the flag would only be 0 or 1, for solid or not. If you want to get really fancy, zlib-compress the name string and prepend a 2 or 4 byte CRC value to the map header for integrity checking.
@brandonphilander661
@brandonphilander661 6 жыл бұрын
I am using Visual Studio Code and want to use extensions like Unicode Latex or ASCII Unicode Escape or Insert Special Symbols. My question is will these extensions work with your code as I see that you need to enable Unicode for these projects.
@javidx9
@javidx9 6 жыл бұрын
I'm not familiar with those extensions, but the code should be compatible with both ASCII and Unicode. Also, my code can be easily converted to non-unicode if its a real problem.
@BSlegt
@BSlegt 5 жыл бұрын
I love your channel man !
@javidx9
@javidx9 5 жыл бұрын
I am pleased Bart, thanks!
@samuelhulme8347
@samuelhulme8347 3 жыл бұрын
@@javidx9 me too
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 4 жыл бұрын
Great vid!!
@eformance
@eformance 5 жыл бұрын
I'm curious why you chose to implement a singleton in that manner, instead of have a static class variable for the map? You wouldn't need the somewhat less readable RGG_Assets::get().method(), but instead assetinstance.method(). Using the static variable approach goes against the OOP paradigm less, but ensures a single cache of sprites is still used.
@artyk3070
@artyk3070 3 жыл бұрын
“Hmm, [idea] Getters and setters for every single field! Who knows what people will be doing with this in the future!” - Javid
@yanakali2452
@yanakali2452 2 жыл бұрын
first quest: help javid find his glasses final quest: kill god
@saulnores3477
@saulnores3477 3 жыл бұрын
Hi Javidx9. I liked your video although I know little aboit prohramming. What language or spftware are you using to make this game?
@DridriLaBastos
@DridriLaBastos 6 жыл бұрын
Why you don't use std::array for array and smart pointers instead of having raw pointers in your classes ?
@javidx9
@javidx9 6 жыл бұрын
Hi Adrien, that's a really good question, and any answer I give will only upset somebody else, but here it is. I have nothing against "modern" tools like those you described, but I also don't feel I always need the additional protection or utility those devices offer. I use them when I feel it's necessary. In this instance, the project is manageable enough to not need them, so I can code more fluently - which admittedly is a highly personally subjective opinion. Additionally, I'm a bit old fashioned perhaps, I've used arrays and pointers for 25+ years, and as a result I'm instinctively aware of where and how I'm managing my memory, so the risk of problems arising (in my specific case) is minimal. I hope you receive this as an honest answer, and not an attempt to discredit using such approaches.
@chrismander8999
@chrismander8999 6 жыл бұрын
Expanding on this, I've observed on recent code bases that smart pointers are ignored for the "traditional" approach. If you're allocating heap memory, and are confident in memory management for the given context, then I don't see an issue in handling raw pointers. I'd personally use smart pointers, as they'd serve to benefit on scalable code bases, but for stuff like this I'd be tempted to use raw pointers myself.
@DridriLaBastos
@DridriLaBastos 6 жыл бұрын
I am totally fine with your answer, :) good luck for the futur of your channel
@dougjohnson8367
@dougjohnson8367 4 жыл бұрын
Thanks for your videos, super helpful. With this project being so Object oriented, why choose c++ over c#?
@vorrnth8734
@vorrnth8734 4 жыл бұрын
What exactly has OO to do with this choice? C++ supports it pretty well and the advantages of C# over C++ lie eleswhere.
@somebodyjohnson6220
@somebodyjohnson6220 4 жыл бұрын
this is premier league
@haikamu3864
@haikamu3864 2 жыл бұрын
Because goal of this video is not teaching game development, the goal of this video is teach object oriented programming
@randominternetuser5123
@randominternetuser5123 5 жыл бұрын
hello, do your tutorials implement some form on non machine dependant speed so it will run on the same speed on all machines? would like to know how to implement it, thanks :)
@javidx9
@javidx9 5 жыл бұрын
Hi Samuel, yes they do, Introduction to console game engine is a good place to start!
@randominternetuser5123
@randominternetuser5123 5 жыл бұрын
nice to hear that, thanks :)
@orynicolas
@orynicolas 3 жыл бұрын
Hi. First of all, thanks a lot for such great tutorials. As a beginning in programming, I did not get how you can open the sprite viewer or the map editor. Could someone help me with that? Thanks in advance.
@gilian2587
@gilian2587 2 жыл бұрын
I've been working with Visual Studio 2019. Really not sure what to think of it compared to the automake world of linux. It seems that nested source directory structures don't appear to really be supported in Visual Studio. So... I have 12 *.cpp files and 14 *.h files all splayed out in one directory. I have one filter for display 'Experiments' -- ui toy things that I want to play with in isolated scope; and one filter for GuiElements -- where I have hand crafted gui elements for buttons, sliders, textboxes, editable text boxes, and scrollable lists. The libraries I'm using are cross platform -- but it would take a bit of doing to get it running on Linux.
@logan_wolf
@logan_wolf 4 жыл бұрын
so, i found the sprite viewer and map editor on github, but the map editor in particular doesn't seem to be working for me. All I ever get is a black console, although the width/height and edit button show up in the upper right corner, and all the commands are visible at the bottom. It just doesn't seem to want to load the maps, the lvl files.
@londerson
@londerson 6 жыл бұрын
Hello, Javid. We have chance for one version of olcConsoleGameEngine.h for Mac or Linux (without "window.h")?
@javidx9
@javidx9 6 жыл бұрын
Hi Londerson! Almost, there is an SDL2 version in the works that should be fine for linux. I dont have a mac to test it with though. It should just be a drop in replacement for the header file
@londerson
@londerson 6 жыл бұрын
Tanx, for the tip. Your work is amazing! Do you have a big fan here.
@PhilBoswell
@PhilBoswell 6 жыл бұрын
At 28:05 you describe the Tile Sheet as "basically a One Lone Coder format sprite" but I couldn't find where you actually said what that is >_< What am I missing? Did I miss a video where you described the "OLC Sprite" format?
@javidx9
@javidx9 6 жыл бұрын
Hi Phil, I notice youve been watching the entire back catalogue? Thanks for that! Ill answer all your comments soon, but I can do this one quickly, the code it yourself frogger video talks about sprites.
@PhilBoswell
@PhilBoswell 6 жыл бұрын
Indeed, and very edumacational it has been ;-) I did watch that one but the sprite stuff must have passed me by, I'll try again. I wonder whether there's some room for encapsulating them as a class to hide the heavy lifting and allow for future optimisation without breaking current code…yet another argument for Object Oriented Coding ^_^
@tw7522
@tw7522 5 жыл бұрын
Although I quite enjoyed the whole series, there's a lot of problems with this code. You're missing virtual destructors for some of your classes, the assets will never be unloaded (and in result the clean-up is delegated to the system) since they're in the singleton. You could as well use unique_ptrs to store the array in order not to destroy them manually.
@javidx9
@javidx9 5 жыл бұрын
Thanks Tomasz! As with most of my projects I only delete what I explicitly allocate, and in this case you are correct, the system will do this. But also, given I know the simplicity of my projects Im happy for all the resources to be loaded once and remain resident. I'll be examining level loading in some detail in 2019 which will take a very different approach than that shown in this simple example.
@walenfesata
@walenfesata 4 жыл бұрын
Can I write this on Geany instead Microsoft V.Studio?
@monkeyboy4492
@monkeyboy4492 3 жыл бұрын
LOL those monitors!
@hikarihitomi7706
@hikarihitomi7706 3 жыл бұрын
Why not use an enum with an array? Wouldn't that allow friendly naming with an array?
@musicinsession
@musicinsession 4 жыл бұрын
Mate I haven't touched C++ in nearly 8 years, but your channel has inspired me so much that not only have I picked up the language again, I might actually start making a few videos of my own! Keep up the good work mate! :)
@michaelmahn4373
@michaelmahn4373 6 жыл бұрын
Looks great. But needs more THAC0.
@javidx9
@javidx9 6 жыл бұрын
Wow that took me back :D
@LamantinoElettronico
@LamantinoElettronico 4 жыл бұрын
Why did you mention that name?
@robertboran6234
@robertboran6234 6 жыл бұрын
Magnum Opus.
@samilozcelik8356
@samilozcelik8356 5 жыл бұрын
If I'm wrong please correct me. Using map comes with another advantage. Whenever you search something in map, it guarantees that the time complexity will be log(n). (my English is not so good but i hope you get it 🙂)
@javidx9
@javidx9 5 жыл бұрын
Hi Samil, this in some situations can be considered an advantage yes, but there are faster data structures than map that can achieve similar goals. I think its just important to choose the most appropriate tool for the job.
@salainen6850
@salainen6850 6 жыл бұрын
Just a little question: Is it possible to use binary literals in Visual C++?
@javidx9
@javidx9 6 жыл бұрын
Hi Salainen. It is, in certain implementations you can specify 0b000111 for example, but not all of them.
@salainen6850
@salainen6850 6 жыл бұрын
javidx9 Okay, thanks!
@LV-ei1ce
@LV-ei1ce 6 ай бұрын
is there a tutorial to learn how to build the OLC engine ?
@mworld
@mworld 2 жыл бұрын
A map with a string index is slow because string equality checks are slow (e.g using find on the map), whereas an integer index is very fast in comparison.
@darkhunter777
@darkhunter777 3 жыл бұрын
Основной минус такого способа - конечное число символов латыни в матрице =)
@avvvqvvv99
@avvvqvvv99 5 жыл бұрын
can i do this on linux? or do i need visual studio?
@javidx9
@javidx9 5 жыл бұрын
Hey Avvv, You can do similar things in linux - I have linux versions of olcConsoleGameEngine and olcPixelGameEngine. The console version uses SDL though
@avvvqvvv99
@avvvqvvv99 5 жыл бұрын
Thanks for the reply. SDL is the usual in Linux systems most of the time.
@davep7176
@davep7176 Жыл бұрын
Need more Javiidx9 videos.... I ran out after watching them all
@thefoolishgmodcube2644
@thefoolishgmodcube2644 6 жыл бұрын
What about super Jario bros? Is it still being continued?
@javidx9
@javidx9 6 жыл бұрын
It will be continued. There is a LOT of crossover and identical between these two projects, so my plan is to take the dynamic character movement, and use it with Jario for enemy control
@thefoolishgmodcube2644
@thefoolishgmodcube2644 6 жыл бұрын
Alright, glad to hear that. Keep up the good work!
@bradleychristensen1574
@bradleychristensen1574 4 жыл бұрын
I am having trouble loading sprites into my program using the olcPixelGameEngine2.0. They just show up blank or as a black square. I have them in my project and i've tried your .spr and my .png files and nothing works :( anyone know what could be happening?
@go-spacex5099
@go-spacex5099 4 жыл бұрын
Chrono trigger!!!
@truth8483
@truth8483 Жыл бұрын
What type of project should I open up in visual studio to start following along? Obviously its not a console application. Can you please help? Thanks.
@javidx9
@javidx9 Жыл бұрын
A console project or just empty project is fine
@truth8483
@truth8483 Жыл бұрын
@@javidx9 Oh really? Fantastic, thank you!
@seditt5146
@seditt5146 6 жыл бұрын
HA, Just got to that header file and using namespace std; LMFAO, Wittys gonna attack you :p
@uuu12343
@uuu12343 6 жыл бұрын
Sedit T To be fair, he attacks everyone :V
@Manguitom
@Manguitom 5 жыл бұрын
Wonderful schematic of how an RPG game should be made!
@tensei2020
@tensei2020 4 жыл бұрын
i barely understand on programming. but i will try my best :D thank you for sharing your knowledge about this. greetings from Philippines. keep it up. thumbsup
@darkhunter777
@darkhunter777 6 жыл бұрын
Don t used SFML ? Or only openGL ?
@javidx9
@javidx9 6 жыл бұрын
I have used SMFL, SDL, OpenGL, DirectX and even experimented with Vulkan, but in this instance, I'm using the console.
@darkhunter777
@darkhunter777 6 жыл бұрын
What is the point in console games, they can not be monetized? хД
@javidx9
@javidx9 6 жыл бұрын
Well its not about making money for me, I do it for the fun of doing it, and I use an environment that is really simple for others to use too. If you've just written a "hello world" program, and asking what else can I do in the console?, well the answer is anything! :D
@user-bf1cs4rh5h
@user-bf1cs4rh5h 5 жыл бұрын
How can i download "olcConsoleGameEngine.h" ?? sorry i'm not good at English TT.
@user-bf1cs4rh5h
@user-bf1cs4rh5h 5 жыл бұрын
Oh i find it!
@javidx9
@javidx9 5 жыл бұрын
Good stuff!
@wgisexuallyidentifyasprett4142
@wgisexuallyidentifyasprett4142 3 жыл бұрын
this is what happens when Party Boy from Jackass pulls up his pants and picks up a computer
@Jarmachi
@Jarmachi 6 жыл бұрын
I'm just getting into coding and I was wondering if using tutorials like this is a valid way of learning or do I need to do it all by myself without help?
@javidx9
@javidx9 6 жыл бұрын
Hi Jarmachi, my videos do assume you know some of the basics first, such as program flow, variables, arrays and routines. After that I just try to present ideas that people could have some fun with. This video is quite advanced relative to many of my others. I hope that using the console helps bridge the giant leap form "hello world!" to full graphical APIs, allowing newcomers to understand the principles of why what they do - does what it does.
@Jarmachi
@Jarmachi 6 жыл бұрын
Thank you for a response and yes I have a solid grasp on theses concepts as I have just finished my C programming course in college and was looking for more advanced subjects.
@bakedbeings
@bakedbeings 5 жыл бұрын
Jarmachi Heya Jamachi, just wanted to say that even when you follow along with a tute like this you’ll probably start to have opinions about doing things differently. I find I learn a lot when That happens because my opinion drives me to understand the code and look up c++ reference, which is easier with very focussed problems :)
@dopplegangerdavid
@dopplegangerdavid 5 жыл бұрын
Can't access your website, dude. I'm getting a 509 error.
@javidx9
@javidx9 5 жыл бұрын
Yeah, thanks, ive had a rush of traffic this month and exceeded my bandwidth. It should reset on the 1st. Though i will be relaunching the website at that time, so it may be a bit buggy 😁
@3ckortreat
@3ckortreat 4 жыл бұрын
which programing language does he use?
@chronicsnail6675
@chronicsnail6675 4 жыл бұрын
C--
@lopo8000
@lopo8000 2 жыл бұрын
i get font height // ScreenHeight to big when debugging ERORR how do u solve that?
@javidx9
@javidx9 2 жыл бұрын
The console is too large for your screen, try halving fonth and fontw values in ConstructConsole function.
@lopo8000
@lopo8000 2 жыл бұрын
@@javidx9 it works on the debugger, but the .exe dosen't show any pixels except the blue ff box, why do i get only 2fps?
@javidx9
@javidx9 2 жыл бұрын
Did you download the images required? Debugger runs much much slower than release build.
@stumbling
@stumbling 5 жыл бұрын
FIZZY VIMTO
@TheIDAJShow
@TheIDAJShow 4 жыл бұрын
What programming language is this?
@javidx9
@javidx9 4 жыл бұрын
C++
@TheIDAJShow
@TheIDAJShow 4 жыл бұрын
@@javidx9 Thanks!
@enstein225
@enstein225 4 жыл бұрын
netflix please buy this serial
@AJSquirrel53
@AJSquirrel53 4 жыл бұрын
I would pay to watch this lol
@Goregreet
@Goregreet 5 жыл бұрын
Wow wait how did that code just magically appear how did you get it wtf this is so unclear
@javidx9
@javidx9 5 жыл бұрын
Which part are you referring too Beavis, perhaps I can help!
@Goregreet
@Goregreet 5 жыл бұрын
@@javidx9 20:25 is the part i dont follow it may be all clear to someone who knows your channel but you see im new to your channel so im kinda clueless at this point
@javidx9
@javidx9 5 жыл бұрын
@@Goregreet Yeah, I use a header file called olcConsoleGameEngine (and more recently olcPixelGameEngine) which makes drawing to the console (or screen) very simple and accessible. Some of my earlier videos talk about this file in some detail. On my channel I try to focus on the algorithms rather than a specific implementation, so people often go and take those and implement it their own way. All the header file does is get user input and draw to the screen, it has no built-in game specific functionality.
@JackoLfc08
@JackoLfc08 5 жыл бұрын
@@javidx9 What about at 31:55 you all of a sudden have a ton of code not mentioned in the video?
@javidx9
@javidx9 5 жыл бұрын
The video does mention it, this project starts off using the "simple platform game" video code. Regardless you can see all the code in the github of you need to check things out!
@pajeetsingh
@pajeetsingh 3 жыл бұрын
I read it: Covid-it-yourself 😭
@ultimatechallenger2529
@ultimatechallenger2529 3 жыл бұрын
video starts at 5:24 Thank me later...
@sam9758
@sam9758 4 жыл бұрын
This guy looks like Gilfoyle from Silicon Valley
@flavortown3781
@flavortown3781 4 жыл бұрын
So you made a secret of Mana clone
@autergame
@autergame 5 жыл бұрын
source code?
@javidx9
@javidx9 5 жыл бұрын
The only videos Ive not released source for is the RPG series - I will, I just want to tidy it up first.
@DeepFriedOreoOffline
@DeepFriedOreoOffline 3 жыл бұрын
Reads the description: "... A top down role playing game in the style of Zelda and Final Fantasy." Brain: *explodes* The movement and combat systems in both of these games are very different... It's not really possible to make a game that is like both of them at the same time... So now I have to watch the whole damn thing to figure out which one it's actually like, and pull my hair out if it's the wrong one, lol.
@JustinK0
@JustinK0 3 жыл бұрын
he said its like FF because its more story driven. The way you move around and attacks things is like the original Zelda game.
@DeepFriedOreoOffline
@DeepFriedOreoOffline 3 жыл бұрын
@@JustinK0 Yes, he explains that really guy after, lol. It was a joke.
@ankurkishore4330
@ankurkishore4330 4 жыл бұрын
Can you make a video on making minecraft
@The_Ghost_In_Heaven
@The_Ghost_In_Heaven 4 жыл бұрын
Looks like Pokémon
@dopplegangerdavid
@dopplegangerdavid Жыл бұрын
Why are you using the Pixel Game Engine and not the Cry Engine? The Cry Engine can do many more things that the Pixel Engine can't like Pixel Shading Bump Mapping GPU Parallax Parallagram Processing Voodoo!!
@bigmofo1122
@bigmofo1122 6 жыл бұрын
First post!
@Sanglierification
@Sanglierification 4 жыл бұрын
C# 😪
@javidx9
@javidx9 4 жыл бұрын
err, c++ actually
@Sanglierification
@Sanglierification 4 жыл бұрын
@@javidx9 ok I got confused with the ide sorry
@Thebasicmaker
@Thebasicmaker 3 жыл бұрын
Why I do hate C++? It seems you can't make any graphics right away, I know there are libraryes but I don't know how to use them and where to find documentation...maybe on internet but I actually don't care because I just don't like C++! I use to program in Basic and I have many dialects of basic even one for 3D graphics and creating videogames...so why bother?!
@flipndip5122
@flipndip5122 4 жыл бұрын
I'd suggesting putting the coding language somewhere
@JustinK0
@JustinK0 3 жыл бұрын
You can see the cpp files at the start of the video, it doesnt say .java or .cs it says cpp which is c++
@plattcriceta1719
@plattcriceta1719 4 жыл бұрын
Once you break rules of OOP you no longer use OOP in a justifed way. Go for peocedural programming, it is better.
@aenesunal
@aenesunal 4 жыл бұрын
I immediately close the video as soon as I heard this: > I'm gonna use this lowercase c to indicate it's a class. What are you man? from 80s?
@javidx9
@javidx9 4 жыл бұрын
Err, actually yeah...
@aenesunal
@aenesunal 4 жыл бұрын
@@javidx9 Ah that's funny that I guessed it correctly :d Anyways, what I put it there was a bit harsh. I think not getting best-practices is better than getting bad-practices. I hope you'll consider following some tech news and adjust your skills based on that?
@javidx9
@javidx9 4 жыл бұрын
Thanks man. I work on embedded projects with hundreds of source files, often in ides that are far from good. Ive found Hungarian notation to be invaluable to programming fluidly. If i need to do some mass refactoring then i should have spent more time in the design phase. Having visible information, i believe, doesnt do any harm.
@marcferretti
@marcferretti 4 жыл бұрын
This is far too complicated for what I wanted
@JustinK0
@JustinK0 3 жыл бұрын
you didnt want to "code an RPG game yourself"? hahahah
@mrmeowsermoney
@mrmeowsermoney 3 жыл бұрын
20:20 I sat through TWENTY MINUTES of you talking about NOTHING only to be forced to have "The platform game engine." I don't know what that means, but all I see is code that this tutorial should've already gone over instead of the twenty minutes of babbling on about useless garbage that everyone knows!
@javidx9
@javidx9 3 жыл бұрын
Well clearly you're too smart for this channel! Good luck!
@computerprogrammer7942
@computerprogrammer7942 3 жыл бұрын
@@javidx9 yeah he is well too smart 😂😂
Code-It-Yourself! Role Playing Game Part #2
55:29
javidx9
Рет қаралды 54 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,2 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 40 МЛН
$10,000 Every Day You Survive In The Wilderness
26:44
MrBeast
Рет қаралды 47 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 31 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 65 МЛН
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 813 М.
Coding Adventure: Coding a Coding Game
4:38
Sebastian Lague
Рет қаралды 583 М.
Dungeon Warping via Orthographic Projections
42:14
javidx9
Рет қаралды 80 М.
One year of my C++ SFML journey
5:39
Snapi
Рет қаралды 373 М.
The Best FREE Software for Game Development! (In my Opinion)
11:06
Pseudo 3D Road #8 - infinite vegetation, tunnels, city
5:34
Jason Doucette
Рет қаралды 4 М.
I Made a Graphics Engine
6:42
Zyger
Рет қаралды 239 М.
This Problem Changes Your Perspective On Game Dev
25:51
Jonas Tyroller
Рет қаралды 334 М.
What are Interfaces? (C# Basics)
13:54
Code Monkey
Рет қаралды 200 М.
The Unreal Engine Game Framework: From int main() to BeginPlay
27:22
Alex Forsythe
Рет қаралды 193 М.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 2,7 МЛН