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
7
votes
1 answer

RPG - storing player data for semi-complex tree structure

I'm making a web RPG in js, using melon JS and SQL DB with PHP. This question is about how to store completed and current tasks per non-player character (NPC). NPC dialog and task data: all dialog is stored in a js object in the following…
user3871
  • 12,432
  • 33
  • 128
  • 268
7
votes
1 answer

How to set up libdgx with IntelliJ?

I followed this tutorial but it seems that it is kind out of date? I'm not sure. Unfortunately I'm not very experienced with Java (but with C#, Python, ..) so maybe there is something obvious I did not regard. IntelliJ is giving me import errors for…
Lucas
  • 3,376
  • 6
  • 31
  • 46
7
votes
3 answers

List View In Libgdx

I have arraylist of powerUps and I want to display as a List view and whichever row user selects get that particular power for specific time. All thing is done except I am not able to display arraylist items on listview in libgdx. I searched a lot…
7
votes
3 answers

Performance benefit when using uint_fast8_t?

So after researching engines a lot I've been building a 2d framework for the iphone. As you know the world of engine architecture is vast so I've been trying to apply best practices as much as possible. I've been using: uint_fast8_t mId; If I look…
mr-sk
  • 13,174
  • 11
  • 66
  • 101
7
votes
3 answers

Switching from AndEngine to libgdx - what to know?

I've been testing with AndEngine for months, but still haven't produced any game prototypes. There are few reasons why I want to switch to libgdx: - AndEngine is using libgdx's INI wrapper for Box2d, but updates reach Andengine slowly - I'm…
dario111cro
  • 805
  • 2
  • 10
  • 15
7
votes
4 answers

Multi platform 2D game engine

I am creating a 2D game which I wish to run cross platform (on platforms such as Windows, Mac, iOS and Android as the main targets) and the engine I use needs to be open source. The main goal is to have the most code portability (possibly through…
Liam Flaherty
  • 337
  • 1
  • 7
  • 19
7
votes
2 answers

css div grow upwards dynamically

Basically, i'm building a game. In my game I wan't the players to be able to speak with each other. You have a figure, and when you speak, your text goes in a speak bubble div over your character. My dilemma is, that when i type to much text in the…
7
votes
8 answers

C++ embedded scripting language for game development - can't find anything I like

I'm desperately looking for a fast, C-like syntax, easy to embed, easy to wrap scripting language to embed in my C++ games. So far I've tried: Lua: it works, but wrapping global C++ functions around it is painful, and wrapping objects is even more…
Vittorio Romeo
  • 90,666
  • 33
  • 258
  • 416
7
votes
2 answers

Text Based Adventure Game

I am overseeing a tech camp where one of the campers has created some code for a text based video game that he is having trouble display the results. While the program compiles and runs correctly, it will not add to the player's health when "heal"…
user2569892
  • 73
  • 2
  • 5
7
votes
1 answer

Using depth buffer to make water edge soft

I want to make soft edged water. so i make a render target to hold the depth of the scene, and then i render water geometry. And let water alpha = ( SceneDepth - WaterDepth ) * Scale looking at the results of the following chart, the edge of water…
xfxsworld
  • 283
  • 1
  • 10
7
votes
2 answers

Set size for checkbox image in libgdx UI

I can't figure out how to manage checkbox images size. Of course, it is possible to create different size of image in my Texture atlas and take appropriate one, but I don't want to do that. Here is my code: AtlasRegion checkboxOn =…
Aleksandrs
  • 1,488
  • 1
  • 14
  • 34
7
votes
1 answer

What HTML5 Canvas tools should I use to build a card game?

I'm looking to create a card game using HTML5 Canvas and JavaScript, and I want to know what Canvas tools could make my life easier. I've found CreateJS and taken some notes on it: Suite of libraries/tools for simplifying complex interactions with…
Aaron
  • 2,049
  • 4
  • 28
  • 35
7
votes
2 answers

my c++ game architecture

I'm a fairly experienced programmer, but I'm still relatively new to OOP architecture and design in c++. Most of my experience is with C# and Java. I recently endeavored to code up a simple game engine in c++. I used SDL for the graphics. In this…
shwoseph
  • 249
  • 3
  • 12
7
votes
2 answers

Make a game with Cocos2dx on Linux

I'm some familiar with Cocos2d and Cocos2dx. But only I worked in Mac, I know which is possible work with this engine (Cocos2dx) in Windows, but I don't know if is possible develop a game on Linux. By the way: I'm not talking about a port, I want…
6
votes
2 answers

JavaFx 2.0 Game Engines/Frameworks -- How will JavaFx 2.0 change Java gaming?

I realize JavaFx 2.0 has only been out for a short time but was hoping someone is aware of an FX 2.0 game engine ( or even such a project in open source development )? I've been unable to find one- so if you do please point me in the right…
Marc H
  • 1,228
  • 3
  • 18
  • 29