28-July-2024 : 100 people resonating with me may 2024 : Start making some good content Channel started : Aug 2023 - posting random things about programming
raylib is written in c , almost all methods of raylib in python is exactly same as its c and c++ version , so it is very easy to port the game you make in python to c or c++ then convert it to exe , and c/c++ exe are way better than python one
Thx u for ur respone! The purpose of question is cuz I found out that ursina has entity component system and animate_y and animation functions. Hope u got a video on ursina soon!
*The answer is trivial and obvious: As is so often the case, the developers of Python didn't know how to solve these problems properly - or they were too lazy.* *It is very surprising that Python is so widely used, because the syntax is a pain and often has the level of knowledge of 1-2 decades ago. An obvious example are the data types and what a mess how to recognize/check them. Honestly? Checking characters? That IS a disgrace for a modern programming language. And a terrible pain.*
I really appreciate your video and your channel, keep it up😄. just a question, from where does a.exe come from? when I run it, it said (The term 'a.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.) , what is the problem?
I really appreciate the video and the channel, keep it up 😄. JUst a little question, from where did a.exe come from? when I run (bash build.bash ) it said (a.exe : The term 'a.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.) can you tell me the problem?
Hi, I have a problem with imgui, I don't know, I'm doing everything you do, but I need to write the full path to imgui, like this #include "../Raylib_ImGui/dependencies/include/imgui.h" But you like to write only #include "imgui.h" What could be wrong?
I was hoping to see a video that actually explains how it is performed on encoded files (eg. JPGs) without recompressing them and losing more fidelity.
Considering a pixel as a collection of subpixels instead of a single one, for each subpixel, sample and average the color value. Finally, assign this averaged value to the original pixel. At fundamental level, this doesn't remove the staircase effect but makes it harder for the human eye to detect
Here is my take. This construct is obviously a hack. I can't believe that Guido van Rossum would have designed modules this way if he had included them from the start. So I'd guess that modules in python were a later addition and he designed them in a way that is relatively simple to implement. However, this created the problem that just importing a module would execute any top-level code and this hack was the solution. I'd love to hear the real story behind those and see how far I'm off the target. :)
Beginner python programmer here! Thank you for this clear and simple explanation despite me being completely new to python I still found it easy to understand
When we use if __name__ == '__main__', we are checking whether the current program is being run directly or being imported as a module into another program. If we import the first file into a second one without if __name__ == '__main__', Python will execute the code in the first file without distinguishing whether it is being run as the main program or not. By using if __name__ == '__main__', we ensure that the hello() function is specifically executed only when the first program file is run directly as the main file. I hope this explanation helps clarify the usage and importance of if __name__ == '__main__'
Any obfuscation library significantly complicates reverse engineering by transforming the source code into a more complex form. While the assembly code remains visible, obfuscatoin libraries uses techniques greatly increase the difficulty and effort required to reverse engineer it. Absolute security isn't guaranteed if you are providing source code to end user / (hacker) final verdict : if code obfuscated with subdora or any library ends up into wrong hand , they only able to see the assembly code running on cpu hope this helps
Thank you for your reply. I am preparing to launch a PySide6 application to the public. Due to the LGPL license of PySide6, I am required to make the source code available to my users, enabling them to recompile it and view the library itself. To protect my work, I am considering using obfuscation methods on my source code. Additionally, I will provide an executable version of the application for users. I hope that this approach will minimize the risk of reverse engineering and protect my hard work.
as raylib is works on opengl , its good for normal games , but if you are intrested the you can try vulkan for coding an engind Here is some useful resources ru-vid.com/group/PL8327DO66nu9qYVKLDmdLW_84-yE4auCR&si=jtB-tQGPw2H1SEXI
no problem,while clicking on exe it shows installation window and there is also an option of selecting path by default it is c:/raylib , after installation make sure this folder is created , then open it inside there is folder 'w64devkit' open it then go to bin , copy the path in "in my case it will be c:/raylib/w64devkit/bin simply add this path into your environment PATH variable and you are good to go , Let me know if you able to resolve the issue or not
@@top5things895 I've tried to add path many times before watching this video and it just failed D= (error: fatal error no such file or directory). Also, I've added raylib directly in my folder, and still failed lmao
@huyduong976 make sure you are not in windows safe mode , also check windows version if you are using some windows which won't allow you to install any third party apps / software
please elaborate "draw using raylib in a rlImGui window" ?? window is handled by raylib completely and imgui subwindows is acting like component rendered on main window
@@top5things895 probably render in sub window then. For exemple I want a window called "My game" with some option on top and in it I would draw a circle using raylib function. Cause right now, when I create an ImGui window, it shows on top of my raylib project. I would want to incorporate my drawing in the Imgui window not behind it. Is it possible ?
yes it is , inside while loop in begin_drawing first render the imgui stuff then draw anything with raylib the circle is rendered on top of imgui window , while loop ->begin_drawing-> clear background -> rl_imgui_begin -> imgui_subwindow -> rl_imgui_end -> draw_circle->end_drawing . may be in next video in this series where i show installation of imgui+raylib in vscode in windows i use the example .
@@top5things895 Thank you ! It does work ! Do you have any idea how to make it so we can get the size of the Imgui subwindow (for exemple, so my circle never get out of this subwindow it's in) ?