Moros Smith
Moros Smith
  • 14
  • 13 051
PGEtinker aka I finally did something cool
This is a presentation I gave on the OneLoneCoder Discord server about PGEtinker, and the things that make it work.
X/Twitter: x.com/Moros1138
Github: github.com/Moros1138
OneLoneCoder Discord: discord.gg/WhwHUMV
Support PGEtinker
PGEtinker: pgetinker.com
Patreon: www.patreon.com/PGEtinker
Merch Store: store.pgetinker.com
Переглядів: 37

Відео

Staging PGEtinker
Переглядів 522 місяці тому
This video is edited from a voice chat session on the OneLoneCoder Discord server in which I shared my screen and demonstrated the process of staging and deploying an update to PGEtinker. Got questions? Leave a comment!
PGEtinker | Interactively build olcPixelGameEngine programs right inside your browser!
Переглядів 503 місяці тому
PGEtinker is an interactive web app that allows you to build olcPixelGameEngine application right inside your browser! Patreon: patreon.com/PGEtinker OLC Discord: discord.gg/WhwHUMV
1 Hour Drawing, In Real-time
Переглядів 3511 місяців тому
In this video I draw with a timer set for 1 hour. After which the picture is finished... Are you an artist? Show me your 1 Hour Drawing!
happy trees
Переглядів 27Рік тому
sped up 200%, demonstration of my krita "tree" brush preset.
Chocolatey's Emscripten package is Broken... sorta Let's work around it!
Переглядів 992 роки тому
Chocolatey's Emscripten package is Broken... sorta. Let's work around it! In this video I discuss a bug in the emscripten package hosted by chocolatey and a relatively simple way to get back on track! PGE Template Project on Github: github.com/Moros1138/pge-template-project Chocolatey: chocolatey.org Navigate to EMSDK folder cd %localappdata%\emsdk Update EMSDK to the latest version git pull In...
Building Web Based olcPixelGameEngine Applications using CMake and Emscripten
Переглядів 1,2 тис.2 роки тому
Recently, I made a video to demonstrate a CMake script I made to make starting truly cross platform olcPixelGameEngine applications quickly! What I didn't demonstrate was that this cmake script could also be used to build using emscripten! That's right, PGE on web pages! YAY!!! PGE Template Project on Github: github.com/Moros1138/pge-template-project Chocolatey: chocolatey.org Install Git: choc...
Building cross platform olcPixelGameEngine applications using CMake!
Переглядів 1,6 тис.2 роки тому
In this video I demonstrate a CMake script I made to make starting truly cross platform olcPixelGameEngine applications quickly! I hope the script and this video are useful to you in some way! PGE Template Project on Github: github.com/Moros1138/pge-template-project Chocolatey: chocolatey.org Visual Studio: visualstudio.microsoft.com/downloads/ Homebrew: brew.sh 00:00 Introduction 00:16 Windows...
Quick Underground Map for my D&D Campaign
Переглядів 553 роки тому
This map took me about 8 minutes to draw. Sped up the playback to fit the music because I'm too lazy to edit music today. Hope you like it. Credit for Music: "Future Gladiator" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 4.0 License creativecommons.org/licenses/by/4.0/
Let's Make An olc::PixelGameEngine Application using Code::Blocks on Windows
Переглядів 3,9 тис.4 роки тому
# Let's Make An olc::PixelGameEngine Application with MinGW ua-cam.com/video/jnI1gMxtrB4/v-deo.html # OneLoneCoder - olcPixelGameEngine github.com/OneLoneCoder/olcPixelGameEngine -Download olcPixelGameEngine.h header file -Download olcExampleProgram.cpp source file # Code::Blocks www.codeblocks.org/
Let's Make An olc::PixelGameEngine Application using MinGW
Переглядів 6 тис.4 роки тому
# OneLoneCoder - olcPixelGameEngine github.com/OneLoneCoder/olcPixelGameEngine 1. MSYS2 Website www.msys2.org 2. UPDATE MSYS2 -Initial Update pacman -Syu -Secondary Update pacman -Su 3. INSTALL MinGW -64-bit system pacman -S mingw-w64-x86_64-gcc -32-bit system pacman -S mingw-w64-i686-gcc 4. INSTALL Make -64-bit system pacman -S mingw-w64-x86_64-make -32-bit system pacman -S mingw-w64-i686-make...
Asteroids with olcPixelGameEngine and olcPGEX_Particles
Переглядів 3104 роки тому
Asteroids with olcPixelGameEngine and olcPGEX_Particles You can see the particle engine in action when asteroids are destroyed! olcPixelGameEngine by Javidx9 github.com/OneLoneCoder/olcPixelGameEngine olcPGEX_Particles by Moros1138 github.com/Moros1138/olcPGEX_Particles Graphic Assets provided for free by Kenney! www.kenney.nl/
GetHome - PGE 1 vs PGE 2
Переглядів 834 роки тому
A side by side showing GetHome using the olcPixelGameEngine version 1 and version 2, side by side.
Get Home
Переглядів 924 роки тому
Gameplay Trailer plus Credits for my OneLoneCoder Game Jam entry! moros1138.itch.io/get-home

КОМЕНТАРІ

  • @Joseph21-rz8gl
    @Joseph21-rz8gl 2 місяці тому

    Nice demo! Thanks for taking the effort of putting this up yt. It's really fascinating to see PGE tinker develop end evolve, cheers!

  • @RogueShadowTCN
    @RogueShadowTCN 3 місяці тому

    I would totally be using this if Rust wasn't dramatically more sane than C++!!!

    • @moros1138
      @moros1138 3 місяці тому

      Perhaps you'll find this more to your liking play.rust-lang.org/ 😄 thanks for watching

  • @bxinagrand
    @bxinagrand 3 місяці тому

    Good stuff! Can't wait to see people make awesome things with PGEtinker

  • @emretekmen1602
    @emretekmen1602 8 місяців тому

    cant thank you enough for this. I have been losing my mind trying to find answers as a beginner, turns out I was using an old version of mingw.

  • @jonraza6369
    @jonraza6369 9 місяців тому

    what if you already have mingw installed?

  • @user-ot5ec8yf8e
    @user-ot5ec8yf8e 11 місяців тому

    thank you so much!! I finally got it working because of your video and template on Mac M1

  • @jamesmunroe6558
    @jamesmunroe6558 Рік тому

    This is one of the most helpful foundational videos for installing a vendor-agnostic C++ setup I have ever seen. Thank you!!!

  • @SassyToll
    @SassyToll Рік тому

    Thank you so much for this Moros! it really helped me out

  • @kci8i88
    @kci8i88 Рік тому

    You are the best. All over the Internet, you are the only one who made a guide with an explanation that is relevant for October 2022 THANK YOU!😁

  • @BrianMendoza93
    @BrianMendoza93 Рік тому

    Nice!

  • @judah530
    @judah530 2 роки тому

    🤭 𝔭𝔯𝔬𝔪𝔬𝔰𝔪

  • @GameBacardi
    @GameBacardi 2 роки тому

    There are many videos were they use cmake, I never understand how that work or why needed. Need look that again one day.

    • @moros1138
      @moros1138 2 роки тому

      If you have a specific question about it, I'm happy to answer anything to the best of my ability.

  • @Cuperino
    @Cuperino 2 роки тому

    Excellent video! Thank you for the thoroughness. World bee nice to see a follow up on how to package for distribution.

    • @moros1138
      @moros1138 2 роки тому

      Thanks for the praise! Sadly dist packaging is one of my personal weak points. I may do something about it in the future, if I'm able to figure it out and understand it enough to make something that'll be useful to others.

  • @ramimahawish528
    @ramimahawish528 2 роки тому

    Are you use the mingw on linux for building the windows app , you should edit the file olcPixelGameEngine.h at lines : 2535 :Shlwapi.lib to shlwapi.lib 2555 Shlwapi.h to shlwapi.h at compiling use command : i686-w64-mingw32-g++ -o olcExampleProgram.exe olcExampleProgram.cpp -luser32 -lgdi32 -lopengl32 -lgdiplus -lshlwapi -ldwmapi -lstdc++fs -static -std=c++17 sorry for my english 😬

  • @gatetm
    @gatetm 2 роки тому

    In file included from olcExampleProgram.cpp:2:0: olcPixelGameEngine.h:387:36: fatal error: experimental/filesystem: No such file or directory #include <experimental/filesystem> :/ please advice

    • @moros1138
      @moros1138 2 роки тому

      generally speaking, when you encounter problems like this it's because you're trying to use the wrong version of mingw on windows. the easiest way to tell whether or not you're using the right version is to type in "g++ -v" and see if it says MSYS Build, or words to that effect in the output. If it does not, there are a couple possible reasons. First, you may have installed multiple versions of mingw, and there is conflicting gcc/g++/mingw32-make et al. in your PATH.... that would be the first place I would check because the other possible reasons involve not actually following the instructions of the video (and I don't wanna say that, so don't make me say that) you can join the OLC discord if you need more help. discord.gg/WhwHUMV

  • @solrainer7
    @solrainer7 2 роки тому

    Little remark. If you use cygwin packet manager instead of mingw you must manualy #define __WIN32 and __#define__ __MINGW32__ right before #include "olcPixelGameEngine.h", otherwise there's apear some errors.

    • @moros1138
      @moros1138 2 роки тому

      cygwin is beyond the scope of these instructions, if I ever make a cygwin specific tutorial I'll be sure to include this tidbit of info. Thanks!

  • @volttonic9366
    @volttonic9366 2 роки тому

    Thank you sir!

  • @thewandererguitar
    @thewandererguitar 2 роки тому

    Is it a good idea to add MAKE to our system_path as well?

    • @moros1138
      @moros1138 2 роки тому

      in retrospect, probably not, best to leave it mingw32-make, and call that. when i made this video i didn't consider path contamination and the idea of installing multiple toolchains

  • @TheFinagle
    @TheFinagle 2 роки тому

    I wish I knew this was here when I started with OLC::PGE a few months ago. I had no problem with the gcc that shipped with my OS, but setting the flags right and CB looking for .o files that it never generated (still happens with release, but debug works) because Im not using linker files. (I knew it was a strictly a CB issue because it all worked in terminal fine).

    • @TheFinagle
      @TheFinagle 2 роки тому

      @@moros1138 The specific issue I had was with how codeblocks handles compiling. It assumes (strongly) that everyone is using linker files. But I was compiling direct from .cpp to exe. When the second command tries to execute on the .o files it fails because there are no .o files - it then cleans up after itself deleting the executable that had generated. I did eventually figure it out

    • @moros1138
      @moros1138 2 роки тому

      @@TheFinagle I'm glad you got it all sorted!

  • @codehard5824
    @codehard5824 3 роки тому

    i followed all the steps, but when I run the program it only shows a white screen instead of noise, what should i do?

    • @moros1138
      @moros1138 2 роки тому

      Sounds like you're running it in a VM without graphics acceleration enabled, but without further details I can't really be helpful to you.

  • @stevesajeev6477
    @stevesajeev6477 3 роки тому

    Wow.. Nice tutorial... Very easy one to follow.. Why did you stop making tutorials... Please continue...

  • @knight_kazul
    @knight_kazul 3 роки тому

    This seems like a very nice video, unfortunately it does not come with a gdb.exe file. Thus, I can't debug in VSCode. Sadly, I have to look for yet another different compiler.

  • @knight_kazul
    @knight_kazul 3 роки тому

    Update: I fixed it. All I had to do, was to launch MSYS as administrator. Sigh. Why does programming have to be this stupid sometimes? ///////////////////////////////////////////////////////////////////////////////////////////// I got to step 2 and once I type 'pacman -Syu' the following appears in the MSYS window: :: Synchronizing package databases... error: failed to update mingw32 (unable to lock database) error: failed to update mingw64 (unable to lock database) error: failed to update msys (unable to lock database) error: failed to synchronize all databases After that I tried out all the other commands listed in the description and it only says the following: error: failed to init transaction (unable to lock database) error: could not lock database: Permission denied What do? Please halp. I'm on Windows 10, 64bit, have reinstalled MSYS and restarted the computer but nothing helps.

    • @knight_kazul
      @knight_kazul 3 роки тому

      @@moros1138 I thought the aim of programming was to reduce the chaos of the ocean. Well, looks like we've created so much control structures of our own that we unintentionally built our very own sea with its very own kind of chaos. Anyway, happy coding and good night.

  • @edwinmartens7459
    @edwinmartens7459 3 роки тому

    I'm trying it on windows with code::blocks.. but I get a compile error on fs_path.h line 237 stating: no match for 'operator!=' ....... On linux everyting works, exept for the sound extension, which gives me compile errors too.. Can you help in any way ?

  • @akinhieurukin4575
    @akinhieurukin4575 3 роки тому

    Thank's very much for this video! Stay safe. :)

  • @NeZversSounds
    @NeZversSounds 3 роки тому

    If only MSYS64 didn't give errors - bash: xxxx command not found Only thing that works is "ls /usr/bin/"

    • @moros1138
      @moros1138 3 роки тому

      this sounds, to me, like you've installed the main package without installing the mingw compiler, both I cover in detail in this tutorial.

  • @ishdx9374
    @ishdx9374 3 роки тому

    waaaait, how did you run the example program from within windows and it opened from within your linux desktop 7:12

    • @moros1138
      @moros1138 3 роки тому

      good catch! i was waiting for someone to notice that. I daily drive linux, therefore all my windows based stuff is in a VM and at the time my VM didn't support proper hardware acceleration, which left the PGE window as a blank white screen. To make the video, I did a jump cut with the linux window in front to "fake" it :)

  • @ZennyKravitz
    @ZennyKravitz 3 роки тому

    Very interesting indeed

  • @rfyorfyo5022
    @rfyorfyo5022 3 роки тому

    works in cmd but not in codeblocks

  • @duskota2234
    @duskota2234 3 роки тому

    thank you so much!!!

  • @vaneurom7263
    @vaneurom7263 3 роки тому

    It worked perfectly first time for me by following closely your instructions. The two videos on the subject are very clear and enjoyable. Thank you for your work!

  • @footballCartoon91
    @footballCartoon91 3 роки тому

    I got an error: At line 237 "no match for 'operator!=' (operand types are 'std:: filesystem::__cxxll::path' and 'std:: filesystem::__cxxll::path')

  • @mehrshadfarahani6071
    @mehrshadfarahani6071 3 роки тому

    Great work! Thank you so much.

  • @fernandojoserojasestebez115
    @fernandojoserojasestebez115 3 роки тому

    HaHaHa, first not compiled and next watching the second tutorial about MinGW and now works perfectly.

    • @moros1138
      @moros1138 3 роки тому

      glad you got it working in the end.

  • @_lapys
    @_lapys 4 роки тому

    Thanks to this video guide, now understand the usefulness of MSYS2. Thank you Moros for making this 👏🏾

  • @foamyrocks665
    @foamyrocks665 4 роки тому

    You are a savior! I'm starting to hate MinGW with all my heart!

    • @moros1138
      @moros1138 4 роки тому

      Yea, If it's possible for you. I recommend using Visual Studio Community. It's free and is generally much better for windows development.

  • @vendetta4224
    @vendetta4224 4 роки тому

    after building i am getting an error at 237... saying "D:\Cblocks\CodeBlocks\MinGW\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\bits\fs_path.h|237|error: no match for 'operator!=' (operand types are 'std::filesystem::__cxx11::path' and 'std::filesystem::__cxx11::path')|"........PLEASE HELP , HOW CAN I FIX THIS ISSUE ??!!

  • @JohnDoe-kj1jt
    @JohnDoe-kj1jt 4 роки тому

    Thank you for both videos. In version 2.07 of olcPixelGameEngine you also need to add Dwmapi lib (-lDwmapi).

  • @humzauddin6692
    @humzauddin6692 4 роки тому

    Hello Bro, fatal error: experimental/filesystem: No such file or directory I am getting this error at line 243 [code]#include <experimental/filesystem>[/code]

    • @moros1138
      @moros1138 4 роки тому

      check my pinned comment. typically those who are having problems have not installed or configured the proper version of mingw... run "g++ - v" and check that you are using MSYS2 version of mingw. if it does not say MSYS2 in the output of that command, then you should follow my tutorial on installing MSYS2.

    • @humzauddin6692
      @humzauddin6692 4 роки тому

      @@moros1138 Thank you I think I haven't installed msys2 version

    • @moros1138
      @moros1138 4 роки тому

      @@humzauddin6692 no problem.. when you do.. make sure you remove the other version from your system path, to make sure you actually use the correct version! I have a video with a tutorial in my pinned comment :)

    • @humzauddin6692
      @humzauddin6692 4 роки тому

      @@moros1138 I seem to be missing std=c++ 17 on my CodeBlock, I think it is the reason it is not working properly do you know how can I add it to my system? Also, I don't understand. Whose version should I manual remove from my system path? I haven't linked anything to the system path. I have used to the 64bit version that's compatible with my system.

    • @moonbatch-team9684
      @moonbatch-team9684 3 роки тому

      @@humzauddin6692 yes you need to add in linker path -std=c++17 or c++2a

  • @ChrisLeeW00
    @ChrisLeeW00 4 роки тому

    Thank you so much. I've been using my school's linux server for most cpp dev, so I really needed some help setting it up in windows.

  • @jayasribhattacharya2048
    @jayasribhattacharya2048 4 роки тому

    Thank you sir.

  • @Cypooos
    @Cypooos 4 роки тому

    Thank you a lot ! You save me a lot of time, and I was struggling a lot. I'll also credit you in my project. Thanks again, cheers !

    • @moros1138
      @moros1138 4 роки тому

      You are very welcome!

  • @moros1138
    @moros1138 4 роки тому

    THIS TUTORIAL EXPECTS that you have followed my previous tutorial and have installed the proper version of MinGW. If you are encountering problems, trying running "g++ -v" from a command prompt and check that you are using MinGW from MSYS2.. If you are not, you are using the wrong version of MinGW and it is likely the reason you are encountering problems. ua-cam.com/video/jnI1gMxtrB4/v-deo.html

  • @larsh943
    @larsh943 4 роки тому

    Do you know if there is a way to use the pixel game engine with visual studio code? I can't get it to run.

    • @moros1138
      @moros1138 4 роки тому

      There is most definitely a way to do it! I use Visual Studio Code religiously. But the method will be slightly different depending on what OS and compiler you're using. I just made a gist with a couple scenarios. Build tasks.json examples for GCC on Linux and MinGW on Windows. gist.github.com/Moros1138/517fae660164587053d97c8b5dc59d03

    • @larsh943
      @larsh943 4 роки тому

      @@moros1138 Wow thanks so much! I still have one problem tho, i copied the tasks.json and added it to my project but when i try to run it i get the error: file format is not recognized; treating as linker script. do you maybe know why?

    • @moros1138
      @moros1138 4 роки тому

      I haven't the slightest idea without the details of your build environment. What compiler are you using? What OS? Also, if you're so inclined, you might consider joining the OneLoneCoder discord server. discord.gg/WhwHUMV

    • @larsh943
      @larsh943 4 роки тому

      @@moros1138 sorry, i'm using windows and MinGW. oops that error was because i hit ctrl+shift+b while on the tasks.son tab. I've tried it on olcExampleProgram.cpp but now i get a whole bunch of errors that don't make any sense. too much errors for the terminal window to show, even when scrolling all the way up.

    • @moros1138
      @moros1138 4 роки тому

      @@larsh943 just wanted to follow up here, so people coming here don't think I just left you hanging!... we solved the issue via discord. The problem ultimately was having multiple versions of MinGW installed and in the system path. We got it sorted out!

  • @rishitsingh6621
    @rishitsingh6621 4 роки тому

    nice tutorial, Moros. Btw I'm Coderish

  • @javidx9
    @javidx9 4 роки тому

    I'm javidx9 and I approve of this message XD

  • @javidx9
    @javidx9 4 роки тому

    Awesome work, great tone, good pace.