Questions tagged [game-engine]

Use this tag only if you are creating or modifying a game engine framework, or if the game engine you use doesn't yet have its own tag on Stack Overflow. Otherwise use the engine-specific tag(s).

A game engine is a software framework designed for the creation and development of video games.

Some game engines even include a suite of visual development tools in addition to reusable software components and an asset pipeline that takes care of pre- and postprocessing resource files.

Many so-called "game engines" only provide real-time rendering capabilities instead of the wide range of functionality (physics, collision detection, pathfinding, user interface controls, AI, etc) needed by games. These engines rely upon the game developer to implement the rest of this functionality and are more correctly referred to as a "graphics engine" or "rendering engine".

3791 questions
1
vote
1 answer

How to convert string to Expression ? Using string in text file as formulas for different game variables

I'm using Unity with C#. Creating a resource management game. I need an Index system. ie. Food Happiness index, Food Variety idex. Each index would have different formulas. I don't want to hardcode each indexes. I'm looking for parsing solutions…
chusek
  • 11
  • 5
1
vote
2 answers

Does restricting the frames/s of a game engine (via vertical sync or common throttling), inflict latencies also on audio and input subsystems?

I was contemplating the fact that inflicting frame per second restrictions is not ideal in regards to latency and performance since a monitor still has a chance to show something sooner (assuming no vertical sync which is mainly for stability).…
j riv
  • 3,593
  • 6
  • 39
  • 54
1
vote
1 answer

Phaser Game Development - Movement with arrows too fast in Menu

I am testing Phaser doing a simple spaceships game. I have configured some states (boot, load, menu and levelOne) for the game and his functionality. On the menú I have 3 options in gray color (start, continue and credits), I keep a var called…
1
vote
0 answers

SDLNet Networking Not Working

I am working on a game written in C using SDL. Given that it already uses SDL, SDL_image, and SDL_ttf, I decided to add SDL_mixer and SDL_net to my engine. Getting SDL_mixer set up and working was very easy, but I am having a lot of trouble with…
LambdaBeta
  • 21
  • 3
1
vote
4 answers

Need an easy to use 3d game engine

I'm looking for a VERY easy to use 3d game engine. I want to program only the logic of the game, and don't want to have to concern myself with graphics. I just want to be able to download a model, put it in the game, and start programming the logic.…
Karan
  • 11,509
  • 8
  • 34
  • 38
1
vote
1 answer

Reduce the size of empty unity project android

I am working on a android game project with unity engine (version 5.2.0f3). My question is: an empty compiled project is 18 Mb APK file size. Why and how can I reduce the size ?
sandy mokarrami
  • 89
  • 1
  • 10
1
vote
1 answer

Unity Editor Scripting: How to update a CustomEditor SerializedProperty programmatically?

The headline already says it ... I have a custom editor script for a C# class in Unity with that a user can set several parameters via UI. But there's one case where some serialized variables in the class belonging to the CustomEditor class are…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
1
vote
1 answer

Skeletal animation blending upper/lower body, global or local space

If a model is compose of two cubes, upper cube and lower cube aligned along z axis, and lower cube is parent of upper cube. Giving two skeletal animation: animation A: upper cube keep static, lower cube rotate-z clockwise. animation B: upper cube…
1
vote
3 answers

Transform Normal and Tangent from Object space to World space?

As to correctly transform the Normal (which is a direction not a position) from Object space to World space, we multiply it with inverse of Model matrix/_World2Object matrix (in Unity). Then why Tangent (which is tangent to normal and is direction…
user2259784
  • 319
  • 1
  • 6
  • 19
1
vote
1 answer

worldToScreen() - How does it work?

I am reading an android tutorial for game development that explains how to convert in-game coordinates to actual pixels. Simple enough. This is done via function worldToScreen() as follows: public Rect worldToScreen(float objectX, float objectY,…
reddead
  • 320
  • 3
  • 7
1
vote
2 answers

Corona transition.moveTo() seems to stop other transitions on the same object?

local rect = display.newRoundedRect(200, 200, 150, 150, 2) rect.fill = {0,0,0} rect.alpha = 0.1 rect.xScale = 0.1 rect.yScale = 0.1 transition.to(rect, {time=1000, xScale=1, yScale=1, alpha=1}) -- transA local function moveListener() …
Abdullah
  • 9
  • 3
1
vote
1 answer

Overlap PNG taken from another part of PNG in unity3d

I'm surfing lot in google and spending more time but couldn't find the solution. I tried converting PNG to bytes[] then attaching but no solution I found. I have two PNG file one is full of Props like Hair, Dresses, Hand Glow, etc,.. another is…
Rasa Mohamed
  • 882
  • 1
  • 6
  • 14
1
vote
1 answer

Canvas response to clicks

I have a canvas where image drawing is refreshed according to a FPS. At each refresh, a same image is drawn in canvas. But when I click in this image to execute a function, sometime the canvas doesn't react, sometime the canvas react with some…
totoaussi
  • 712
  • 1
  • 11
  • 27
1
vote
1 answer

BufferStrategy don't solve flickering

I'm trying to understand how BufferStrategy is working. I've made a simple app that is drawing some Sprite objects over and over again every 60 frames per second. I can see the images on the canvas but they are flickering for some reason. Can you…
babaliaris
  • 663
  • 8
  • 16
1
vote
1 answer

LIBGDX/BOX2D: Re-sizing Touchpad is not working when the Table.setBounds is called

public class PlayScreen implements Screen { private final float PPM = 100f; private final float GAME_WORLD_WIDTH = 1920; private final float GAME_WORLD_HEIGHT = 1080; private OrthographicCamera cam; private Viewport viewport; private Stage…
Adam Reed
  • 23
  • 3