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

Stack overflow error after creating a instance using 'new'

EDIT - The code looks strange here, so I suggest viewing the files directly in the link given. While working on my engine, I came across a issue that I'm unable to resolve. Hoping to fix this without any heavy modification, the code is below. void…
Justin
  • 13
  • 2
1
vote
1 answer

How to enable jumping "just before" the player touches the ground in Phaser?

With Phaser (and following allong with the tutorials) jumping is super-easy with the provided Arcade physics module. However, it has the annoying-to-me fact that a player can only jump when they are "on" the ground due to the use of…
user2864740
  • 60,010
  • 15
  • 145
  • 220
1
vote
1 answer

any path-finding tricks and strategies for mobile game (e.g rts) on less powerful device?

i'm developing a 2d game , rts game, is sort of like COC (Clash of Clans). cool mobile game,huh. but i run into some problem with path-finding, as usual,i do path-finding algorithm once every agent was placed somewhere in screen by finger-touch,but…
1
vote
0 answers

How to block Kinect rotation

I'm developing a Kinect Project using C# and XNA 4.0. Now facing a problem that I couldn't solve. When the player turn around himself, the avatar doesn't turn, but its arms and legs are trying to turn. This is causing a bad view, so I want to block…
dodotu
  • 117
  • 1
  • 5
  • 17
1
vote
1 answer

Accessibility features in GameMaker Studio

I have begun using GameMaker Studio to develop a game. From what I've gathered, it uses its own kind of scripting language. Since the capabilities of interfacing a GameMaker Studio project with outside coding, I am curious to know what one could do…
Johan Nilsson
  • 77
  • 3
  • 8
1
vote
1 answer

Is there an easy way to create elastic game objects and get relative coordinates?

Lets say I have the following game object hierarchy: Board - The entire view of the game's board, made up of tiles. Tile - A rectangular boundary within a board, made up of subtiles. Subtile - A rectangular boundary within a tile. A Board needs…
bdrelling
  • 830
  • 1
  • 10
  • 27
1
vote
0 answers

Embedded Games for my https Sites

How can i add Embedded Games to my https Sites? [blocked] The page at 'https://www.freeonlinegames.com/embed/124339' was loaded over HTTPS, but ran insecure content from 'http://www.freeonlinegames.com/static/ima-vast-preroll.swf': this content…
Festus Tamakloe
  • 11,231
  • 9
  • 53
  • 65
1
vote
1 answer

Reading specific bytes of data from a large text file... quickly

For argument's sake, let's say you have a single, enormous file to hold your map save data. The game that comes to mind as a great example is Terraria. They save all MapWidth*MapHeight tile data within a single map file (Horrible idea, really) but…
Khaibit
  • 11
  • 3
1
vote
1 answer

Android 2D game engine with canvas capability

Im looking for Android 2D framework which allows me to create canvas layer on which I can draw simple shapes like rect, oval atc (raster graphics). The canvas have to PERSIST everything I draw on it. I found many engines (libgdx, andengine ...) but…
Dominik Mičuta
  • 357
  • 4
  • 13
1
vote
1 answer

Implementing LOD in OpenGL (Java)

While I understand the concept of LOD, I'm having a little trouble implementing it. Assume I have a number of models at different LODs and I want to store them in my Mesh class. What do I need to change (I already have a Mesh supporting one model).…
Isaac Woods
  • 1,114
  • 1
  • 17
  • 28
1
vote
2 answers

Collision detection with user's tap

I started using libGDX soon, and I was making a game that has water droplets falling from the top of the screen and the user should tap them before they do touch the bottom of the screen. I have a problem in knowing if the user did tap the droplet…
1
vote
2 answers

Any book on designing and implementing a CRPG engine?

First, let me tell you, I am not really interested in making my own rpg engine (at least not in the near future, hehe), but I do feel like I want to understand the internals of how a rpg engine works. Why? Well, because I like to read about…
Fabzter
  • 505
  • 5
  • 16
1
vote
2 answers

Advantages and Disadvantages Between Arrays and Maps for Component-Based Game Objects

My abstract implementation for a GameObject for my components-based game engine is the following: GameObject Unique ID isActive flag Array of components I have been reading about component-based design, and one thing that caught my attention is…
lambda
  • 1,225
  • 2
  • 14
  • 40
1
vote
1 answer

Pygame loop only upon keypress

I'll state upfront that this is almost exactly the same question as: PyGame: Economic way of handling game loops I want to make a turn-based dungeon crawl with pygame and pygcurse. I've made a basic template that works if I just let the main while…
Matt
  • 113
  • 3
1
vote
1 answer

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. First here are some code snippets to understand what i'm trying to achieve : The Unit : the ability-caster/target ( throw the ability or receive it)…
Bakkoto
  • 43
  • 4
1 2 3
99
100