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

Player Movement Direction Logic

Consider points A and B as walls and point O as player inside walls. So they look like A O B. I want player to move left when he touches rightPoint B. And move right when he touches leftPoint A. The screen is being rendered and player position is…
rupinderjeet
  • 2,984
  • 30
  • 54
1
vote
1 answer

Why is my array of indices from 0-16129 is not null but the rest are?

I have an array of indices with a length of 97536, when it gets to 16,129 it gives me a null pointer exception. Index[] indices = new Index[6 * (VERTEX_COUNT - 1) * (VERTEX_COUNT * 1)];. I then have a double for loop and a pointer to loop through…
danyguag
  • 11
  • 1
1
vote
3 answers

Selecting an best target algorithm in arcade/strategy game AI programming

I would just like to know the various AI algorithms or logics used in arcade/strategy games for finding/selecting best target to attack for individual unit. Because, I had to write an small AI logic, where their will be group of unit were attacked…
1
vote
1 answer

PlayN and Firefox issues

I am working on a pet project of a Facebook game. I've had a couple of problems until now on Firefox browser. CPU runs wild when you start a game on FF. TextLayout gets moved a few pixels up. Caching ruins reloading of resources Anyone had these…
Chobicus
  • 2,024
  • 2
  • 17
  • 26
1
vote
2 answers

Developing a Checkers (Draughts) engine, how to begin?

I'm a relatively inexperienced programmer, and recently I've been getting interested in making a Checkers game app for a school project. I'm not sure where I can start (or if I should even attempt) at creating this. The project I have in mind…
CowNorris
  • 47
  • 1
  • 10
1
vote
2 answers

Obfuscate a game in Java

My situation is something similar to this... I have a game I am currently developing in Java and I have taken a couple steps to secure the data (such as using encryption when saving local files). However one thing I was recommended by a friend is to…
Sh4d0wsPlyr
  • 948
  • 12
  • 28
1
vote
2 answers

SKScene: bounds of scene

How can I get the bound of scene? I'm testing with demo and I initialize scene in this way: GameScene *scene = [GameScene unarchiveFromFile:@"GameScene"]; scene.scaleMode = SKSceneScaleModeAspectFill; So, when I tap on screen I…
SirDeveloper
  • 276
  • 1
  • 10
1
vote
1 answer

Correctly set up Valves Source SDK 2013 on Linux

I just try to set up Valves Source SDK 2013 for Linux but I need to say that I find the wiki + documentation rather confusing and partly heavily outdated (Windows-only instructions, only for GoldSrc / pre-20XX SDk etc.). I hope that someone who…
ljrk
  • 751
  • 1
  • 5
  • 21
1
vote
2 answers

Cocos2d on iPad at native res and not inside box

So I can't seem to get my cocos2D app to run at native resolution on the iPad. All it does it run in the little box as if it's an iphone application. I have the latest version of cocos2D inside my app and used the templates to create the project.…
Mark Hazlett
  • 126
  • 1
  • 10
1
vote
0 answers

jMonkey: How to have in game Terrain Modification

I'm working on programming a game, and the game environment is going to be near complete environmental control. Part of that is going to have a player dig/mine and modify the terrain in the Game.I was looking at a bloxel type environment, however I…
fftk4323
  • 130
  • 1
  • 12
1
vote
1 answer

How do I deploy my LibGDX game to my website?

The furthest I've gotten is running it on the browser through the command line. I went into the appropriate directory and used the ./gradlew html:superDev command and then went to the URL localhost:8080 and was able to play my game. However, what i…
user3646493
  • 53
  • 1
  • 7
1
vote
1 answer

Dynamic text for humanoid avatar

I am new to game development, i used iclone character avatar and added some basic animations, text to speech, facial animation. I bring all my avatars, animations to Unity3d Via 3dxchange, only the text to speech audio file can't be imported to…
cloudVision
  • 279
  • 1
  • 12
1
vote
1 answer

Libgdx Unscaled Fullscreen

I'm using libgdx for a PC game. I am trying to make the window fullscreen while keep the original window size (1024 x 768). In other word, I want to preserve my 1024 x 768, have the game centered at the middle of the screen, and just have the black…
1
vote
1 answer

C++ C# wrapper related. How do I get a hwnd from C# window and pass it to C++?

I am working on a game engine right now. I am planning to use WPF as my level editor UI. I am going to wrap the base engine functionality like video tutorial below. https://www.youtube.com/watch?v=cqsj__ZVm-c or using swig http://www.swig.org/ I am…
1
vote
1 answer

opengl 3.2 drawElements, only one quad visable

Edit: I should clarify a bit... This is how I've planned for things to work: Each time my application renders (60hz) I want to put all vertices that are to be rendered into a huge buffer. Then, that buffer will be uploaded to the GPU.…
Jake
  • 843
  • 1
  • 7
  • 18