0
votes
0answers
21 views

“Widget Gallery” for 3D engine

After having to implement several GUI libraries from scratch, I've found, that the first step in implementing one should be to implement a "gallery" of working widgets. Once that is accomplished, work ...
0
votes
0answers
8 views

Cocos2d-x 3.0 JS: Facebook Dialog: Internal Server Error 500

I am using the following function to Invoke Facebook sharing: facebookShare: function() { cc.log('share to facebook 0.1'); var self = this; var fb = plugin.FacebookAgent.getInstance(); ...
0
votes
0answers
29 views

Share image on selected media [closed]

I want to share image on selected media that I capture through code. At present I have following code to capture image private void CaptureScreenShot() { Texture2D tex = new ...
0
votes
1answer
32 views

using rperp or perp to find perpendicular of a vector

i have code local coordinate Vec2 velo = Vec2(100,0); Vec2 Heading = velo.getNormalized(); Vec2 side = Heading.perp(); Vec2 trans = Vec2(12,12); then i can generate toWorldCoordinate for trans ...
0
votes
1answer
41 views

Fixed joints in 3D

I'd like to build something like rigid origami in 3D space. So I need some mesh where each vertex is a particle and the set of the edges makes a chains/fabric where each edge is a "fixed length" ...
1
vote
0answers
27 views

Game upgrade launch : Cross-platform release timing

I just finished doing a major upgrade for a old mobile title, that haven't seen an update in over a year. Lots of new content, things are looking nice. Sadly, these days it takes an average of 12 ...
0
votes
0answers
62 views

Garbaged textures on OpenGL [on hold]

I've been struggling with this for a long time, and now I've hit a dead-end, I have no idea what to do. I'm pretty new to OpenGL (roughly about eight months), and I've been developing an engine for ...
-1
votes
2answers
81 views

I want to do an ECS Game, what would be a good replacement for XNA [closed]

In the past, I've made some little games for fun, and I want to start a new project. I want to use Entity / Component Paradigm, and I would have liked to use Artemis for .NET That said, I had a pretty ...
0
votes
0answers
28 views

marshaling c# struct with array to const buffer

I am trying to use a const buffer to pass a structure with an array of values into the pixel shader. However, all my color[] array values are coming in as zeros. I have the struct defined as: ...
0
votes
0answers
11 views

How to add Scrollview in Sprite Andengine

package com.example.andengine.sample; import org.andengine.entity.IEntity; import org.andengine.entity.shape.RectangularShape; import org.andengine.input.touch.TouchEvent; import ...
0
votes
0answers
17 views

Depth Map not rendering properly in DirectX / HLSL / SharpDX

I've been struggling with this for awhile, and everything I find online says this SHOULD be working, but I apparently missed something. I'm attempting to run Deferred Rendering in SharpDX on a ...
1
vote
1answer
62 views

IBO interfering with VBO data?

I have a vertex and color VBO that render a plane (2 triangles) just fine. However, when I attempt to use an IBO to render the plane, the vertices are completely off. My nice square looks all crumpled ...
1
vote
3answers
177 views

Issues with ECS performance

I'm currently implementing ECS in "classic" sense, as defined by this wonderful post, where we have Entities, Components and Systems. And I'm having a serious (for me) performance issues. They come ...
0
votes
0answers
34 views

isometric movement

I'm developing an isometric strategy game in flash using the Starling framework. I wanted to know what is the best way to move units about the isometric grid, and to render them the right way. Now ...
0
votes
1answer
27 views

Determining if a Point3D passed another

I have 2 points A and B in 3D space (say of type Point3D). B needs to travel towards A and then stop either when it reached or passed B. The direction between the two points is known (can be easily ...
0
votes
0answers
57 views

Particle System Tracking

I have a particle system where instead of tracking the time each particle is alive, I just track the time of the oldest particle and the time of the youngest particle. Basically, the oldest particle ...
0
votes
0answers
44 views

New Programmer looking for experience in C++ Game Dev [closed]

I've been working on an outline for a game idea that would be a single-player PC simulation game along the lines of the Football Manager series. There's no fancy graphics planned as it is more of a ...
0
votes
1answer
53 views

Can't seem to get Sprite to face left in sfml c++

I am having some small issues getting my sprite character to flip around. Basically I have a character that can walk to the right.. I am looking to flip it so that it looks like it is walking left. I ...
0
votes
0answers
43 views

Is this shader too complicated for mobile? Renders solid black on mobile [closed]

I've written this for use in Unity with ShaderForge and have attempted to use it on Mobile, however it is rendering solid black. http://pastebin.com/5kitbRAg It is quite complicated, as it's a splat ...
2
votes
1answer
80 views

How to share values between different shader programs?

I am using Unity but this might concerns all type of shaders. I would like to know if this is possible to share values between different shader pass.Let's imagine that I am computing something in the ...
0
votes
1answer
15 views

Get speed from vector using box2d and javascript

I need to find the speed of an object in a game. The game is made in HTML5 with jquery and jquery.box2d. For this I can use these methods: GetLinearVelocity().x; GetLinearVelocity().y; I'm then ...
0
votes
0answers
28 views

How to translate vertex buffer coordinates in 2D

I am trying to (using a 2D Directx9 engine library) rotate/translate a set of points in a vertex buffer. I understand how this would be done in a 3D system - i.e using the vertex shader stage of ...
0
votes
0answers
64 views

Creating a arc path connecting two GameObjects in Unity

I am working on a game on a spherical surface which first of all is a big challenge in itself. I want to create a path on an arc which connects two points ( seen in the image ) and show an arc path ...
1
vote
0answers
49 views

2D Rotation Transform Matrix Issues

I'm stuck on my computer graphics class homework. I'm sorry if this is not right place to ask. I think this is closest thing to computer graphics. My assignment is to create basic 2D colored ...
0
votes
0answers
27 views

Push Notification to start a scene

I was wondering whether I can use APNs in iOS to trigger an event in my game, like start a scene without user clicking the notification. Is it possible to use remote push notifications for events like ...
0
votes
0answers
61 views

How to create a sun (shining) and a moon in a 3D world? (Using specular light.) [closed]

I'd like to know: where should I start from to create a moon and a shining sun. Do I need 3D models or is there an effect I can use? Or is it better to use a sprite? Actually, for now I just have a ...
0
votes
1answer
52 views

“_SRGB” suffix for BC texture format doesn't result in sRGB-to-linear correction at sampling

I am working on a 3D engine as a hobby (Direct3D 11). Currently I am trying to implement sRGB -> linear -> sRGB color space conversions via texture formats with "_SRGB" suffix. So, my textures are ...
0
votes
0answers
28 views

Printing the values from the corresponding array [migrated]

Suppose 1 A 2 B 3 C I need to print the value corresponding to 1-> A I have put both in two array d1[1,2,3] s1[A,B,C] Now i need to print the value in the form shown in the above d1[0] ...
0
votes
1answer
53 views

How to render the sprites for a 2D soft body physics system

This is not a question as to how to achieve soft body physics, but rather if I have a mass-spring system how to modify a sprite with that information. I am using unity so I dont have access to vector ...
0
votes
1answer
34 views

OBJ Model not being rendered properly in OpenGL ES 2 android app

I have an Android OpenGL ES 2 app that loads an .OBJ model using Assimp and renders the same. The vertices data is stored in a object declared like this : class CGameObject { public: struct _Mesh { ...
0
votes
0answers
35 views

How to move rigidbody player to its facing direction with AddForce?

How can I move a rigidbody to its facing direction? I've already tried this: rigidbody.AddForce (transform.forward * v, ForceMode.Acceleration); // v is a public float which gets a new value in ...
1
vote
2answers
172 views

List of 3 letter words to disallow from entry for public kids game

I saw this post about a profanity filter for an mmo chat. In my case I've got a game played in public, mostly by kids. The only text they can enter is their initials A-Z, 2 or 3 letters. With only ...
1
vote
0answers
28 views

Skyrim Creation Kit - Location Based Spells

I'm making a spell that'll place a soil patch on the ground in skyrim, and I cannot get it to work. I would like some help. When I tested the spell in game, no soil patch appeared on the ground. I ...
0
votes
1answer
30 views

Using IBO's with color

I am trying to familiarize myself with IBO's by drawing triangles etc but I'm finding no way to get the color to apply properly. Can I not use an IBO to index the color values as well? I am having ...
0
votes
2answers
66 views

How to make a wait timer?

I am making a mining styled game and am looking to make variables that effect how fast you are able to mine the block. This is the idea I have currently got but it does not wait for the timer to ...
0
votes
1answer
53 views

Continuous world and camera problem

I have this problem where I split my big world into chunks and I don't know how to draw it into my game camera's view. Each world chunk has its own coordinate system, so when object reaches border of ...
0
votes
0answers
16 views

Having trouble getting shader to work with sprite batch in XNA #4

I found a neat "CRT screen" effect shader on the web, but I've never used shaders before and I can't seem to get it working properly. If I do the second sprite batch in my code here normally without ...
0
votes
0answers
19 views

How do I create a java library that is dependent upon another library? [closed]

Hello everyone, I am creating my own java library to help me when creating games. this library is just for personal development. however, some of the commands within the libarary are ...
0
votes
0answers
15 views

DirectX 11 Vertex Buffer Corruption [closed]

So I am trying to draw 2 separate models with their own vertex, index, and constant buffers. I'm not sure what exactly is going wrong, but basically I get an error that says invalid parameter 3 for ...
0
votes
1answer
23 views

Implement an action “while” touching event

I'm making a game using Xcode for iOS. This is a segment of code I have that makes the sprite jump up when the screen is tapped: //tap/touch to jump (& play sound) -(void)touchesBegan:(NSSet ...
0
votes
0answers
33 views

Data structure to store map layers in each Tile while keeping the order of terrain, items and monsters intact

My game represents its map as a 2D array of tiles, each of which stores a stack of layers. I'm looking for a data structure to efficiently represent this . I want to be able to add layers ...
0
votes
1answer
34 views

Using IPAD's as controllers for a Unity game

We are making a Multiplayer game using Unity. The actual game would be run from a PC projected on a screen and the players would be using their respective Ipad as a controller to play the game. I am ...
-1
votes
0answers
18 views

C#, XNA 4.0 Pick up trouble [closed]

I have a problem within the code part to the pickups. It allows me to pick up one of the pickups and adds points and the sprite would disappear but not the any other pickups up. However, it allows me ...
2
votes
0answers
66 views

SSAO and normal issues

I'm using a SSAO alghorithm called "SAO", seen here: http://graphics.cs.williams.edu/papers/SAOHPG12/ I'm currently having issues with "smooth" normals, for example when using normal/height maps. To ...
0
votes
0answers
27 views

Assimp - Error loading .obj files

I'm trying to load .obj files in my little game. I decided to use assimp as tool to import those models. But it seems that assimp does not import them correctly. I looked for a simple cube mesh ...
-1
votes
0answers
32 views

Fixing Camera for DirectX 11.1 2D/3D [closed]

I have implemented two parts of the camera, ortho and perspective. Now I'm writing a 2D Game and I've used that setup // near 0, far 100 m_Camera.SetOrthographic(WINDOW_WIDTH, WINDOW_HEIGHT,0.0f, ...
0
votes
0answers
51 views

How to manage stat gains using exponential growth in RPG? [closed]

I am creating a simple RPG and fiddling around with some equations for stat/exp growth and am not sure how to handle bonus stats in a fixed growth model. If you have played Ogre Battle Tactics, you ...
-1
votes
0answers
30 views

2 players turn based multiplayer android game development [closed]

I know it has been asked many but yet I can't find an answer. Currently I don't have a Google developer account yet, so I can't use the Google play multiplayer service and it also limits me to ...
0
votes
0answers
23 views

libGDX fixed object and camera do movement

I develop game to andorid and there is moving object with arrows - simple movement like in RPG games. I did: camera.position.x = PIXELS_PER_METER*man.body.getPosition().x; camera.position.y = ...
0
votes
2answers
57 views

Incrase framerate in XNA [duplicate]

I'm trying to increase the frame rate of my game from 60FPS to 100 FPS because of reasons. But i can't seem to get it higher than 60 frames. This is the count I'm using. I can slow down the frame rate ...

15 30 50 per page