Skip to main content

Posts

Showing posts from December, 2024

object render, part 4

Object is either two dimensional, or three dimensional. Even abstract ones. People imagine c++ game objects as a part of a class on a graph chart, to understand the game and development mechanics. But they are really two dimensional, iso metric or three dimensional. They can be seen on the level or the level map, in other words, about 90% of used classes. Even server objects can be seen on the game, if there is any blue print or underlying real world net working mechanism. So in other words, the class objects can be used in game. They have to be dimensional. //PvE class Monster {     std::vector<int>  head_memory{};     std::vector<int> body_particles{}; public:     int get_memory(int element);     int get_particles(int element);     int get_head_memory_size();;     int get_body_particles_size(); }; Monster's head memory is used for AI render, the body particles list is used for rendering. 60 frames per second...

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

Level tasks Making fun tasks for the level, is fun developing and makes for excellent levels. This can be missions, secrets, quests, objectives, puzzles, side quests, unlocks, story tasks, memory puzzles and most importantly explore tasks.  Legend of zelda: breath of the wild has a very large ammount of stuff to beat after you bet the all the story line quests and levels. It's not necessary, but still hell tons of fun. All level tasks work something like a bar code, it is hard to decrypt, unless you have something like a c++ encryption. However, even levels tasks are built by a game maker or in some cases a programming language, so we are back to the start of the problem. Really challenging levels might sound ten times over expensive or sometimes just plain stupid, but it's a more than welcome reality. Making camp levels is for example a giant channel, becomes it requires tons of investment and copy rights support of the us army army, but with a lot of creativity it is possible...

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

 Good company organization There is no need for employers to panic every single time someone does makes a good job, to have a promotion meeting to evaluate the performance. What is enough, is personal respecialization, or adding the workload. A big problem however still remains are finances, but only more if there are promotion problems. So what remains are big financial risks. It takes a process meeting, and all workers have to be informed of respecialization, even more in the cause of promotion. Level dynamics Good company organization leads to proper level design. Which requires, that all levels are minimally or optimally connected to each other, so that there is story cohesion, not only even in the cut sequences. A good way to start would be to make an entire list, of all the most important moving part of the level: character move boosts and the moving parts of the level. After that list all the level objects that are affected by wind. And finally list all the parts of level th...

object render, part 3

 Making a object requires a class call, but also has to be rendered. Monster monster{}; monster = new Monster[10]; void render_monster(Monster* monster_array); The iso c++ standard says you should use classes for making objects, not structs(structures). Considering it is a standard.  With emphasis on  should , not  must . It is a standard, not a coding rule. It was set forth by iso commitee and bjarne stroustrup. Polymorphism allows us to make multiple monster arch map types. virtual void render_monster(std::string map_name, int type=0); Atch map is a data map about what all is happening in the game, like for example campaign map. It allows making archetypes. monsters, for more efficient run time memory and pointers managing bugs and random access memory. Random access memory can hold quite many objects. class BackPack {     std::string inventory_node{}; };