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

Canvas game heating up GPU but frame rate performance is smooth

I've been developing a game using HTML5 canvas for several months, and I've recently begun doing some of my development work on a macbook. In spite of a smooth frame rate of ~60fps, after a few seconds the game is pushing the macbook GPU up past 80…
James Hill
  • 496
  • 5
  • 15
1
vote
1 answer

How to apply view matrix transformations in world space, not local?

I am making a game with some friends. At the moment, we are trying to get the controls working as they should, i.e. WASD to move in the 4 main directions, and use the mouse to rotate the view. The problem is that we are running into difficulties…
1
vote
2 answers

NullPointerException when run with Intellij IDEA new libgdx project for android

Steps to reproduce: download setur.jar - http://libgdx.badlogicgames.com/download.html generate project for desktop, Android, iOS, HTML open Intellij IDEA, press Open, and select build.gradle wait while gradle will do the staff and than run…
Aleksandrs
  • 1,488
  • 1
  • 14
  • 34
1
vote
2 answers

Changing which main() to run in eclipse

In Eclipse, how should I change the entry point for my program. I have two separate packages each with static main methods. My original static main method found in the main package will now be called upon after running the main method found in the…
1
vote
1 answer

physics engine - phase order and other general information

I want to build my own 2D mini-physics engine, that will include(for now) rigid bodys, and constraints (joints, contacts, springs...). And I've tried to figure out what is the right order of the phases, when I start a timestep, when the the general…
1
vote
1 answer

How to create Sprites with label in Quintus.js?

I want to create a typing game, so my sprites need to be generated in run time, with "labels". a String become a sprite to be typed. Anyone knows how to do this?
Marcelo Boeira
  • 860
  • 8
  • 22
1
vote
1 answer

joystick for user control in iOS8 scenekit

I am developing one game similar to bubble island(https://itunes.apple.com/in/app/bubble-island/id531354582?mt=8). In this I want to create control like when user click on any part of view, game displays the series of bubbles in the touch…
M007
  • 580
  • 1
  • 5
  • 24
1
vote
2 answers

What are the possible ways of testing visual parts of a WebGL/Canvas-based game

Assuming a game written using Dart + WebGL/Canvas... Much of the logic, maths, input handling, etc. is easily testable with code; but ensuring you actually do the right thing to make your sprite turn up on screen at the correct…
Danny Tuppeny
  • 40,147
  • 24
  • 151
  • 275
1
vote
2 answers

Why not use a scheduledExcecutor for a game loop

I'm currently reading about game development, every time I see a game loop implemented it is always the same way. A while(true) block, with a sleep inside for the FPS. And I'm asking myself, why shouldn't I use a scheduledExcecutor, it seems like…
David Limkys
  • 4,907
  • 5
  • 26
  • 38
1
vote
1 answer

Roguelike game has blinking drawing

I'm writing the drawing system for a roguelike game based on ascii characters (graphics similar to dwarf fortress). I'm using the AsciiPanel from here. My problem is that when I draw entities on my map, they seem to blink, when they should be solid.…
Kyranstar
  • 1,650
  • 2
  • 14
  • 35
1
vote
0 answers

Very strange trigger behavior in Unity2D (4.5)

I am developing 2d platformer and I've faced with a very strange triggers behaviour in Unity. I have made the enemy that can throw objects into main player. So I have made two empty GameObjects with Circle2D colliders on them and attached them into…
bukka.wh
  • 913
  • 2
  • 16
  • 29
1
vote
0 answers

Phaser game only small line on iOS8

I made a game in phaser a HTML 5 game framework/engine. This games works perfectly on all phones and browsers now. The only problem now is that on iOS 8 the game is transformed into a line at the bottom of my browser. Sometimes i can see the line on…
Jippe Joosten
  • 403
  • 1
  • 3
  • 16
1
vote
4 answers

AndEngine andengine.jar file

Hi im using Android Studio ver. 0.8.6 now i want to use andEngine, i know that i should download andengine.jar file and copy it to libs folder in my project, everything is all right, but i can find the andengine.jar GLES2 there are only files with…
Shizzle
  • 53
  • 1
  • 13
1
vote
1 answer

What is the design pattern for having a lua file act like a script in a game engine and not like a config file?

I am trying to implement the same kind of design as anyone who has successfully scripted a game without using lua as a config/callback file. I would like the functionality as follows: in "EventIncountered.lua" 1 moveToPoint(500, 500) 2 …
rationalcoder
  • 1,587
  • 1
  • 15
  • 29
1
vote
1 answer

SDL Renderer argument for texture but not needed for surface

I am studying the basics of SDL, then I fell into this doubt. I learned that SDL texture is the GPU counterpart of SDL surface which uses CPU. But for getting a surface no renderer argument is given, simply the asset to be loaded was given as the…
Nithin Mohan
  • 182
  • 4
  • 13
1 2 3
99
100