2
votes
0answers
82 views

Constrained/penalized distance function

Assume a character is located on a n by n grid and has to reach a certain entry on that grid. Its current position is (x1,y1). Also on the same grid is an enemy with coordinates (x2,y2). Each step ...
2
votes
0answers
368 views

Import 3ds into JMonkeyEngine 3

I have asked this question on SO, but I think it will be more suitable here. Basically, we are trying to import an animated character body (with skeleton) from 3D Studio Max to JMonkeyEngine 3, but ...
2
votes
0answers
1k views

XNA Screen Manager problem with transitions

I'm having issues using the game statemanagement example in the game I am developing. I have no issues with my first three screens transitioning between one another. I have a main menu screen, a ...
2
votes
0answers
866 views

OpenGL ES 2.0 Camera advices and general thoughts for a 2D engine

I'm working on my first 2D OpenGL engine for iOs 5+ using GLKit (that's to say: OpenGL ES 2.0). While I am on a good path and a lot of things are implemented and nicely working, I'd like to share with ...
2
votes
0answers
812 views

AndEngine Making Chase Camera Follow Player

I am playing around with the AndEngine Race Game example. I am trying to make the camera follow the car as the player moves around. The Tile Map is larger than the player's screen but the camera ...
2
votes
0answers
272 views

Trouble with UV Mapping Blender => Unity 3

For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender. I seem to be able to solve the problem by reducing the size of the UV coordinates ...
2
votes
0answers
276 views

Resources on GUI library API design?

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
138 views

Getting error messages from my server

I'm working on client-server-client game. Client is sending their status (position) 30 times a second. I'm using Lidgren.Network namespace for networking (server, client). I've got two questions: 1. ...
2
votes
0answers
603 views

Can one use OpenGL ES from Google Go?

I've recently used Google's Go language and was impressed by its great support for parallelism. I'd like to try Go for a simple game -- just a test-case -- and I'm wondering if I can use OpenGL ES ...
2
votes
0answers
338 views

D20 java engine

I'm trying to incorporate PCGen into my application to avoid recreating the wheel for D20 system. (Are there any other libraries out there?) In other words I would like to use PCGen as a library and ...
2
votes
0answers
90 views

1UPT multiplayer sync

The game I'm working on is 1 unit per tile. Each player can move their single unit 1 tile at a time (click the unit and then click the tile to move to). It's in Javascript with Node.js and presently ...
2
votes
0answers
222 views

Suitable in memory storage library to store components for entity systems

I am studying entity indexed components and came up with a naive C++ implementation which just iterates over all entity "hash tables" and applies update/delete/insert functions in place. I'm having ...
2
votes
0answers
372 views

3D Studio Max Models and Shaders to XNA

I am looking for a way to import my 3D models, including materials and shaders to from 3D Studio Max to XNA. For example, if I have a model, with diffuse, bump, reflection textures and values (in ...
2
votes
0answers
163 views

The status of Unity networking code

I am new to unity world I want to inquire the status for networking script and tutorial which is available at unity site my question is: Is that code is compilable as I have couple of times tried to ...
2
votes
0answers
615 views

Collision Detection on floor tiles Isometric game

I am having a very hard to time figuring out a bug in my code. It should have taken me 20 minutes but instead I've been working on it for over 12 hours. I am writing a isometric tile based game where ...
2
votes
0answers
582 views

XNA 4 Deferred Rendering deforms the model

I have a problem when rendering a model of my World - when rendered using BasicEffect, it looks just peachy. Problem is when I render it using deferred rendering. See for yourselves: what it looks ...
2
votes
0answers
309 views

Programmatically determine UVs by rotating a plane along X axis

I'm having a math brainfart while trying to solve what might be a simple problem. I've got a plane in 3d space (it's actually the face of a 10-sided die): Coordinates [x,y,z]: Point_top = [0,0,1] ...
2
votes
0answers
321 views

box2d reset position of falling object not behaving properly

I have been playing with box2d in libgdx and have made a falling ball. Once the ball lands on the ground I want to be able to reset it to the top with the space-bar key I have done this: if ...
2
votes
0answers
462 views

Problem of tearing in Slimdx and DirectShow video

I have written a video player using SlimDX and DirectShow which is displaying the video on a SlimDX texture. I am extracting the video frames using the ISampleGrabberCB interface from DirectShow and ...
2
votes
0answers
759 views

Interactively edit UV mapped, textured mesh in Cinema 4D without distorting texture?

I'm fairly new to Cinema and I'm building a rigged flat (2d) character out of illustrated pieces. I want the meshes to have an efficient number of polys but sufficient resolution where they'll bend ...
2
votes
0answers
321 views

Rotating camera changes directional light depth map, and changes PCSS penumbras

I am implementing PCSS and I am using a directional light. The directional light volume is clamped to the camera frustum (as is typical with directional lights). So when the camera rotates, the ...
2
votes
0answers
189 views

Does anybody know any Twitch FPS games that allow you to extensively customize individual bot profiles (OpenArena is one example)

Specifically I would like to mess with the idea of giving each bot a specific "personality" so to speak. Open Arena provides this functionality, and I'm assuming that Warsow/Nexiuz (Xonotic?) may ...
2
votes
0answers
363 views

How can I keep a SmartFox server connection alive while waiting for a client to connect?

I am making a game using SmartFox Server. During testing, if I take a few minutes before loading the game, SmartFox stops running and I can't connect. So I then have to restart SmartFox, which is very ...
1
vote
0answers
26 views

OpenGL Calculate Matrices

Im trying to switch from the glTranslate etc to my own Matrices, but for some reason it does not work. Here are my 2 functions to create the view- and projection matrix: public Matrix4f ...
1
vote
0answers
19 views

How to draw image in memory manually in pyglet?

In pyglet, I want to create an image buffer in memory, then set the bytes manually, then draw it. I tried making a 3x3 red square like this in my draw() function: imageData = ...
1
vote
0answers
20 views

Collision Detection Problems in Bullet Physics

I am trying to detect collisions between two objects, both btBoxShapes. One of them, I update by setting body->setWorldTransform(transform); I have implemented collision detection using the ...
1
vote
0answers
39 views

Accessing variables from non-neighbouring classes specifically in game development (Android)

Edit Using direct access while breaking the law of demeter looks like this: res.sprite.drawQuad(res.sprite.xScreen,res.sprite.yScreen, mMVPMatrix); Using proxy methods / getters / setter looks ...
1
vote
0answers
20 views

How do I remove control points from imported curve in Maya?

When I create a path from an Illustrator file, it adds extra control points for bezier handles for each point in the AI file, even though I don't drag out the handles in Illustrator. All my points in ...
1
vote
0answers
52 views

What to pass to scripting

I am using Java and libgdx to create a game and have decided to go a data driven approaching with Jython for this refactoring (just picked up Jython, have used Java for a while). The game is a ...
1
vote
0answers
38 views

How to gradually decrease opacity of model?

I have been searching for this matter for a long time and slowly I begin to think that this option is not available in XNA for Windows Phone. I am trying to get a 3D-Model to be drawn at 50% ...
1
vote
0answers
41 views

OpenSceneGraph, multiple instances of a model

Im working on my first project using OpenSceneGraph. The project is a model flight simulator for one of my university courses, I want to be able to load airplanes (consisting of multiple models) and ...
1
vote
0answers
60 views

Steering behaviour

So I found this steering behaviour code in a book but i dont really understand the last part of the code what exactly is he doing because im unfamiliar with c++. Why would you need to ...
1
vote
0answers
35 views

Move parent according to child axis in Unity?

Can I ask my parent to move according to the child axis? This means if I turn right, then right again, the parent has to be at 180° from its original position, and not only at 90° (because "Right" ...
1
vote
0answers
63 views

JMonkey - Create health bar?

How can I create a health bar in JMonkey? Is there some documentation that can help? I am working on a game, specifically “Battleship”, using the JMonkey Engine (JME3). I want to add health bars on ...
1
vote
0answers
36 views

Why is my XInput gamepad press stamp not working?

I'm trying to add basic gamepad input to my c++ DirectX game but i'm having some trouble creating a press stamp (registers the press only the first time it's pressed if button held down). The entire ...
1
vote
0answers
38 views

How to set object's / node's absolute rotation correctly?

Usually when I want to rotate an object/node in my Ogre scene I call the node's rotate() method. That rotates the node locally relative to it's current rotation. So for example, when I start with 0 ...
1
vote
0answers
76 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
1
vote
0answers
30 views

Blender: calculation of elevation and rotation angle from plane

I have a generic plane (any location, any rotation around every axis) with its normal axis passing by the center. Then I have a generic point and I need to find the elevation and the rotation angle ...
1
vote
0answers
28 views

DirectX11 : get number of texture objects

Is it somehow possible to get the number of all texture objects on a device context? thanks!
1
vote
0answers
15 views

Transparent RednerTarget2D afrer blending

How to get transparent bacground in RenderTarget2D after alpha blending? I use Color.Transparent to clear the render target, but I get black color after blending where alpha is 255 even that there is ...
1
vote
0answers
40 views

Indicating low vs high card wins in trick taking card game

I have a trick taking card game in which case there are occasions when the high card wins and occasions when the low card wins. Usually this is based on who lead the trick but some cards can change ...
1
vote
0answers
117 views

How do I make someone walk in Skyrim?

I'm coding a mod for Skyrim with Papyrus and the Creation Kit. I can't seem to get an Actor to move from point A to point B. I know there's a function to teleport an actor, but how can I make them ...
1
vote
0answers
48 views

MiniMax where bots make simultaneous moves .

What is the correct approach for using miminax in a game where bots make simultaneous moves ?
1
vote
0answers
45 views

How to determine character's foot contact point on a uniform triangle mesh terrain?

For a terrain that is modelled by a heightmap with a uniform triangle mesh, what are some techniques I could use to determine the contact point of the foot of a character standing on the terrain? ...
1
vote
0answers
55 views

sharing preferences between two apps on android with libgdx

I am making an android game with both a demo version and a paid version. I want users who decide to buy the paid version to continue from where they left off, with all their old data and settings. ...
1
vote
0answers
123 views

DRY 0-bandwidth-overhead-serialization in C#: virtual, delegates or reflection?

I'm (de)serializing some datastructures for a network-multiplayer game, and for each datastructure that's to be (de)serialized, I want to define the order of (de)serialization only once for ...
1
vote
0answers
30 views

Bullet btGeneric6DofConstraint and btGeneric6DofSpringConstraint constructor arguments

I have a very simple (and maybe too primitive to post here but I’ll try anyway :P) question about Bullet constraints. What are arguments const btTransform &frameInA, const btTransform ...
1
vote
0answers
117 views

How can I implement collision for a “pseudo-3D” game?

I'm looking for high level implementation details, not specifics. I've worked with bounding boxes before in some 2D games, but I'm currently tackling a "2D + depth" (2.5D?) style game along the lines ...
1
vote
0answers
48 views

Posible to export f-curves in blender?

I work with some friends on a rail shooter game in openGL. For creating our world we are using Blender. Since we want our Tank to follow a path I have started to work with creating bezier curves and ...
1
vote
0answers
39 views

Translating an object with a joypad

I'm trying to move a 3D plane with my mouse joysticks. At the moment my code, inside the Update method, is as follows: xMin1 += Input.GetAxisRaw("LeftRight"); yMin1 += Input.GetAxisRaw("UpDown"); ...

15 30 50 per page
1 2 3 4 5 26