Тёмный

How to make cross-platform games/apps in C++ 

Low Level Game Dev
Подписаться 30 тыс.
Просмотров 15 тыс.
50% 1

In this video, I will explain to you how you can port your C++ games or apps to other platforms. You have to make the right choices to make your games cross-platform.
#cpp #programming #gamedev
Want to learn more? Check out this playlist:
• If you want to learn h...
Discord invite link:
/ discord
Wishlist Midnight Arrow on Steam!
store.steampowered.com/app/23...
Music: Evan King - Let's Go!
/ contextsensitive
contextsensitive.bandcamp.com/

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

 

15 авг 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@happygofishing
@happygofishing 11 месяцев назад
Average cmake user, vs average mess of shell and batch scripts enjoyer.
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
😂😂😂😂 yes
@Pear64
@Pear64 10 дней назад
THANK YOU SO MUCH FOR THIS
@averyocean65
@averyocean65 11 месяцев назад
Very helpful and informative video!
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
thanks!
@fez6855
@fez6855 11 месяцев назад
Nice video, I'm very looking forward to watch the WinAPI tutorial :))
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
also looking forward to starting it 💪
@mr.tm-yt
@mr.tm-yt 11 месяцев назад
Great video!!! ඞඞ
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
thank you, also amogus
@InfiniteCoder01
@InfiniteCoder01 11 месяцев назад
You know @TheCherno? Your path of learning game dev reminds me of mine. I feel like you are going to make your own GUI library at the end, like I did after working with ImGui.
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
I think everyone knows the cherno 🤣 alsoo I have my own gui library 🤣😂 it is inspired by imgui and it is made for menus. You can find it on my git as glui
@rmt3589
@rmt3589 10 месяцев назад
Pretty much magically & instantly discovered the Hazel engine & TheCherno when I decided to make my own engine. Not sure how, probably the almighty algorithm.
@christinacarter2550
@christinacarter2550 11 месяцев назад
HELLO, good video! 💙🌼
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
thank you 💪
@jhgvvetyjj6589
@jhgvvetyjj6589 11 месяцев назад
In Windows, I can compile C++ without GNU or LLVM, by using Visual C++ 2005 or Digital Mars C++. Are there ways to cross-platform without using GNU/LLVM on any platform?
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
there probably are but I don't know how exactly. It is called cross compiling. There is nothing about the compiling that is platform specific. There is wsl for windows and you can set it up on visual studio for example. For compiling to linux I think you still have to use gcc or clang because msvc can't comlile to linux as far as I know
@Sergeeeek
@Sergeeeek 11 месяцев назад
You can use ziglang's build system. It can cross compile from any platform to any other. It can compile zig code (duh), as well as C and C++. It comes bundled with a bunch of platform specific headers as well. For example you can make a Linux binary that links to gnu libc on windows by just specifying your cross compile target.
@xavierg4931
@xavierg4931 9 месяцев назад
how did you test if your program works on mac?
@lowlevelgamedev9330
@lowlevelgamedev9330 9 месяцев назад
To test on man you need someone with a mac to help you. If you want to port something with opengl on mac you need to use Opengl3.3 I think and set a special flag in glfw or something. Fortunatelly I don't plan porting on mac often
@shiru15
@shiru15 Месяц назад
i dont understand anything what you say...
@notmanciv5016
@notmanciv5016 Месяц назад
C++ moment
@sleepyNovember_project
@sleepyNovember_project 3 дня назад
Cherno mentioned +1000xp
@Evan-fh2zg
@Evan-fh2zg 20 дней назад
holy fuck i thought i left my settings on 2x speed
@jpam3294
@jpam3294 11 месяцев назад
Java and JNI make hard to port to android
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
yeee android is not fun
@D---3
@D---3 11 месяцев назад
ho to webgl x android
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
Never done that 😂😂 but probably railib is your best option
@AE4i1
@AE4i1 11 месяцев назад
Who tf uses MacOS 💀
@happygofishing
@happygofishing 11 месяцев назад
at least its unix so you dont have powershell 💀
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
I don't 😂😂😂😂
@lowlevelgamedev9330
@lowlevelgamedev9330 11 месяцев назад
bro who cares about shells anyway 😂
@JustFeeshy
@JustFeeshy 11 месяцев назад
🥹
Далее
Easy C++ Reflection
5:11
Просмотров 11 тыс.
So I Made My Own Game Engine...
10:19
Просмотров 90 тыс.
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 767 тыс.
I Remade Minecraft But It is Optimized!
9:39
Просмотров 98 тыс.
Why Don't You Make Your OWN Game Engine?
7:23
Просмотров 10 тыс.
What I do to never have to worry about memory leaks!
8:03
Making a Game With C++ and SDL2
5:34
Просмотров 601 тыс.
When Optimisations Work, But for the Wrong Reasons
22:19