Questions tagged [software-engineering]

Software engineering is the design and development of software as it applies to the game development field. Questions using this tag should be about theoretical concepts and practices as relates to the task of creating or designing software. This tag should not be used simply because a question involves programming or contains code.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

what software should I use [closed]

Hi i'm just starting to making a new game and I don't know what is a good software to use. I am using my school computer so some of them are blocked
0
votes
0answers
16 views

Formula to calculate Level and Current Experience from Total Xp [duplicate]

So I'm building a mobile game where I have simple XP progression system that goes like this: Level1: 0-399 Total XP Level2: 400-1199 Total XP Level3: 1200-2399 Total XP So basically for the first ...
0
votes
0answers
48 views

How to load a PNG in pure C

PNG loading: I've been creating a game engine for almost a year, and since the start of the development, I have been using stb_image for loading images. It ...
-1
votes
2answers
90 views

Why do we have to use a fractional numbers in the graphic engines (2D/3D)? Why integers are not enough?

Maybe it'll be a super beginner question but can someone explain me why do we have to use a fractional numbers (floats, doubles) ...
0
votes
1answer
60 views

How do I connect Unity to a server backend developed in .net core?

I'm currently running to a wall in my game development and I need now some discussion to clear my mind... In my mind I have a plan for some little online game (focused around clicking and idling), ...
0
votes
0answers
20 views

Dynamic spawn system

What are good approaches or patterns to structure a dynamic spawn system ? It should be able to "create" entities by their type-ID based on a set of rules which are able to change dynamic during ...
1
vote
1answer
50 views

How to choose what to use in Java: Enums or Objects?

I'm in a dilemma over using Enum Types or using class objects in that particular part of my java project. Let's suppose I have an array where I constantly add and remove things from it, but I also ...
-2
votes
1answer
54 views

Security in Unity

I have a public int variable in my game for number of coins. It's public because it must be accessed in other scripts and scenes (for when you want to buy levels, character,etc). I want to use anti-...
0
votes
0answers
53 views

Design decisions in building a 3D Rendering Engine using Vulkan in C++

I'm starting to learn the core concepts and features of the Vulkan API. I'm following the tutorials that can be found here: vulkan-tutorial. I'm at the point of getting ready to implement the code to ...
0
votes
1answer
77 views

Managing large amounts of data and processes for an economy management game

I'm making a management game in the vein of Anno or Stellaris, but I'm unsure how to manage all my data efficiently. Short example: the player controls multiple islands. Each island has factories on ...
4
votes
2answers
1k views

Which parts of Doom (1993) are open source and which are not?

As the original publication of the source code states, you still need an original copy of the game: https://www.doomworld.com/idgames/idstuff/source/doomsrc What exactly do you need from those ...
0
votes
1answer
45 views

How to communicate to an inventory item which character it's being used on?

Currently, I have an Inventory that is a ScriptableObject, which means it's not tied to any specific game object or player ...
0
votes
0answers
68 views

I need a custom launcher for my Minecraft server

I am creating my own Minecraft server for my friends and I (and then publish it). It uses Thermos for MC 1.7.10, with mods and plugins. My friends don't know how to install Minecraft Java Edition, ...
1
vote
0answers
63 views

Avoiding Global Variables in Event Driven Programming

First off is "procedural event driven programming" a thing? My question is about global variables in the context of an event driven program that doesn't use OOP... I have written a simple Snake game ...
3
votes
0answers
285 views

Is ECS an object-oriented design in disguise? (rather philosophical/technical)

Correct me if I'm wrong, but having read a lot about the ECS-Pattern in general and in the context of current game engines I am beginning to wonder if the ECS-Pattern in it's core is hardly more than ...
0
votes
1answer
176 views

Multiplayer Game Server Input vs Tick

I'm building a game server for a turn-based RPG game, where the players control their characters through a web interface ( think kind of like a Jackbox Party Pack game, where there's a screen that ...
11
votes
2answers
5k views

Is it a good option to simultaneously work on a game and a game engine? [closed]

I'm considering this, now I work on 3d game but I want also to make in slow tempo, iteratively a game engine is it a good choice? The game what I working on is with non custom engine (Unity, Unreal ...
1
vote
1answer
68 views

Even if one client port will be simple to write without it, should I still use an engine?

So the idea is to create a TRUE REAL TIME strategy game that is working as android and IOS app, and also as web browser game. Players should be able to play on all their devices. There will not be ...
0
votes
1answer
31 views

Ways to track login/loading progress dynamic?

Lets say we want to add a dynamic "loading bar" to our server-client game... the player presses on "login", a bar appears and shows the percentage of loaded assets and configurations from the server. ...
0
votes
1answer
32 views

How to replace texture maps on models in a packaged game?

I'm trying to do an experiment. I'd like to do some object masking to the assets inside of a game, so during run time, when you are playing, they're texture maps are replaced by the masks. The masks ...
0
votes
0answers
19 views

most flexible way to implement a buff /debuff system for a RPG game [duplicate]

I'm making an RGP board game where I have different heros, each one of them belongs to some types for example ("Aatrox" is a Dragon and a Ninja hence he belong to these two types),and each player has ...
2
votes
1answer
214 views

'Destroyed Actors' and 'Save Games'

Background Our team is creating an adventure platformer, and I have been tasked with creating a Save Game system. Our game features the usual progression systems, and is relatively linear. Approach ...
1
vote
1answer
141 views

Why aren't game mods allowed to talk to the outside?

Sorry if the title is a bit obscure, I didn't know what to call this. I recently got into mod making and thought of a mod which is able to control Spotify through in-game commands, using Spotify's API ...
0
votes
0answers
62 views

“Systems” needed for a box-pushing game

I already have an idea for a game. I also have a few years of experience with casual programming and game dev, and I know the messy while loop I had until now will not be enough for my next project. ...
2
votes
0answers
131 views

Structure for a strategy game

I am making a strategy game like Age of Empires. It's a pretty big project and I need a clear game structure. I have defined a Game_Object class with variables ...
0
votes
1answer
123 views

Engine for a Football Manager Type game (data driven, menu clicking) [closed]

A friend and I had started developing a football manager two years ago, but ultimately squashed the whole thing because we found ourselves in a mess with developing UI and saving/loading. The basic ...
0
votes
1answer
25 views

Terms of integrating 3rd party sdk and libraries in your engine

I am developing my own engine and integrating Bullet Physics. Now Bullet Physics is open source under Zlib license. My concern is, can original owner change the license later on to paid and how it ...
0
votes
0answers
26 views

Sprite alignment in my sprite packer

I am creating the "perfect" sprite packer. This is a sprite packer that makes sure the output sprite is fully compatible with everything. It converts (if needed) the source frames to BMP in memory It ...
3
votes
1answer
155 views

Mob generation design - is creating a class for each mob efficient?

I'm working on an RPG game for my coursework project. Everything is going fine but I've reached a stage where I do think that my project's code is not the most efficient. Here I have a constructor of ...
0
votes
2answers
105 views

Resetting variables when starting a new game

What is the best practice when implementing a way to start a game when a previous game has been played and the game's variables have already some kind of values assigned to them? The most naive ...
2
votes
2answers
128 views

Modify the effect of a card being played

I'm trying to recreate a simple card game. Each played card has an action (draw extra cards, peek at draw stack, eliminate an opponent card, etc). Once played, it goes on a stack, and the card effect ...
3
votes
1answer
127 views

Multiplayer oriented game engine object (C++)

for a personal project i started making a 2d game engine in C++ that uses sfml. The idea is having base "game object" classes from which a game will inherit. Right now i have: Game_engine class ...
1
vote
0answers
105 views

Switching from software Engineer to Game developer [closed]

I don't know if this is the right place to ask this. I've been working as a software engineer for 3.5 years so far, mostly web apps, mobile apps, web pages in banking systems, educational, etc but I ...
0
votes
1answer
28 views

Extending the camera vs CameraHelper class vs camera field

I am following an eBook called "Learning Libgdx Game Development" In it, the author implements a CameraHelper class that implements ...
1
vote
1answer
155 views

Why would a game engine developer use both DirectX and OpenGL?

It's very common for cross-platform game engines to support both DirectX and OpenGL, and even Vulkan. Why would a studio want to write abstraction code 2, 3, or even 4 times? OpenGL/Vulkan are ...
0
votes
1answer
82 views

How to manage complex mesh importing in to a game engine

A bit of context: I'm developing a 3D rendering engine and can't really make much more progress until I get some more interesting and complex meshes loaded in to the scene. So far I have been using ...
1
vote
0answers
152 views

How can I approach writing a GUI framework for my game? [closed]

The problem I want to write a simple GUI framework designed for a game, in order to learn the inner workings and nitty-gritty of how GUI 'engines' such as Unity3D's GUI work. I can't find any ...
0
votes
0answers
97 views

Where to create the vertex buffers?

Please note that this is purely an architectural/design question. And sorry for the long post, there are a lot of "thinking out loud" here. I'm working on a simple graphics engine (as a universtiy ...
1
vote
1answer
127 views

Game Metrics for Achievements

So I posted not too long ago looking for an alternative system to what I'm using for game metrics, meaning information I post each update when something specific happens (enemy damaged, killed, a wave ...
0
votes
1answer
98 views

Is it possible to achieve the same performance of CUDA on OpenCL?

I am planning on porting some of my CPU code to GPU. I want my code to run on all GPUs, so openCL seems to be the right choice. Will I be able to achieve the same performance as of CUDA in openCL?. ...
1
vote
0answers
427 views

Game Engine Class and Subsystem Architecture

I have a quick question for those who have experience coding their game engine and such. I was wondering what a better approach would be when designing my own game engine. Right now I plan on having ...
1
vote
1answer
592 views

Should I use dependency injection in Unity? [closed]

As learned about dependency injection on the internet, I found that it's something that can be done simply by the Singleton Pattern. But there are 2 completely different views on this issue: Some ...
0
votes
3answers
339 views

How to build a better game save?

I am making a roguelike card game like dream quest, and I want to improve my dungeon/level save method. Here's what my levels look like: I checked dream quest saves but I don't like their method ...
0
votes
1answer
70 views

Sequencing / triggering messages based on conditions in an adventure game

I've been struggling conceptualizing the best way to make a level flow with dialog and help hints changing as you play etc. Imagine your goal is to make this one screen 'adventure' game, where you ...
0
votes
1answer
100 views

Time loop/ticking architecture

Say I build a snooker game, where balls need to jitter around. Balls belong to a class (ball class), where all the ball functions are defined. In the animation, time evolves by a clock ticking ...
0
votes
2answers
153 views

Say I've got a list of a hundred unique weapons, how can I programmatically and easily identify them all?

I've got a class, WeaponFrame, that has an int member, weapon_frame_id, that I intend to use as a way to identify the weapon, ...
0
votes
1answer
60 views

Where to keep game images

I am new to gamedev, and I have one question about architecture. Where to locate game images? Should I keep this in the class object or in the main function and draw it depending on object variables?
1
vote
0answers
82 views

Is there an accepted architecture for these classes? [closed]

I am coding a game in python and so far so good, but I feel like my classes are not very modular. This is a simplification of what I've done: ...
3
votes
3answers
507 views

Are there technical reasons to use short variable names in shader code?

I have been reading and writing both GLSL and CG for the past few years, and have noticed a trend. In programming, we are generally advised to be as meaningful and concise as possible with variable ...
1
vote
1answer
2k views

How to design prefabs in Entity Component Systems

In Unity (and I presume other game engines) you can create "prefabs" which are blueprints for game objects. They contain a list of components, and default values for those components. Prefabs can be ...

1
2 3 4 5
12