Skip to main content

Posts

Server coding

This is the first part of the series on server coding, in this series I will explain how to use c++ server queries, time tables, server net code, web code and how to use the c++ command line to make functional server code. Main server queries can be made in powershell. get-command This should establish a server shell, so that you can make most of your code in c++. Server shells are used for a strong connection between a computer terminal node and a server side connection with all the cloud data. Making a core shell is possible in c++ too.  #include <windows.h> void push_core(HRESULT** move_global);  void push_shell(HRESULT** move_shell); This moves the server code transfered through sockets and then transfers them through windows power shell to the server's internet protocol or IP. Now that the server shell is established, it's time to decide for the main sort of server operations. In multiplayer video games, this is internet server lobby, it is also possible to use the ...
Recent posts

direct x coding, part 5

To draw a monster arhetype, you have to first uproot your own system direct x data, initialize a direct x monster attributes server table, then sort all of the data into a separate close database and then print all you want to the fence and then to the screen. Direct x 12 fence works like a render memory for the computer. To update the fence, you can use the server command line. --fence This will send all the data you need to the windows operating system, so that it will be available to the direct x (12) at all times.  Another  tool you can use to apply direct x 12 coding is git, so you can push the fence data to your repository. That is in the case you actually have any in the datafiles, as you will not be pushing the hardware data directly. --push(fence) This will push the entire current fence data to the repository. You can then filter that data to see if there's something useful you need. To do this, you will most likely have to use the command line terminal. Once you...

direct x coding, part 4

Here is another important method, when coding with c++ and direct x 12. #include <windows.h> void modify(WND* handle, std::int object_handle) {     draw_pixels(handle, rgb(100), object_handle);          } WND class works as a multiple windows handle. That is how windows 11 works. It is one thing to make a window with direct x and draw some text and lines and 3d shapes on it, but using window handles is a bit different. Here is a simple window making program: #include <directx11.h> #include <windows.h> int main(reg) {      WND paint_wnd{0,0};     paint_message_box("single"); }; This program makes a square object on the heap, to initialize a window with a message box, that promps, if you are trying to use the program without the runtime error check. Now here is a window handle code: int main(reg, "--git") {     WND* paint_wnd{"clean"}; } This one parses checks if you ever ran a program from the previou...

direct x coding, part 3

Computer graphics processing unit uses a fence. It is possible to install a link on the computer fence that processes all of the needed things to be rendered to the next frames coming up, after the current one. To do that, you have to first initialize all the windows render procedure varibles: --main --terminal --channel void create_window(HWND* handle_pass, resolution x, resolution y); create_window("stack", 100, 100); Updating a window is one of the key things to do, when using direct x 12. Another part of the crucial tool box is to use graphs for rendering. In other words, it it possible to use 3d shapes, while rendering a 2d game. void draw_graph(Points* define_points); Rendering graphs is for handling data, that has to be rendered to the screen. #include "windows.h" void render_data(File* folder_system);

direct x coding, part 2

Microsoft Excel uses the same kind of drawing that direct x 12 does. It is possible to draw a graph in excel, just like it is in direct x programs. To make a graph, you need to first make a table of most important paint variables to draw.                 |monster archetype 1|monster archetype 2| --------------------------------------------------------------| strenght     |                10                   |                5                    | --------------------------------------------------------------| defense    |              20              |             10         ...

direct x coding

Direct x coding The point with painting and drawing with direct x 12, is to try to make a solid points fence, then work with the stack and the heap. And after that, you can try making a window handle. void use_handle(HANDLE* point); This will register a standard windows 11 window to the operating system files and central processing unit. A point variable here is a pointer to one of the main handles in the drawing system files. This calls the windows handle hotkey registry, and registers the start of the painting to the screen or monitor process. A window in windows operating system is either a button element, a sized or full screen window of a module. This makes a together a system of modules, which consists the operating system. Keep in mind, directx 12 is portable to Linux and Mac operating systems. use_handle((0,1,0,0,0)); paint("circle"); initialize("direct 3d"); use_handle("memory_call"); Before you can make a blank window, you have to first to initia...

Game development is hard (part 3)

Even though game development is always fun and exciting, it can also feel very  frustrating. It takes a lot of time to put in, a lot of effort, pacing team work, brilliant ideas of productivity from the team, innovation, cleverness, and more than everything, being prepared to put in a lot of hard work and work hard. This is of course from one perspective very fun and interesting as well, but it also causes tons of frustration. And just like fun and excitement are emotions, so are frustration, pain and deadlines fear, which all are included in game making and development. A good way to try and start overcoming that would be graph team meetings. Working on a single company graph, like game math division, and try make a discussion on how to improve the business, employer's assignments, team work, and most importantly planning. Real learning c++ and gaining experience on it does not come from learning tutorials, forums and books. But applying what is read, by practing coding and build...