Thank you so much Professor Shah!! Your explanation are very clear regarding Sprite and Texture. I cannot believed SFML is so much easier than SDL2.
@MikeShah
7 ай бұрын
Cheers!
@klutch4198
2 жыл бұрын
This has been an absolute blast so far!
@MikeShah
2 жыл бұрын
SFML really is quite fun, the API is quite clean, and it just works :)
@Андреич-с4н
7 ай бұрын
sprites are shown as a rectangular bounding box for texture. Is it possible to create a sprite of irregular shape like, say, maple leaf?
@MikeShah
7 ай бұрын
Will have to draw the actual geometry using the 'convex shapes' in SFML
@menachemlevi
8 ай бұрын
monalisa that moving very cool
@MikeShah
8 ай бұрын
Thank you!
@menachemlevi
8 ай бұрын
keep going
@mr.shadow1617
Жыл бұрын
I have a little problem with relative paths in VS. One path works in IDE, but not with exe file. For exe file I have to change paths. I didn't find a way to change relative path origin. Do you know to to fix this(I don't want to use absolute paths). Thanks.
@MikeShah
Жыл бұрын
The temporary path where the .exe is from the IDE is likely different then the working path when you generate an executable. This can also change between release/debug builds as well. Probably a setting somewhere to set your 'working directory' in whatever IDE you're using.
@mr.shadow1617
Жыл бұрын
@@MikeShah Okey then how can I set sprites sizes to be fixed so when I resize the window the sprites stay pixel perfect and do not stretch?
@mr.shadow1617
Жыл бұрын
@@MikeShah Okey I have found it out myself, anyway thanks
@apkiller10
2 жыл бұрын
Cool. I kinda like SMFL and SDL. But having problems with it's net class. Accually both. SDL seems a lot more usable on Linux and Android ndk apps
@MikeShah
2 жыл бұрын
I have an SDL Net lesson being prepared. SFML will follow sometime after as well :) At some point on my list is an SDL lesson for Android as well which maybe helpful.
@apkiller10
2 жыл бұрын
@@MikeShah Google: robocat sdl c++ multiplayer github; robocat server seems too cpu lag. It's a object replication example
Пікірлер: 17