Skip to main content

Posts

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...
Recent posts

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...

What does a good game consist of? (part 41)

Elements Elements of an object or a subject can be hard to understand, because they are well related to the chemical periodic system of elements. Same goes for elements in a video game. Just like real world physics and real world graphics can be made in a video game, so can be real world chemistry. This includes xenon, titanium, radioactive platinum, sicilium, carbon, dirt water, oxygen, hydrogeneric, helium, ether, nitrogen, sodium and magnesium. If you combine dirt water, hydrogen and ether, you get internet potential water. Obviously you wouldn't need that substance in a video game virtual world, but it is possibly required in some genres and game types, such as racing games that have illegal driving chase helicopter interpol internet patrols. Internet patrols basically work like store security surveillance. The video records are then sent to (military) police personal system criminal records facility. To make the helicopter surveillance, you would need to apply internet potenti...

What does a good game consist of? (part 40)

Challenge Challenge is one of the key components of a good game. As far as that may sound motivating to you as a developer and a player, in reality it's a lot harder to implement than said, and also hard to beat, while playing. But that of course shouldn't stop you from trying to achieve both anyway. One way to make a game more challenging is to increase the statistics of AI opponents. Challenge sheet tier 1: bear hit points               100 tactics                      10 attack                        10 damage                   1 defense                   5 intelligence         1 strategy                   1 swimming    ...