Application Programming Interface - the specification of the methods, classes, structures etc of software libraries and how they are to be used when developing applications using those libraries.

learn more… | top users | synonyms

45
votes
10answers
9k views

How to detect and prevent abuse (botting) of online game API?

I have been ocassionally working on a game idea in my free time. The gameplay and content renders it to be implemented as a online multiplayer game built with well established web technologies. You ...
32
votes
4answers
22k views

Vertex Array Object (OpenGL)

I've just started out with OpenGL I still haven't really understood what Vertex Array Objects are and how they can be employed. If Vertex Buffer Object are used to store vertex data (such as their ...
16
votes
9answers
6k views

Do I really need to use a graphics API?

Is it necessary to use graphics APIs to get hardware acceleration in a 3D game? To what degree is it possible to free of dependencies to graphics-card APIs like OpenGL, DirectX, CUDA, OpenCL or ...
15
votes
2answers
1k views

What was the typical toolchain for DOS game development?

I'm wondering how people used to write DOS games (like Doom), I can't find much on this, but would love to learn more about the earlier days of game development. What language was used ...
12
votes
4answers
2k views

How can I use the graphics pipeline to render volumetric data based on a density function?

Both graphics APIs (OpenGL and DirectX) devise a well defined pipeline in which several stages are programmable. These programmable stages require to take a fixed minimum amount of data and are ...
12
votes
2answers
15k views

when to use vertex array and when to use vbo

i'm trying to learn about vertex array and vertex buffer object, but i don't understand the differences in term of: case-of-use (static geomerty like terrains, geometry that change every frame like ...
11
votes
5answers
851 views

API agnostic bridges (ie. OpenGL/D3D/Whatever). Do you use them, how you make them. Pro's and Con's

You are making a 3d engine. You want best of multiplatform worlds. Suddenly you realize that if you want to use Direct3D on Windows machines and OpenGL on OSX/Linux, you'll have to sacrifice supported ...
10
votes
3answers
462 views

What problems could occur if you make use of both the Monogame API and the underlying graphics API?

What kinds of problems could one run into if they were making a game with Monogame and started making calls to the underlying graphics API as well? For example, if I wanted to do something in a ...
10
votes
4answers
3k views

Open Source AI Bot interfaces

What are some open source AI Bot interfaces? Similar to Pogamut 3 GameBots2004 for custom Unreal Tournament bots or Brood Wars API for Starcraft bots etc. If you could please post one AI bot ...
8
votes
4answers
10k views

What tools are available for developing 2D games like Tetris or Angry Birds for Android?

I would like to ask the following regarding developing Tetris- and Angry Birds-like 2D games for Android: Is Java the official development language for Android? What free or commercial Android ...
8
votes
2answers
2k views

What is the advantage of OpenGL's direct state access mechanism?

I've been reading about OpenGL 4.5 Direct State Access (DSA) at opengl.org and not sure if I'm getting it right. It seems to imply, that the old way is less efficient: glBind(something) glSetA(..) ...
8
votes
3answers
714 views

What online games would let me practice AI development? [closed]

I am working on a project experimenting with Artificial Intelligence design methodologies for online world avatars. Online world here is quite open to interpretation; Second Life is just as applicable ...
7
votes
3answers
1k views

Component based entity system API naming problems

My engine uses a component-based entity system internally, and I want to bind it to Lua for scripting. Now, I want to save people who write scripts for it typing work. In C++, to set the position of ...
7
votes
3answers
490 views

Where does the Framework (XNA) end and the API (DX) begin?

I have read alot of interesting questions asking about XNA vs. OpenTK vs. SlimDX vs. OpenGL vs. DX, and while it is really useful to get others general impressions from 100s of hours using these ...
6
votes
7answers
2k views

Need 3D RPG development library/framework recommendations [closed]

I’m currently planning to develop an RPG. It will be a project I do in my free time. No pres-sure behind it. I’ll probably be doing it together with a friend and it’s just supposed to be a fun ...
4
votes
1answer
596 views

How can I full-screen a Facebook canvas game?

Is there any way to allow the user to click a button on a Facebook canvas app and allow the app to go full-screen? If it's possible, is it permitted by Facebook?
3
votes
3answers
1k views

what is the most popular mmorpg game that has an out-of-game api?

World of Warcraft is off the table, because of the "WOW Glider Lawsuit" of 2008. Also see: Where is Blizzards official World of Warcraft API? Eve Online has an API But, what is the MOST popular (in ...
3
votes
2answers
354 views

Is there any reason why there isn't a cross-platform implementation of DirectX?

Similar to how Mono can compile C# to various platforms, why isn't there an API that conforms to DirectX's specifications but can produce binaries for all platforms? I understand that there is OpenGL ...
3
votes
1answer
616 views

How to integrate PS3 & Xbox 360 games to Facebook?

After some research online, I am unable to find any concrete references for how to go about implementing Facebook functionality from either Xbox 360 or PS3 games. There is apparently some degree of ...
2
votes
2answers
517 views

Why does handedness matter at all?

I'm really trying to understand this from a mathematical viewpoint. After all, numbers are numbers, the chirality or handedness depends on how one interprets it. Say I've three basis vectors x (1, 0, ...
2
votes
2answers
1k views

Is there a proxy for the Steam Web API?

I'm making a small spreadsheet that tracks the amount of kills my wrench's eaten over time in TF2. So far I've been manually copy pasting fields from the TF2 window, but hey, Steam does have some API ...
2
votes
1answer
2k views

How do I listen for an Admob interstitial ad load event?

I can show interstitial AdMob ads with the following code: if (GUI.Button(new Rect(10, 300, 150, 50), "Load Interstitials")) { interstitial.LoadAd(interstitialsRequest); ...
2
votes
1answer
174 views

What is the purpose for multiple windows in games?

A lot of game development APIs recently got support for multiple windows (such as SDL 2, and GLFW 3). But why did they add that feature? I've never seen a game in my life use multiple windows (with ...
2
votes
2answers
259 views

Connecting an AI Agent to a Flash Game

Overview The game is a multiplayer simple real time strategy housed in a Flash application. Players run the Flash client, and are connected to a server written in another language (the language is ...
2
votes
1answer
171 views

What is missing from SDL for it to gain more widespread adoption? [closed]

As I understand, SDL offers abstractions that let you make windows, handle input and audio much easier than doing so directly with the low level APIs provided by several operating systems. However, ...
2
votes
1answer
300 views

How do I set shape density in PhysX 3.1?

I'm using PhysX 3.1. I need give shapes different densities (there are several shapes for my single rigid actor). I know that the shape's density can be set by NxShapeDesc::density in PhysX 2.8, but I ...
2
votes
0answers
537 views

Resources on GUI library API design? [closed]

I've tackled this topic maybe a dozen of times, but each time I write a GUI library, at some point I look at it and see that it's badly designed (from a programmers point of view). I've looked through ...
2
votes
0answers
220 views

Is there a way to get the Newgrounds API to run a Stencyl game? [closed]

I'm asking this question on behalf of a twitterer who seems to be having trouble with a Stencyl game. This is all the information I have on the question, and I know it's vague, so I will add more as ...
1
vote
1answer
716 views

Best API coverage for 2D game?

If one were to code a game for most versions of Windows, which API should be used? I know DirectDraw works from NT4 and up (although DirectDraw is emulated on NT4 with GDI). However, I am told ...
1
vote
1answer
406 views

Differences between MSDOS API for EGA and VGA

How different is the API for EGA and VGA for MSDOS applications? We're talking about the API that was used in games like Doom, Quest for Glory, Duke 3D, etc. More specifically, how much work would be ...
1
vote
3answers
207 views

What's the difference between using hardware-accelerated APIs and the OS's drawing API?

On Windows, I can do drawing with the OS API without OpenGL or D3D. The code I am writing will make calls to a device driver and tell the GPU what to do regardless, right? How is using OpenGL ...
1
vote
1answer
2k views

What is the difference between an API, Framework, IDE, and Game Engine?

I am just starting out trying to learn to develop games. At first I thought c++ and Opengl were the tools a beginner would start out to make a game, but quickly found out the Opengl was just a API for ...
1
vote
1answer
100 views

Test for the presence of the ouya ODK

How would it be possible to test for the presence of the ODK at run time? Currently I took this approach: private activityDelegate delegate; @Override public void onCreate(Bundle savedInstanceState) ...
1
vote
1answer
243 views

What is the “MSN Game API”?

The other day I herd this "MSN Game API" mentioned, but I can not find any information about it anywhere. This particular API seems to be for browser based games (Such as Flash, and ActiveX embedded ...
1
vote
1answer
109 views

Is it possible to use Android Libraries in LIBGDX?

I want to make an android application game that uses both android API like Location, even Google Maps API and also use Libgdx framework as well. Is this possible? I noticed there's an Android and a ...
1
vote
1answer
5k views

Is it possible to get match information, for instance, the score, from valve servers (eg. Dota2/CS:GO)

I've been searching for information but couldn't find any. I don't even know if this is the appropiate place to ask. If it's not, please delete the question and forget me. I'd like to know if there ...
1
vote
1answer
1k views

How can I fetch a list of games and DLC for a user via Steam's API?

We're trying to figure out how to fetch a list of all games and DLC owned by a Steam user using that user's Steam ID. There is a method for fetching a list of games for an account by using the Steam ...
1
vote
1answer
352 views

Does HLSL implement Shader Model LOD instruction?

The DX Shader Model 5.0 has a lod instruction. It returns "the LOD (level of detail) that would be used for texture filtering". Does HLSL have a built-in intrinsic that can do the same? I know I ...
1
vote
1answer
49 views

GameMaker android support

Game-maker asks me to install android sdk api 13 for it to work. I opened the SDK Manager so that I install it, clicked at API 13 and I couldn't be able to click the "install packages" button. I ...
1
vote
0answers
68 views

Where are the parameters to APEX destructible asset / actor documented?

The NxDestructibleAsset has parameters such as defaultBehaviorGroup.damageToRadius destructibleParameters.fractureImpulseScale p3BodyDescTemplate.density structureSettings.useStressSolver ...
1
vote
1answer
1k views

How to design enemies pattern in non-bullet-hell shmups in Unity? [closed]

I am making a top down shooter. Enemies will come in waves and attack in many different patterns (i.e. wave of 10 enemies flying in a elliptic curves, or a huge boss floating and shooting at you, ...
1
vote
1answer
160 views

Making a game for multiple platforms [closed]

I am making a game with web, iphone, and android front-ends. I want to make them all able to interact well through the back-end so that any user can play with any user. To do this I've decided to ...
1
vote
0answers
618 views

Corona sdk events dispatched with dispatchEvent() are handled directly upon call. Why so? [closed]

I noticed to my surprise that an event created with dispatchEvent(event) gets handled directly when called, and not together with other events at a specific phase of the frame loop. Two main reasons ...
0
votes
1answer
127 views

What is “Rapid” in reference to the MSN Games GDK?

I have herd a little talk about the MSN Games GDK lately, and what wondering what Rapid was. It sounds like some sort of testing environment, is this true? How can I get access to it? Or find out ...
0
votes
1answer
32 views

How to access the players XBOX account from your Windows 10 game app? [API?]

We want to release a game that was previously an Android game for Windows 10 (Store / Desktop). Could you tell me how we can access the players XBOX account, see his friends and compare their scores? ...
0
votes
1answer
595 views

OpenGL 2.1+ Render with data returned form assimp library

I have just readed this tutorial about load a 3D model file: http://www.lighthouse3d.com/cg-topics/code-samples/importing-3d-models-with-assimp/. Its render routine uses a recursive_render function to ...
0
votes
1answer
2k views

3D Bone Animation API in C# [closed]

i have been looking for 3d Bone Animation for plain C# (to be used with Sharpdx or Slimdx) but i did not find anything !!! I just find some for XNA. Any Suggestions! Accept c++ suggestions also
0
votes
1answer
23 views

Unity web player API?

Just curious about it. I only want to know that what graphics API does the Unity web player uses. Is that WEBGL? Or simply OPENGL? Or A custom one? Then how do the games get gpu acceleration?
0
votes
1answer
91 views

How Apple Metal API distinguishes uniforms from vertices buffers?

I am not sure how metal distinguishes uniforms from vertices buffers? As far as I know code for passing uniforms in buffers are the same like for vertices: [self.commandEncoder ...
0
votes
1answer
85 views

Are Textures cached by GPU or buffered from memory for every frame?

I did a lot of research on this but couldn't find any answer. -Are the textures buffered from memory(RAM) for each Draw Call/Frame or are cached in VRAM. As per my research, I believe in the former ...