Skip to main content

Questions tagged [objects]

A related set of properties (height, colour, level) and methods (pick up item, jump, attack) that are used to describe an entity in the game.

1 vote
1 answer
107 views

I am beginning to work on a physics system, where there are multiple objects in the world that get rendered. The current approach I am considering consists of pseudo-OOP in C where each object has ...
CPlus's user avatar
  • 153
3 votes
2 answers
2k views

I am developing a game engine in C++ (for an idea of what kind of design I'm going for, think of ROBLOX, if you're familiar with that) and I need help with a problem I have. So basically, the objects ...
Bunabyte's user avatar
  • 331
0 votes
1 answer
700 views

I am learning about Actions/Events in Unity and just built a system around them which works. However, it seems I just got lucky and I'm not sure why. Roughly, my class in a simple illustrative form (...
mike's user avatar
  • 501
1 vote
0 answers
2k views

I have a UProperty in struct which is a TArray<UCoverInfo*> where UCoverInfo is inherited from UObject: ...
Robotex's user avatar
  • 251
-1 votes
1 answer
673 views

Hi everyone I am trying to make a Mahjong Solitaire game using pygame. I want to create a list of objects (the tiles of the game) using a for loop, but I can't manage to set a different type (the ...
Matteo Scalas's user avatar
0 votes
1 answer
111 views

I have read from Hearn and Baker computer graphics book. I read the test#2 painter's theorem which image is given below. This image showing surface S is completely behind the surface S', by checking ...
S. M.'s user avatar
  • 117
1 vote
1 answer
146 views

I would like to understand how to calculate coordinates of boundaries group of objects as a parallelepiped in 3D game? Let's say for simplicity we have spheres randomly slowly moving in 3d space some ...
Arsenius's user avatar
  • 113
0 votes
1 answer
165 views

I have a World class that currently only has one instance. It has data and methods that need to be accessed by all other game objects. Right now I'm hardcoding a ...
EnderShadow8's user avatar
3 votes
2 answers
367 views

This might sound strange, but let me explain. Say I want to write a safari program. In this safari there is an object pool of 10 animals (Animal*): 2 ostrich, 5 ...
Tminator's user avatar
0 votes
1 answer
85 views

I have a PlayerClass class that is used to set my Player's class. For instance, this will make him a warrior: PlayerClass warrior = new WarriorClass(); ...
Thisisstackoverflow's user avatar
0 votes
1 answer
159 views

I have a base class Object, and depending on how the object must behave on the scene, I have multiple abstract "role" classes, that inherits virtually from ...
lvella's user avatar
  • 153
0 votes
0 answers
53 views

I've been stuck doing this in a very inefficient way and really want to know if there's some design pattern that solves this because it seems like a pretty common problem to have. I have a system ...
Taceo's user avatar
  • 1
0 votes
0 answers
22 views

I want to put Scrollable Text On Object / Mesh. I looked after it on YT but I did not find anything useful. How could I do this?
user138277's user avatar
1 vote
1 answer
185 views

I am quite new to the wondrous world of "Procedural Textures", and I am trying to create a double precission perlin noise algorithm. I am almost done with it except for the fact that the coordinates ...
Braden McPhail's user avatar
0 votes
2 answers
491 views

I'm thinking about working on a game where I need to find all the objects matching certain properties. For instances I might need to look up all the objects... Producing gold. Whose level is 5 or ...
peoro's user avatar
  • 443

15 30 50 per page
1
2 3 4 5
8