Тёмный

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

javidx9
Подписаться 316 тыс.
Просмотров 208 тыс.
50% 1

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

Наука

Опубликовано:

 

17 мар 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 199   
@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 3 года назад
@@samuelhulme8347 What's status 3 mounts later ?
@samuelhulme8347
@samuelhulme8347 3 года назад
@@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-eo5bh2zg2
@user-eo5bh2zg2 4 года назад
Are setters/getters rreeally necessary?
@saldor0108
@saldor0108 4 года назад
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#.
@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.
@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.
@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 ;)
@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!
@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. :)
@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.
@napalmpig3772
@napalmpig3772 4 года назад
"It's no good if the first enemy of the game kills you straight away" dar*COUGH*uls
@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.
@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.
@kazzy_6891
@kazzy_6891 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 3 года назад
a no bajar los brazos papa!!
@Richard-xh5iw
@Richard-xh5iw 3 года назад
@@jrg4ngst3r83 Thank you bro
@kazzy_6891
@kazzy_6891 3 года назад
I'll repeat what I've seen commented here. You REALLY are the Bob Ross of coding. Thank you, sir.
@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! :)
@guithegood87
@guithegood87 4 года назад
This is skyrocket as my favorite channel.
@initfunction6961
@initfunction6961 2 года назад
Best Introduction to game programming concept
@andrewstark4240
@andrewstark4240 5 лет назад
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. :)
@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.
@autogenes
@autogenes 3 года назад
I love the graphics, they remind me of the old days of commander keen etc
@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 :)
@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.
@DAVISXXZ009
@DAVISXXZ009 6 лет назад
Thanks for sharing this, looks amazing...
@javidx9
@javidx9 6 лет назад
Thanks Davis, no problem!
@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
@crankluga
@crankluga 4 года назад
Thanks for the Tutorials, please create some for Node Connection UI. where an element can have an input and output node
@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 (:
@brecoldyls
@brecoldyls 2 года назад
39:25 I thought you were going to use the flyweight pattern here instead of singleton. Great video!
@nabilandadamslaboratory3422
@nabilandadamslaboratory3422 4 года назад
Great vid!!
@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. 😊
@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
@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
@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?
@BSlegt
@BSlegt 5 лет назад
I love your channel man !
@javidx9
@javidx9 5 лет назад
I am pleased Bart, thanks!
@samuelhulme8347
@samuelhulme8347 3 года назад
@@javidx9 me too
@yanakali2452
@yanakali2452 2 года назад
first quest: help javid find his glasses final quest: kill god
@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
@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.
@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.
@ogr2
@ogr2 4 года назад
Great tutorials, but where can I find that graphic tools for creating the map and the viewer of the spritesheet?
@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??
@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
@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.
@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.
@monkeyboy4492
@monkeyboy4492 3 года назад
LOL those monitors!
@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.
@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?
@Manguitom
@Manguitom 5 лет назад
Wonderful schematic of how an RPG game should be made!
@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.
@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.
@walenfesata
@walenfesata 4 года назад
Can I write this on Geany instead Microsoft V.Studio?
@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
@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
@hikarihitomi7706
@hikarihitomi7706 3 года назад
Why not use an enum with an array? Wouldn't that allow friendly naming with an array?
@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.
@davep7176
@davep7176 Год назад
Need more Javiidx9 videos.... I ran out after watching them all
@robertboran6234
@robertboran6234 6 лет назад
Magnum Opus.
@darkhunter777
@darkhunter777 3 года назад
Основной минус такого способа - конечное число символов латыни в матрице =)
@LV-ei1ce
@LV-ei1ce 8 месяцев назад
is there a tutorial to learn how to build the OLC engine ?
@go-spacex5099
@go-spacex5099 4 года назад
Chrono trigger!!!
@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 :)
@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?
@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.
@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.
@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.
@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?
@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
@stumbling
@stumbling 5 лет назад
FIZZY VIMTO
@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
@wgisexuallyidentifyasprett4142
@wgisexuallyidentifyasprett4142 3 года назад
this is what happens when Party Boy from Jackass pulls up his pants and picks up a computer
@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!
@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 ^_^
@あれくす
@あれくす Год назад
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
@あれくす
@あれくす Год назад
@@javidx9 Oh really? Fantastic, thank you!
@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!
@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.
@user-bf1cs4rh5h
@user-bf1cs4rh5h 6 лет назад
How can i download "olcConsoleGameEngine.h" ?? sorry i'm not good at English TT.
@user-bf1cs4rh5h
@user-bf1cs4rh5h 6 лет назад
Oh i find it!
@javidx9
@javidx9 6 лет назад
Good stuff!
@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 😁
@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.
@pajeetsingh
@pajeetsingh 3 года назад
I read it: Covid-it-yourself 😭
@enstein225
@enstein225 5 лет назад
netflix please buy this serial
@AJSquirrel53
@AJSquirrel53 4 года назад
I would pay to watch this lol
@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
@ultimatechallenger2529
@ultimatechallenger2529 3 года назад
video starts at 5:24 Thank me later...
@3ckortreat
@3ckortreat 4 года назад
which programing language does he use?
@chronicsnail6675
@chronicsnail6675 4 года назад
C--
@sam9758
@sam9758 4 года назад
This guy looks like Gilfoyle from Silicon Valley
@TheIDAJShow
@TheIDAJShow 4 года назад
What programming language is this?
@javidx9
@javidx9 4 года назад
C++
@TheIDAJShow
@TheIDAJShow 4 года назад
@@javidx9 Thanks!
@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!
@flavortown3781
@flavortown3781 4 года назад
So you made a secret of Mana clone
@ankurkishore4330
@ankurkishore4330 4 года назад
Can you make a video on making minecraft
@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?!
@The_Ghost_In_Heaven
@The_Ghost_In_Heaven 5 лет назад
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!!
@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.
@bigmofo1122
@bigmofo1122 6 лет назад
First post!
@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.
@Sanglierification
@Sanglierification 4 года назад
C# 😪
@javidx9
@javidx9 4 года назад
err, c++ actually
@Sanglierification
@Sanglierification 4 года назад
@@javidx9 ok I got confused with the ide sorry
@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++
@aenesunal
@aenesunal 5 лет назад
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 5 лет назад
Err, actually yeah...
@aenesunal
@aenesunal 5 лет назад
@@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 5 лет назад
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.
@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.
@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 4 года назад
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 4 года назад
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
Просмотров 55 тыс.
olc::AllSorts - Text/Commands/Sounds/Jams
21:55
Просмотров 32 тыс.
IQ Level: 10000
00:10
Просмотров 3,5 млн
Dungeon Warping via Orthographic Projections
42:14
Просмотров 81 тыс.
Texture Sampling #1: Points & Borders
30:32
Просмотров 33 тыс.
Line Of Sight or Shadow Casting in 2D
50:23
Просмотров 142 тыс.
Quirky Quad Trees Part 2: Dynamic Objects In Trees
44:13
Object-Oriented Programming is Bad
44:35
Просмотров 2,3 млн
iPhone 16 - 20+ КРУТЫХ ИЗМЕНЕНИЙ
5:20