Game engines are a collection of libraries and tools that provide a framework to create games.

learn more… | top users | synonyms (1)

0
votes
1answer
311 views

How to compute matrix transform local/world on OpenGL

I'm developing an OpenGL program where each object / entity contains m_WorldPosition, m_WorldOrientation, m_WorldScale and m_WorldTransform (Vector3, Quaternion, Vector3 and Matrix4f). The problem is ...
0
votes
4answers
99 views

Implementation of collision in 2D platformer (C++)

My collision system for my game currently works fine, it lets me test a collision with an entity or specified rectangle... but that's not enough. I used to use GameMaker and it had collision events in ...
-1
votes
0answers
19 views

Whats the best program to make a 16-Bit game? [on hold]

I wish to make a retro 2.5D 16-bit game; I have everything planned out, I just would like to know the best program to do so. I do have programming experience as a Web Designer.
4
votes
2answers
70 views

Which parts of game should belong to engine and which should belong to scripts?

Often, the game is splitted into engine code (i.e. C++) and scripts (i.e. Lua). The question is which parts / modules of game code should typically belong to engine, and wchich should belong ...
0
votes
0answers
24 views

Javascript Game Engine for Isometric “Final Fantasy Tactics” like game

I want to start developing a game and i have been doing some research these days to know how to start. The base idea is to build a game with a Final Fantasy Tactics style (isometric, turn based), i ...
0
votes
1answer
31 views

I want to design a scoring system calculating coins, stars and lives, (50%/ 30% / 20% )

the player has to collect coins to clear levels. he has to collect stars to unlock collectibles. collection of coins lead to purchase of lives. Hence the importance to lives. (50, 30, 20)
0
votes
1answer
43 views

Rectangle moves faster to the left than to the right

I am using Slick2d to create a top-down game, however an rectangle than I am drawing to the display is moving faster to the left than to the right, and faster up than down. I am updating frames like ...
0
votes
1answer
49 views

How to wrap textures inside shader GLSL

I'm trying out GLSL and one of the problems I'm facing is wrapping a random texture sampler in the shader. Searching for answers on the web first, this leads me to using these commands: ...
4
votes
1answer
117 views

How can I show slow motion?

In my very, very simple 2D game I'm working on, I'd like there to be moments of slo-mo. What is the best method of showing the player that the game is currently in slow-motion? As in, what is the ...
0
votes
0answers
7 views

In-app update, live update, hotfix for mobile game

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
1
vote
3answers
63 views

When should we save our game data?(Before quit game or just when some data changed?)

For standalone game, what's the best time to save game data, such as player's coin, player's level, skill data and so on. Save data before we quit game.So we just save data to file just one time, ...
1
vote
1answer
239 views

Structure gameobjects and call events

I'm working on a 2D tile based game in which the player interacts with other game objects (chests, AI, Doors, Houses etc...). The entire map will be stored in a file which I can read. When loading the ...
2
votes
4answers
2k views

Modifier System C#

I am trying to figure out a system that can easily modify objects on the fly. For example, lets say I have an Entity2D that inherits from Entity. Entity2D has a Position property. Now I have a ...
1
vote
0answers
21 views

How to add 3D Sprite on tmx file background using Cocos-2dx?

We have been working on sample game, wherein we want to show 3D sprite on .tmx file(background). But 3D sprite is never shown up, though we tried setting tileMap->setGlobalZOrder(-1). Following is ...
3
votes
1answer
65 views

How do engines that can be scripted with a different language than the engine work?

So there are some engines that can be scripted with different languages than of what the engine itself is written with. How does this work?
1
vote
1answer
94 views

Setting up an efficient OpenGL rendering loop

This is the code that I use to setup my shader char* vertexShaderSource = getResource("vert.shad"); char* fragmentShaderSource = getResource("frag.shad"); vshad = readFile(vertexShaderSource); fshad ...
0
votes
4answers
4k views

Making an RPG - Is RPG Maker VX ok or a bad idea? [closed]

Two friends and I are planning to make a FFIV-VI style RPG (generally speaking, we have some unique ideas for mechanics, setting, etc.), but none of us are programmers (two of us are otherwise very ...
1
vote
0answers
63 views

Learning Curve of GameMaker and its limits [closed]

I am a Data Scientist and the last couple of years, I work also as a Game Designer (not Game Development). I have not thought to create a game by myself, up to now. As a DS, I know programming, but I ...
0
votes
2answers
61 views

Getting if a key was released/pressed this frame (C++/SDL2)

Getting if a key is currently down is easy. Just return keys[scancode]: switch (ev.type) { case SDL_KEYDOWN: keys[ev.key.keysym.scancode] = true; break; case SDL_KEYUP: ...
2
votes
1answer
78 views

May I distribute a game engine that is based on textbook examples?

I have purchased several game programming books to start my journey as a game developer. One of them teaches its readers by building a game engine's parts in each chapter until finally you have a ...
13
votes
1answer
6k views

How to apply Data Oriented Design with Object Oriented Programming? [closed]

I've read lots of articles about Data Oriented Design (DOD) and I understand it but I can't design an Object Oriented Programming (OOP) system with DOD in mind, I think my OOP education is blocking ...
3
votes
2answers
2k views

FBX Importer - Texture Name

I have a problem with the FBX SDK. I read in the data for the vertex position and the uv coordinates. It works fine, but now I want to read for each polygon to which texture it belongs, so that I can ...
0
votes
1answer
262 views

Grid collision - finding the location of an entity in each box

I am trying to implement grid-based collision in a 2d game with moving circles. The canvas is 400x400 pixels. Below you can see the code for my Grid class. What I want it to do is check inside which ...
0
votes
2answers
74 views

Resource management questions

Say I have this Cache<typename Resource> class template, which is a resource cache that contains an std::map<std::string, Resource>, mapping strings to resources. I can many different ...
1
vote
1answer
43 views

Dynamic objects in voxel engine

I am writing my own voxel engine based on cubes of different sizes and properties. In order to store and efficiently use voxels I implemented Sparse Voxel Octree storage. But I plan to have many ...
0
votes
1answer
554 views

AndEngine - Performance problems with many entities

I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
2
votes
2answers
99 views

why is my enemy AI is on air while moving?

In Unity3D I have created an enemy AI and applied a script for it to move and chase the player. But when moving, the enemy hovers in the air. My character also does not have rigidbody and he just has ...
0
votes
1answer
70 views

How to manage a vector of “Component” base class?

I'm trying to implement a component based design for a game i'm making. I decided to write it in c++ but i'm not very good at it. Coming from a java background I encountered a problem when trying to ...
1
vote
0answers
40 views

How do I implement a sparse voxel octree?

I've been working on a voxel engine and I want to implement sparse voxel storage. As I understand it, it works a bit differently from a regular octree and has some neat performance increasing ...
6
votes
2answers
328 views

Does SpriteKit follow the MVC pattern?

I am currently working on an iOS project called Old Frank that I have been trying to follow a MVC design pattern. The gist of it is. GameObjects(model) <- Scene(controller) -> Sprites "SpriteKit" ...
0
votes
0answers
27 views

Predict ball movement after Collision in Pool Game?

Im trying to draw lines that predict the movement after the colliosn of 2 balls in a pool game. How do I do that? I heard it can be done via Raycasts, but how do I draw a line? Any tutorials, ...
0
votes
1answer
52 views

Move Ball to clicked direction

I have a ball as a sphere in my game and Im viewing it from top down view (birdseye). The ball is a rigid body. I want to achieve when I click somewhere on the screen, that the ball moves toward ...
1
vote
1answer
66 views

Need help with creating a stun gun. (Unreal Script)

I am fairly new to the programming world. I am currently at College and one of the tasks I need to do is create a "stun gun" or "freeze gun". Basically when you shoot a target (other player) i want it ...
1
vote
2answers
93 views

How to seprate the game from the game engine (specifically the game loop), into seprate projects?

I am trying to separate my game from game engine both written in Java. Currently they are in two separate packages but I would like to separate them into different projects. A main method in Project ...
3
votes
1answer
253 views

Swapping graphics engines

Is it possible, or even feasible, to have graphics engine completely decoupled from game logic? Why I ask is because I want to start working on a game (I'm a complete beginner in game development, ...
1
vote
2answers
51 views

Runtime Error dealing with SDL_Events

I do not know if this is the best way to handle these SDL_Events, but I am attempting to create a very abstract and generic code that will update my Game Object. Basicly I have a Scene which in my ...
2
votes
2answers
175 views

How to manage state in a component-based game engine?

I'm working on a small, data-driven game engine with some friends. We use GameObjects (a.k.a. Entities, Actors, or whatever it is called in your favorite engine) to represent every entity in the ...
2
votes
3answers
148 views

How do game engines mitigate CPU cost for many trigger zones & entities? [closed]

It's a rather simple question, but a somewhat fundamental in computing in general. Let's say we have a player controlled character in an open world. The world is large. In this game-world we have a ...
0
votes
3answers
113 views

Grid Programming: Selecting a tile returns a negative coordinates

Let me explain what I am doing here. I created a class template named as PlayField where T is the type of the GridObject. I wrote this class using Cocos2dx. The point of this class is to make it easy ...
4
votes
3answers
513 views

Does a basic game engine prototyping tool exist, for common game types?

There are a lot of classic game engines out there (Real Time Strategy, Turn Based, etc), of which you can find countless variations. All of them have a basic starting point which involves units, ...
13
votes
9answers
9k views

C# (Mono)/Java 3D Game Engine recommendation [closed]

Can you recommend a good C# game engine for cross platform (Win/Mac/Linux, I don't care about consoles) development? I've got some experience with raw OpenGL and I played around with Java bindings ...
1
vote
1answer
463 views

Facial expressions capabilities in various engines [closed]

For a research project, I am developing a small game focused on non-verbal communication clues, like facial expressions (smiling, frowning, looking bored, etc), eyegazing, proxemics, etc. My main ...
0
votes
2answers
101 views

Game engine openGL operations scheduling

I'm making a custom engine and after much research, i realized that the state changes and the vertex or texture data loadings to VRAM are the most slow operations. So I want to optimize it making a ...
2
votes
0answers
87 views

Creating Scenes Programmatically From A Deployed Build in Unity

This is somewhat of an extension to this question: http://answers.unity3d.com/questions/513801/programatically-creating-entire-unity-games.html I have a client who would like to create an entire game ...
2
votes
0answers
43 views

Opengl Skybox Texturing Error

I'm using cubemaps to render a skybox in my game. Thinking this would be a simple task I threw some stuff together using the tutorials I found online, particularly this. Taking all of this together, ...
7
votes
1answer
230 views

How do I convert a Source engine NPC model to a player model?

The Source engine's NPC and player models differ: An NPC model applied to the player has no animations. It cannot walk and holds its arms out to the side by about a foot. The weapon is held in the ...
65
votes
15answers
116k views

2D Gaming Libraries/ Frameworks/ Engines for Android [closed]

Are any such things available to help me build my Android game?
3
votes
2answers
2k views

Looking for an Open Source Game Engine with Crowd Simulation [closed]

I am looking for a game engine for my school project on computer graphics. There are specific requirements that I do not want to implement by myself, since they are irrelevant for the grade, but ...
1
vote
0answers
48 views

When does data move from the system memory to the GPU memory? [closed]

I am starting off with a basic idea. My understanding is when a game loads, the assets are loaded into the system memory, images, sounds, maps etc. So say you have an open world game, AFAIK, the ...
-2
votes
1answer
72 views

Libgdx array of Vector2 closest point

I have an array of objects. Their position is a Vector2 (x, y). I want to select the closest object, given a (x, y) coordinate (that represents an user touch on screen). Searching on web I found a few ...