olc::PixelGameEngine 2.0
Vložit
- čas přidán 11. 04. 2020
- I've added some significantly performance enhancing features to the olc::PixelGameEngine, as well as make it easier to port to other platforms.
Source: github.com/OneLoneCoder/olcPi...
Patreon: / javidx9
CZcams: / javidx9
/ javidx9extra
Discord: / discord
Twitter: / javidx9
Twitch: / javidx9
GitHub: www.github.com/onelonecoder
Homepage: www.onelonecoder.com
Community: community.onelonecoder.com - Věda a technologie
Hello! And I'd like to extend my appreciation to SaladinAkara, Moros1138, Eremiell, MaGetzUb, Gorbit99, slavka, DragonEye, Tutas and joshinils for putting up with my questions and for helping with testing.
Just tried it on Linux, it compiles out-of-the-box. You're awesome dude
Just wow. :) another amazing production. I'm sure ppl will create wonderful applications with it.
Why do you have two monitors and does it help with visualisation of the program?
I have 3 main and two auxiliary monitors. You can never have enough monitors.
I'm not a developer, but I've spent countless hours watching your videos, with a great passion, and a 'healthy' jealousy , wishing I could go back in time, and learn how to code.
And because I'm not a developer, I was thinking,
Do you think, that one day, if you have some time and patience, in a future v5..v6... etc, of your pixel game engine, you could add some kind of wysiwyg interface, with some buttons, menus, etc, for the millions of guys like, that would love to play with such tools, but has no knowledge to even type some code to create a circle...?
The idea would be having a bunch of options and menus, for exemple, to create some 3d objects, texture them, transform them... apply movements, actions, etc, in some kind of timeline(like a piano roll.. ), apply some physics (like having a textured sphere bounce on other objects, with physics).... , create some animations (eg, we shot an arrow, a textured balloon explodes)... with the possibility to import sprites, define hitboxes, etc... and let us set attributes, etc... and let us see the current framerates, memory used, e.t.c...
If we were able to make a pong game, or any other simple thing, without having to type code (thought, we could always do it, if required), it would already be a success.
More than a game maker, it would be a great tool, to mess with simple polygons, textures, play with things like angles, directions, sizes..
Maybe such app already exists ... but if it was you who'd make it, it would be 1 million times better, and simple to use...
Do you think it would be too big and complex, for one single person to do it ?
Just imagine: a kid is using a coloring book, to color some static drawings. With your app, he could load a big 3d Sprite, pick a color or texture, and fill/colorize each triangle. He could make it bigger, rotate it... zoom in... make it jump... make it 3 times smaller, over 3 seconds (the famous timeline...each object could have its own timeline, and apply simple actions, like rotate, resize, tilt, etc, and interpolate it..we could then save it as an animation, and resuse it later)...
What a fantastic app it would be.
I'm far from rich, but I'm willing to donate a few bucks, to motivate you (even if you don't need any kind of motivation to do things, I guess :)
Ok ok... it's too complex to do, and too much work.
But hey, at least, we can still dream, right...
Thanks for all your videos, man.
I look forward to olc::PixelGameEngine 3.0, where I'll be able to render each individual grain of sand on a beach.
Hahahaha
Real time rendering of voxel environments with shader scripts, why not if you ask me.
Why did this make me actually laugh out loud
Dream small nerd, I'm holding out for olc::PixelGameEngine 4.0, which will be so powerful it will simulate a girlfriend for me.
in PGE 5.0 you can build a computer that's faster than the computer computing the game
Users Mockingly: "I cAn'T drAw BiG sPrITes"
OLC: here's 50k with transforms at ~60FPS
yeah, but can it run crysis?
javid: hold my beer
Aproape 50 de mii. Erau vreo 45 de mii.
Make them *BIGGER. I wont be satisfied until my sprite is the size of a galaxy and takes a billion years to load
"I WANT MY SPRITES TO USE 4K textures!" --PrOgRaMmEr writing a pixel art game
CZcams's compression algorithm didn't seem to break.
sad
I tried! I tried!
@@javidx9 it got a little jpeg-mushy though, so partial success?
I think they made some updates after slo mo guys went to 4k.
At 20k dynamic sprites and 100fps I raised my brow and demand someone buy this man a beer!
Video started to download so slow when demo started
Just leaked the new final fantasy VII remake was made with this engine
Please provide a download Link...
@@achtsekundenfurz7876 lol
My chin dropped at the demo in the end…
@Smattless you didn't?
45FPS to 3500FPS, ah yes, a small improvement there I see
It's the little steps. It all helps!
That little tech demo was very impressive. I'd not mind a full RPG game done in that style.
remember Virtual Hydlide?
> Virtual Hydlide?
The game that's measured in seconds per frame?
czcams.com/video/mAbG8Oi-SvQ/video.html
lt is good to see one lone coder these days. (With beard)
my lockdown beard...
there's a direct correlation between the success of a programming language and the length of the hair growing on the face of the man who built it. (With the exception of Bjarne Stroustrup)
@@javidx9 Starting to look like Robinson Crusoe!
"… so I hope this update goes some way to addressing that problem." Understatement of the year?
Yes it is a understatement :D
I'm hoping to be as smart as you when I grow up.
I'm 40 :(
I can relate to that:).
With confidence I can say that If you lower your bar to things like being able to code 2D games you will start to learn programming and have fun too. Follow your dreams
40 is a new 20 bro
It’s never to late to start dude
And Colonel Sanders founded KFC when he was 65.
Thank you so much for this!
I am a physics student and a beginner to programming. Recently I started to write simple physics simulations and was using python but it started to lag quickly, so I wanted to try out C++, but I couldnt find a beginner friendly tool for visualization ( for example: drawing bouncing balls). Thanks to your great work I can watch thousand of bouncing balls in their full glory and I am having an absolute blast!
I think your engine is a great tool for people who arent programming experts like me and I will definitly recommend your channel to everyone I know that is interested in this stuff!
Finally the olc Pixel Game Engine is the smallest, easiest to use and (now) good performing engine I've ever seen. No bloated stuff, no giant 500 file lib, nothing at all but a simple single file. Sure its more like a basement than a house, but now its a solid one :)
It may be possible to alter the triangle, line and rect code to get the work done on the GPU now :O
For starters one could use a single colored decal and transforming it to a triangle, rectangle or line (a line is just a thin rotated rectangle).
Too bad you will have to use 500mb lib anyway (boost) once you start doing anything serious with it because it's C++ and not C.
In 20 years of c++ programming ive never needed to use boost.
@@javidx9 it sure doesn't hurt that stuff like threading, regex, typeof made its way into the standard in a conveniently extremely similar way that it was implemented in boost. You may not know mr boost, but he sure fought to make it easier for you to write stuff nowadays.
@@jebactychpolicjantow5497 Newer versions of C++ support regex and multithreading in the standard library.
@@UltimatePerfection Boost is nice, but ever since the C++11 standard came out most of what made Boost really useful was already part of the standard library or the STL of C++ itself.
Beard: +10 wisdom
Hello!
I'm a second semester CS student and your channel made me love C++ and programming in general. I just want to say, never stop what you're doing!
Absolutely stunning, I'm just starting out with C++, nice inspiration this! :)
It's brings me back: fully motivated (again). Thank you.
WOW, this engine has changed from a mini van to a rocket, incredible!!!
Happy Easter! This video is a great thing to see in the middle of this pandemic 😁
Love your work mate - seeing you create and evolve your engine over time has really fueled my own desire to experiment developing engines for fun. Keep it up!
I spew my tea when Daggerfall started playing
yup me too
I'm really impressed with the content in your channel. Thanks for your hard work!
25:01 "Are you out of your Vulkan mind?!"
Super cool. It’s great to watch your tech evolve and get some insight into the choices you made and paths you took. Valuable stuff. Mucho thanks sir!
Cheers Tom!
This is really impressive.
I left programming for a while as I pursued other things in life for about 2 years now, but your videos just reminded why I fell in love with programming in the first place. I love the video format and it shows that you put a lot of effort into them, they are entertaining and extremely educational at the same time
I'm new to your PGE and I can't wait to dive in to this.I'm so happy we have GPU rendering on this! The performance gains are astronomical!
This is so awesome. I'm so impressed by this engine and your videos! Great work!
This is absolutely incredible stuff. I'm fairly new to your channel and I can only wish you'd been on the teaching staff at the university where I studied game programming & CS. I've built some game engines in my time and I'm blown away by how effortlessly yours works. Truly fantastic stuff, sir. Thank you so much.
I'm astounded. Fantastic work, and i can't wait to play around with this a little bit.
Pardon my Australian but holy shit! You went from the console to an amazing Final Fantasy looking demo!
I’ve been watching these game engine videos back to back for a while and just every video leaves my jaw on the floor as a person who is obssesed with the command line console based projects
Iv'e been learning C++ on my own for a year now and it's videos like this that make me excited to continue learning.Thanks for the content, hope you never stop making videos!
Even though I know why the improvement in performance is so massive, it's still great to see it go from 40 to 3500 fps. Great job mate!
Hi, I'm from Brazil and I recently discovered your channel. Here I study computer engineering and, its content is incredible, congratulations to you. I'm sharing your channel with the whole computer and math department here at the university.
Hey thanks Gabriel, good luck with your studies!
Beautiful engine api! it's very inspiring watching these kind of code art! congrats! I'm a big fan of you.
Awesome video with precise explanation about current features. Congrats javidx9!
You truly inspire me to continue my love for technology as well as coding good sir. I know this is a late comment, but thank you for these videos. I learn a heck of a lot and even make my own personal demo projects to follow along and learn new things. Congratulations as well on your new addition to your family :)
Great performance improvement. I'm just getting back to doing graphics (on an Android) with some new projects and I found this inspirational for some new projects I'm working on, thanks.
Impressive stuff, looking forward to having a dig into the code to see the changes. Does explain why we’ve not seen so many “let’s make a clone of this game” tutorials for a while, fair enough!
The demo at the end was beautiful... 😃 congratulations for your awesome work!👏 May God bless you!
You are not just a coder, you are an artist. I don't even use c++, but I must say, I am a fan. I wish I had found your channel sooner.
This looks incredible Javid, thanks.
Wow such great news during these times, thanks!
This is seriously impressive! Thank you so much!
Wow. It’s amazing how far the game engine has come since the console version. I can’t wait to have play with this.
This really looks awesome, thanks for sharing!
That looks amazing, I can't wait to play around with it! keep safe over there David.
Thanks, you too!
Wow, David you are a genius ! Thank you for sharing this. I am so excited to get started trying your PGE out. Again Thank you!
amazing work, it's just so easy to get up and running - I wish I'd tried this before!
Great videos and joyfull to look at all the source. Many thanks
The demo at the end was absolutely stunning, and a great demonstration of the decals and layers
Thanks!
@@javidx9 What i found the most impressive about it is the use of tinting to show shadows. Perhaps some interesting graphics math behind how that works.
@@javidx9 You know, I just realized I could emulate this in VGALIB by just doing palette manipulations. Although I'd have to allocate specific portions of the palette to individual canvases, since the palette is a global construct.
Well done.
Looking forward to playing around on it
Really cool! I really can't express how impressed I am!
Hi David.....once again from my confinement enclosure I salute you.
Lovely tutorials, please keep them up.
Greetings.
0 _ 0 whooaAA!!! I've never been at a loss for words before, this is fantastically thought out and well put together. Thank you for all of the efforts and great job you've done!
Now, I may not be as active as some on this channel, but I do watch every video.
I'm always fascinated by how much progress you've made. (even though, as I always say, I knew this channel would work !)
Well done !
Cheers! We go way back! XD
Why can I only like this once?? Absolutely Brilliant!!
That is just awesome! The speed is mindblowing. Thank you :-D
I love you. All your videos, are informative, and you really have a knack for explaining :)
Amazing work, you should definitely have more views
You are a genius and an artist, i mean.... man, your code inspires me to become a better programmer, thank you so much!
I just want to say that tree sprite is really beautiful. Very fantasy forest feel to it.
Certainly an important upgrade! First time seeing this, crazy to imagine it without any GPU support.
To be slightly pedantic, this is a graphics engine rather than a game engine like something such as Ogre3D
what a fantastic thing to wake up to! thanks buddy
i was considering writing a game and im going to consider this a sign telling me yes
Thats the same with me, I'm now developing a game with olcPixelGameEngine and it's brilliant, what isn't brilliant though is my c++ skills :c Oh well practice makes perfect I guess.
@@KingJellyfishII You'll get there if you keep at it! In my mind, there are only so many mistakes you can make (forget a semicolon at end of line, forget header guards, putting template code in a cpp file), and once you've made all of them and fixed them, you won't make the same mistakes again (or if you do, finding out what's wrong and fixing it will be easy because you've already seen it).
Good luck figuring out where that SIGILL came from :]
Wish some day you would post a video explaining in depth the internals of PGE. Like how it does what it does. Thanks a lot you are by far one of thebest youtubers in yt!!!!
Most of the progression of PGE 1.0 is already on his channel - you can see how it got to where it got and the decisions made and why. You'd probably get more out of comparing the code of PGE 1.0 to PGE 2.0, to see what was changed or moved and why. Decals and Layers you can go straight to the code and see how he did it, and as for the reorganization into API + platform + renderer I think you'd get a lot more out of reading the code than a video could give you.
You're never going to get the code depth you want from a video, is basically what I'm saying, and code depth is what you need to understand the difference between 1.0 and 2.0.
All of the new features sound really good. Might give the engine a shot myself
This is remarkably unique and interesting. Like 3D and 2D are living together.
Good job, David. Thanks a lot for your efforts!!!!
Now you have to move independently every single blade of grass in order to simulate wind to... Blow our minds. Again.
Thank you so much. Amazing work.
from about 40 to 2.5 k , well thats a thing :D Great job, and thanks for sharing all this with us. HYPERS . PS: I love the Demo at the end DoubleHYPERS
Truly amazing. Thank you!
This is just impressive, that last demo with multi-core rendering and OGL indexing might get a huge boost in performance.
This is fantastic! Excellent work!
I really love javid. Inspires me to actually want to program
Impressive performance :) Looking forward to support for shader programs!
this is an excellent engine / platform. I am hoping to learn more about it and use it in my projects. Thanks for creating this platform and sharing. These videos are very helpful - kind speaks to the art of the possible and diffuses the unknown a bit. God Bless.
I'm an embedded systems/business logic guy that dabbles in game programming and graphics and this is great, I love simple and straightforward APIs. I've never published a game but have some ideas and just might try implementing some with this.
I'm not going to lie: your videos have got me back into programming. I last touched C over 15 years ago, and I'm actually having a lot of fun this past month relearning as well as heaping c++ on top of that. The Tetris video is what excited me, and then your 8-bits of advice for n00bs solidified it. I don't know where this'll take me, but thanks for the inspiration.
Hey good luck Eric!
@@javidx9 Thanks for all of this. I already made a command-line program with C++ that has helped my business partner find a $25,000 opportunity that he wouldn't have found otherwise. I've been following your wxWidgets and image processing tutorials to make my own signal analysis software. I don't suppose you'll have a video on machine learning anytime soon? :D
I have never been so glad that I subscribed to an CZcams channel.
Love seeing the updates!
140K subscribers. I remember when you used to render videos in the terminal and had 1k subscribers. your videos are nice and I love them. Thank you so much for spread your knowledge into us!
lol, scary stuff huh? Thanks Sebastian!
i would not use the term scare, I would use amazing i stead. I remember the stuff using rhe webcam, that kind of magic makes your content unique ;)
Heya ! I discovered your channel only a few days ago but I love everything that I see !
And now that I know that you have your own little engine doing great work, I will try to implement it in my GameBoy emulator instead of SDL :D
Keep up the good work !!
Hey thanks! Would love to see what you come up with, show it off on the discord! :D
This looks amazing! Great job Javidx9!
Thanks! 😄
Your work inspired me. Great job!
Thank you so much for this!
This is amazing to me. I'm definitely making use of this.
Just.... wow. Amazing job David!
It's here! It's live! Get it now while stocks last!
As someone who loves programming, particularly in low level languages, this is the coolest project I’ve ever seen. It’s so impressive. You rock mate
Thanks, I'm pleased with it's progress!
I've never used PGE and don't plan to, as I'm working in my own engine. But I really love your content, I find it very useful. Never stop sharing your proyects! Your work is amazing and very inspirational
@Droid Bot Team it's 2D. I'm writting it in C++, using SFML for the rendering and detecting input. But currently I'm working just on the design, because my previous lack of planning made me rewrite a lot of code, so content like these, where I can see what other people think when designing ,is very useful!
Hey mate. Have been following your channel for a few months now and love your content. Your videos have given me a deeper understanding of coding, and helped guide me through my coding classes at university. Would love to see you live-stream some coding sessions on twitch. Keep it up!
Thanks Cameron! Ive been a bit twitch-light this year. Im hoping to start a more frequent stream series where I just stream the development of a larger project.
Even the demo is incredible although I have many other projects now, so I won't be able to try it out for a while but I still love it. Can't wait to see what people do with it!
Wow 😲 a true MASTER! Incredible!
When I grow up I want to be a programmer like you. Bloody hell what a fucking nice effect
I really like your work. It is very well explained.
Thanks Gilles!
The gpu Sprite demo reminded me of a prototype I was working on my spare time. If I remember corretly I got to about 1 million sprites with smotth fps, but my solution was for a very specific range of hardware. Your video got me interested in picking it up again. BTW I hope to see in the future some cool particle generator vídeo using these new features. Keep up the good work o/
Thanks Demetrius, Ive not done a video on particles per se, but I have included them in plenty of other videos. I'll keep going!
It's so amazingly beautiful to see someone who understands something show his talents. Wow
Redesigns entire PGE -> "I'm not thinking big enough." Though I share that enthusiasm. I just enjoy writing code sometimes, and as soon as you described the interface I was like, "Yup, he's going to abstract out the platform." *also abstracts out the render* You mad lad! Very cool stuff.
It's a boom boom!