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

Creating a Fuzzy Chess Game using Chess Engines

I am trying to design a Chess Game that will work based on the fuzzy logic. Before making a move, I wanted to compute a fuzzy evaluation function for each chess piece in each play. The fuzzy computations are based on the data that are provided in…
user4448233
1
vote
2 answers

How does a game engine talks to the GPU, what is in the middle of the process?

I want to understand how the commands inside the game engine will be converted into gpu instructions which might use D3D or OpenGL. *I'm starting to learn unity and I would like to understand better what is under the hood. Thanks.
1
vote
1 answer

Issue with logic with infinite rooms in game maker

So I am having some issues wrapping my head around the logic behind this. So I have a top down random terrain generator. It works just fine. So what I've done is create 4 rooms, all having the random terrain script run. These rooms are persistent.…
0cean_
  • 31
  • 1
  • 7
1
vote
3 answers

Move a Box with another on colission respecting the next neighboring mesh in Three.js

Found a lot of physic engines out there but nothing that fit my needs directly. I try to to find a simple way to push and pull boxes including collision detection which respects the next neighboring mesh hit while moving. Some use cases to…
1
vote
2 answers

Texture Packer sprite red message error

In TexturePacker, I'm getting a weird red frame: I can't quite read what it says, but I'm assuming it's protection for their software. I purchased the full version (pro + physics package) tonight and properly entered the key I received. Any idea…
user3871
  • 12,432
  • 33
  • 128
  • 268
1
vote
0 answers

Clear OpenTK GL

I'm running multiple games in OpenTK within 1 application. I'm creating new OpenTK instances for each game, but when you exit it will exit the game and then return to a menu, and dispose of the game instance. The problem I'm facing is that memory is…
Wezley
  • 413
  • 1
  • 3
  • 19
1
vote
1 answer

Appropriate architecture for event logging in a game

I'm trying to modify a game engine so it records events (like key presses), and store these in a MySQL database on a remote server. The game engine is written in C++, and I currently have the following straightforward architecture, using mysql++ to…
Druckles
  • 3,161
  • 2
  • 41
  • 65
1
vote
4 answers

ArgumentsOutOfRangeExeption in a list

Im getting this exeption thrown when the method is invoked. the list contains exactly 52 objects(number of cards). Any suggestions what may cause it? maybe the Add and RemoveAt Methods? Or maybe the Random? The compiler also tell the the problem is…
God
  • 1,238
  • 2
  • 18
  • 45
1
vote
0 answers

ACM java game loop breaking graphics

I have an issue with the ACM library. I am trying to create a game. In order to get the applet running in acm you need to make use of the run() method of a graphicsProgram class. I have a separate class, which has this graphics program as a global…
Daniel Hernandez
  • 635
  • 1
  • 11
  • 22
1
vote
1 answer

How to handle multi touch?

I'm making a platfrom game for android and I could use some help with the touch events. This is my code: public boolean onTouch(MotionEvent e, int scaledX, int scaledY) { for (int i = 0; i < object.size(); i++) { tempObject =…
Gilmor
  • 53
  • 7
1
vote
1 answer

Finder what point is to the left of a line/point after spinning it

I am currently trying to write a shader in unity that draws a triangular pattern around countries in a risk-styled game if both countries are not owned by the same player (visual aid to see your borders). Right now, I'm having an issue with making…
Charles
  • 548
  • 1
  • 7
  • 25
1
vote
1 answer

How do I handle simultaneous and overlapping keypresses in Cocoa

At first, Keyboard event handling for games in Cocoa seemed easy: I added -acceptsFirstResponder and -becomeFirstResponder overrides to my custom game map view, then overrode -moveUp:, -moveDown:, -moveLeft: and -moveRight: to handle the arrow…
uliwitness
  • 8,532
  • 36
  • 58
1
vote
1 answer

Shaders from older game not recognised by newer Intel graphics chips

This might sound like a weird question, but here's the story: There is a small but stubborn community which still plays an older 2005-6 game (Age of Empires III + expansions). Some play it on Windows and some others play on OS X (the game was also…
dolanator
  • 180
  • 3
  • 13
1
vote
0 answers

In pygame how do I get the screen to scroll with the character? This is for a side scroller type game

I am creating a very simple game called Escape! where a lion escapes from a cage and runs through a city. Jumping over cars and such. I've almost got all the ground work laid (controls, graphics), except that my game does not scroll yet. I am trying…
Unnarrow
  • 11
  • 1
1
vote
2 answers

Efficiently retrieve Z ordered objects in viewport in 2D game

Imagine a 2D game with a large play area, say 10000x10000 pixels. Now imagine there are thousands of objects spread across this area. All the objects are in a Z order list, so every object has a well-defined position relative to every other object…
AshleysBrain
  • 22,335
  • 15
  • 88
  • 124