Game engines are a collection of libraries and tools that provide a framework to create games.
1
vote
1answer
23 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 ...
-1
votes
0answers
33 views
Sprite batching makes my engine slower [on hold]
I m creating a simple OpenGL game engine to make some 2D games. Today I did a benchmark with 1000 textures and FPS shows 38. I thought it was a very bad result and I implemented texture batching and ...
-1
votes
0answers
17 views
Most suitable game engine to use with 3ds Max [on hold]
Please what is the best game engine to use with 3DS max? My office is about to undergo a project, and 3DS Max is the Modelling suite to be used.
0
votes
0answers
19 views
Automated GUI testing for libGDX [on hold]
There is Selenium - a tool, which emulates browser and makes automated UI testing of a web application possible.
For a native Android applications - it's Robotium.
Does similar tool exist for testing ...
-3
votes
0answers
56 views
Do any game engines support 2D shape rendering using Bézier paths and polygons? [on hold]
I'm interested in making a side-scrolling game based on complex 2D shapes: filled-in polygons, Bézier paths, circles, etc. These shapes will be deformed in real-time, so I don't want to pre-render ...
-2
votes
0answers
39 views
Need ideas on a game engine for a high school game design competition! [closed]
I am a senior in high school and I am pursuing a degree in computer science, but I do not know what area of computer science I want to get in to. I am exploring my options, and one method of ...
1
vote
1answer
69 views
Multiple collision detection with images
Lately, I have been researching different Collision methods, how to deal with multiple collisions and different types of bounding shapes, circles, rectangles, polygons and ellipsoids. Some common ...
0
votes
1answer
38 views
Change one prefab without changing all prefabs
I have this code that will spawn in a lot of prefabs. It then edits the prefabs. The problem is that every time it changes a prefab it will reset and move all the other ones.
Can you please explain ...
0
votes
0answers
12 views
Removing extra blank window when adding Jmonkey based sound to Java based game
I'm currently programming a simple run and jump game in java. I'm in the process of implementing sound and I'd like to use Jmonkey's sound because I'd like to eventually switch the whole game over to ...
3
votes
5answers
162 views
Scripting APIs and scripting to make games
I am confused, what is scripting and what is scripting API? Is scripting the process of writing the game program? And is the scripting API (as in unity scripting API) the API provided by the game ...
1
vote
0answers
41 views
3D engine for technical application [closed]
I am looking for a 3D engine for a very technical application. I want to visualize orbits around bodies of the solar system, and thus need some way to easily display 3D Models and draw lines in 3D ...
0
votes
2answers
128 views
How to make sprites from multiple images using SDL2
Using SDL2 in C++ I can load textures with out problem however, I have sprites that are from about 15 different png's that I was hoping I could load them all up and for loop through them. However, ...
0
votes
0answers
29 views
Alternative to singleton based game class [duplicate]
Lets say I have my main game class:
class Game
{
public GameLoop Loop;
public Scene ActiveScene;
}
and in my implementation of a game that uses it I do something like:
Game game = new ...
-2
votes
1answer
70 views
How to spawn multiple enemies? [closed]
I can store it in an array, ok, but after how can i paint it? Because if i do
enemy = new Enemy();
enemy2 = new Enemy();
i create two istances of the object, but afer how can i paint it?
I use:
...
1
vote
0answers
95 views
RPG game engine HTML5/javscript [closed]
I am planning to build a 2D RPG game (Zelda style). I am looking for a game engine that has the following features:
Map editor to create maps (preferably orthographic grid), with solid objects, ...
60
votes
4answers
7k views
How does one make games playable before they are fully downloaded?
Diablo 3 and StarCraft 2 have a nice feature: I can start playing before the full game/update has finished downloading.
How does this work? How could I implement a similar feature?
I guess Diablo 3 ...
0
votes
1answer
63 views
Xna 2d tile culling
I'm trying to make a simple 2d tile engine here, and I've got a problem with getting a proper cells from a tile grid map when I'm trying to cull off tiles which aren't needed to be drawn.
I've got a ...
0
votes
2answers
155 views
How does making of games using game engines happen? [closed]
I am a complete beginner to game programming. I have decided to give a try on UDK game engine. I have some simple doubts. I searched Google for the answers but couldn't get my doubts cleared.
This ...
3
votes
2answers
287 views
Do I have to compile Unreal 4's source myself in order to make games with it?
Now I understand the need for this if people want to make modifications to the engine itself, but if I want to use the engine as is and just program games with it, do I need to do all this?
I figured ...
1
vote
3answers
79 views
Handle many objects to draw in XNA
in my 2D engine - using XNA 4.0 - I´ve an issue with handling many objects.
The way my engine works is that I only draw visible sprites (base objects) and ignore those sprites out of the current ...
0
votes
0answers
26 views
Modify game based on screen size
I'm making a game in JavaScript (something like Sonic or Subway Surfers, but much more simple and only 2d) - link to old version here: http://anagmate.moxo.cz/RUN/beta/. Right now, I want to have as ...
2
votes
1answer
278 views
Handling game-state updates in an MMO while the player is logged out
I have a plan to build MMO strategy game like Goodgame Empire or Travian for windows phone. I want program it in C# Monogame (because I have some good experiance with it).
But I still can't figure ...
2
votes
1answer
84 views
Accessing the command line from in-game?
Is there a way to interact with the command line (Linux/Windows) from in-game using a game engine such as Unity or Unreal? I would like to have the user be able to jump on a console or even just ...
0
votes
2answers
158 views
Recommended approach for event system in Java
What are the recommended approaches for an event system of a turn-based RPG's battle engine?
The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...
3
votes
0answers
72 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 ...
0
votes
0answers
29 views
how to disable touch in Quintus?
hi i'm new in web games development and trying to build card game using the Quintus game engine i have object called card i can touch and drag it in the screen but i want just to touch and drag it one ...
1
vote
2answers
95 views
Fast determination of whether objects are onscreen in 2D
So currently, I have this in each object's renderer's update method:
float a = transform.position.x * Main.scale;
float b = transform.position.y * Main.scale;
float c = ...
11
votes
1answer
474 views
How are entity systems cache-efficient?
Lately I've been doing a lot of reading on entity systems to implement in my game engine (C++/OpenGL). The two key benefits that I constantly hear lauded about entity systems are 1) the easy ...
-5
votes
1answer
90 views
Do total conversion mods require absolutely no programming or scripting skills? [closed]
I tried to look up total conversion and other mods as examples (Counter-Strike, Defense of the Ancients, Gunman Chronicles, Dear Esther, Natural Selection) but it is a bit difficult to find out if ...
0
votes
0answers
34 views
How to run C++ functions from other files [duplicate]
I want to set up my game engine I'm making to essentially load C++ code from another file, and to load initialization variables from those files also. I was thinking a system that has files that store ...
1
vote
0answers
95 views
OpenGL ES 2.0 state management best practices [closed]
I use a game engine with dynamic sprite batching for 2D games on mobile platforms (MOAI SDK). It already handles redundant state changes pretty well - with the use of texture atlases it only flushes ...
1
vote
1answer
114 views
GLSL Processed Image to OpenGL
I've tried wording and rewording this question in various forms of search and can't seem to find an answer to it. If I'm wording it wrong and/or just not finding the right information, feel free to ...
0
votes
1answer
197 views
Gamemaker vs Unity2d - Speed of Development [closed]
I know coding, so programming is not a problem
Money is not a problem at all, I can get both GameMaker Master
Collection and Unity Pro
I want to make a 2d game.
So which one is better for speed of ...
1
vote
0answers
158 views
UI rich Strategy/RPG UI - 2D Game Engine or UI Toolkit? [closed]
I'm on the fence regarding the graphics engine of my current game and hope for some advice.
This is an UI heavy strategy/rpg. Although the game is played on a (simple) 2D map, it is largely turn ...
2
votes
1answer
131 views
How to run physics simulation in the background for possible future outcomes?
I'm designing a physics-heavy game in 3d.
The core mechanic of this game is that the user gets to choose his actions based on probable future outcomes.
For example - the player has a choice whether ...
0
votes
1answer
114 views
GPL Game Engine - What needs to be released under GPL?
I'm hoping I can clarify this issue.
Note, a similar question has been asked here, but it doesn't really give a specific enough answer that I can comprehend at this point! :- How does one escape the ...
0
votes
3answers
107 views
Proper way for Player object to communicate with Map object?
I'm writing my first game (in javascript / node over websockets) and am running into a bit of chicken and egg problem, and am afraid how I'm doing it right now won't scale once the game gets more ...
0
votes
1answer
81 views
What is the optimal way to handle matrix internal data storage for interop with native graphics apis?
I'm writing a managed (c#) game engine and have stumbled on a bit of a crossroads in design/implementation regarding matrix types.
Matrix types need to be optimized for marshaling to native graphics ...
2
votes
1answer
118 views
What types of matrices are needed for game and graphics programming?
I am writing a 3D math library for general game development and want to know what type of Matrix classes I should include. Is just a 4x4 matrix enough, or must I provide 3x4 and dedicated rotational ...
1
vote
1answer
140 views
Fire Delay Timers
I currently have a turret that can fire projectiles.
I can control the delay between shots (fireDelay), and I can control the time needed to reload the magazine of the gun(reloadDelay). I do the ...
0
votes
1answer
28 views
Moving multiple hingejoints based on joystick input
I'm controlling a 2D side-viewed (facing right) stickman with a joystick. The movements are fairly intuitive:
Joystick down -> Stickman crouches down
Joystick up -> Stickman stretches out
...
0
votes
1answer
200 views
The sprite will not move in libGDX
When I ran the android application, The sprite image will not move when I press the input keys. I followed a tutorial based on input keys and wish to know what's wrong. Can anyone see what's wrong? ...
2
votes
1answer
141 views
What is missing from SDL for it to gain more widespread adoption? [closed]
As I understand, SDL offers abstractions that let you make windows, handle input and audio much easier than doing so directly with the low level APIs provided by several operating systems.
However, ...
11
votes
5answers
2k views
How can I run on multiple platforms using a custom engine?
Game engines like Unity and Unreal can run on mutiple platforms. I am wondering how they do this.
I have been using C++ and OpenGL for a while, and what I am looking for is resources to integrate ...
0
votes
2answers
114 views
Currently developing a game with Android SDK, should I switch to a game engine in future projects? [closed]
I am an android developer, and I've made several apps on the Google Play Store. I'm currently working on my first game, which is just a simple RPG for android, that I'm coding in java with the android ...
15
votes
3answers
3k views
Does allocating and freeing a huge chunk of memory at startup “clean up memory”?
The book Game Coding Complete, Fourth Edition, chapter 5 (Game Initialization and Shutdown), section Checking Memory contains this interesting code sample:
bool CheckMemory(const DWORDLONG ...
0
votes
1answer
60 views
Why is my application getting more CPU usage while it's halting the operation [closed]
I have a question about the way OS gives CPU time to the applications. Usually when I render my scene with a single object in it I get ~8% CPU usage, but when I stop the framework for further process ...
3
votes
1answer
107 views
Prewarming in particle engines
How is prewarming in particle engines made?
I have a particle engine and need to support this, which is a feature I have already seen in Unity.
Is it done at compilation, like informations stored ...
3
votes
1answer
122 views
How can I speed up cocos2d game engine?
I am developing a tower-defense game and I want to permit user to change game engine speed ,for example rotation speed of towers,rockets speed ,enemies moving speed ,counters and etc proportionally.
...
2
votes
1answer
112 views
How to subscribe to an event fired from any Instance/Object of type X
I'm currently working on a small game-engine and i'm kinda stuck on finding the right pattern to subscribe to an event fired from any instance of type X.To understand what i'm trying to achieve, here ...