All Questions

0
votes
0answers
12 views

In libgdx, how do I get the intersection of a ray with a model instance?

I am using LibGDX trying to use raypicking to pick a point on a Mesh. I have two methods for this that don't seem to work quite right: /** * @param ray * @param intersection The vector to store ...
0
votes
1answer
33 views

Is there a builtin way to convert rect to spherical coordinates

This seems like a fairly basic and common problem. Is there a builtin way to achieve it or do i have to write the algorithm on my own?
0
votes
0answers
23 views

glBlendFunc() makes primitively drawn quads disappear

i have experienced some issues with glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);. Having this invocation in OpenGL init code makes stuff drawn with the following methods ...
0
votes
0answers
48 views

Random Object in Array

I am using Unity3d. I am stuck in my game. I Couldn't find the solution yet. I have created 8 different types of objects, stored in array, . i displayed them on the scene randomly in grid pattern. ...
-2
votes
1answer
89 views

How do I choose where to position a mini-map in the HUD? [closed]

In a game with a minimap, what factors should be considered when choosing where to put the minimap on the screen HUD? What choices are typically made when wanting to emphasize a particular factor?
0
votes
0answers
49 views

Load character instead of load level

I have some trouble finding out how I can load my character at the start of the level, instead of resetting the whole thing. The game mechanics are quite straight forward; don't touch the walls. If ...
-1
votes
1answer
40 views

How to increase player Lifes count

I am new in Unity Game Development. I am designing infinite game using C# scripting. There are many cubes in my game scene. if single cube is hit by player, He gets 100 points. if same color, two ...
1
vote
1answer
39 views

Alpha blending, transparence and z-ordering

I'm making some tests with alpha blending in a projet and I don't understand something. In my tests I've done something like that and everything look good: Draw blue box first (depth test: true, ...
0
votes
1answer
19 views

How can I Separate model parts when I click on it

Here I am using a heart model, in dis model I want to identify each part .Under the model Iam having 3 part(Sub1,Sub2,sub3)When I click on the each part how to separate or differentiate it by using ...
2
votes
3answers
146 views
+50

OpenGL lighting appears to be clamping

I'm experiencing an odd problem where everything placed in front of my light appears black in my scene. This happens on multiple axes. I've searched the depths of the internet to find a solution, but ...
0
votes
1answer
14 views

GameMaker Keyboard Event Stopping [closed]

I am fairly new to GameMaker, and I followed a tutorial for a platformer, which included the keyboard event (not key press or release), it worked fine except that if you are walking and you release ...
-1
votes
0answers
35 views

Game for wedding anniversary [closed]

I am newbie to game programming while have good experience in software programming. I am planning to give my wife personalized mobile video game marking our wedding anniversary What would be a good ...
0
votes
1answer
28 views

Scaling a UI bar for progress in Unity

I have created a progress bar inside Unity for one of my energy systems. The bar progression works fine. Its just a plane pivoted on one of the faces so scaling it in x axis makes it progress further ...
0
votes
0answers
26 views

In XNA, how does KeyboardState work internally?

I already understand how to work with Keyboard and KeyboardState, but when debugging I happened to take a look at the KeyboardState's non-public members via the VS debugger. I expected to see a large ...
2
votes
4answers
114 views

.fnt font file offset issues in Unity

I want to display 2D text in Unity using bitmap fonts (.fnt files). There are some solutions out there, but I'm writing my own. Each character is a game object with a SpriteRenderer. It works. ...
0
votes
0answers
7 views

noise when using xaudio3D

I'm trying to create 3D sound using xaudio3D. The 2D sound works fine but when I use 3D, there is noise after 2 or 3 three frame. The volume of the audio I'm playing keeps decreasing and noise keeps ...
0
votes
0answers
55 views

Method to fake 3d in 2d top down game

I'm relatively new to game development and its terminology and I was wondering how to achieve the effect that is being used on the main character in this game: http://youtu.be/XK7whzmywno?t=2m38s To ...
2
votes
2answers
418 views

Isometric view : what is the right angle to use?

Wikipedia states in an isometric view, all angles must be equal to 120. I am building my assets by making screenshots of some 3D models, so I can get any point of view on them. I tried to capture ...
-3
votes
0answers
46 views

I am currently working on a 3d graphics engine, I believe I have the math and logic right, however i am not certain [closed]

I am coding a 3d graphics engine using java. My setup is a 3 dimensional coordinate field. It is configured using an ArrayList of Points, sequential letters for simplicity's sake. Turning is affected ...
5
votes
0answers
154 views

How do I perform an hqx filter in XNA 4.0?

I'd like to render my game scaled up with one of the hqx filters (hq2x, hq3x or hq4x) in a shader. My output with SamplerState.PointClamp: My output with SamplerState.LinearClamp: What I want ...
0
votes
0answers
40 views

Understanding cry engine [closed]

I'm a new game developer currently in the process of learning how to develop with Cry Engine 3. I know quite a bit objective-c and c# and I've developed a lot of software with those languages so I'm ...
-1
votes
0answers
33 views

arrayindexoutofbounds [closed]

i'm new in this site and i've been learning java for 1 month, escuse my grammar. I want to make a game about a character that has to dodge bullets that appear every 3 secs, and are messing around the ...
1
vote
0answers
24 views

Generate ETC2 compressed texture from Android Bitmap in OpenGL ES 2

My app currently uses a lot of textures most of which probably could be compressed quite a lot by using ETC2 (my app runs on 4.4 so i have a lot of devices supporting GLES30), i cannot use ETC1 since ...
0
votes
1answer
48 views

Initial force to achieve orbital velocity

I'm attempting to get asteroid to orbit a black hole that is asserting gravity. Some parts currently work, like the black hole asserting gravity, attracting asteroids in and destroying them. And ...
0
votes
1answer
80 views

Collectible Card Game Card Text To Code Association

I am making a collectible card game using a command pattern for using card abilities and creating a class for each card text ability. The game is setup to work with an authoritative server structure. ...
-3
votes
0answers
39 views

Animating a 2D sprite from several images or from a single image? [closed]

How do I animate my 2D sprites in Opengl , I am making a game in 2D and want to animate the sprites . Any tutorial or help will be highly appreciated .
-1
votes
0answers
22 views

What was the design goal behind the last battles in Final Fantasy X [closed]

Usually, at the end of Final Fantasy games, But at the end of Final Fantasy X, I'm wondering what motivated such a design choice. What did they want to accomplish by changing this particular ...
0
votes
1answer
47 views

Memory-leak around SDL_FreeSurface

When I call my tile engine function, the amount of memory my program uses begins to spike at about 80 - 90 megabytes per second. The memory use continues to go up until the program crashes. The ...
0
votes
1answer
78 views

Why are MMORPG conversation screens always in windows with character heads above them? [closed]

Coming from an adventure game background, where conversations usually happen as subtitles or speech balloons, with at most a bunch of answers to click at the bottom of the screen, I've recently ...
0
votes
0answers
16 views

Does Unity's “Compression quality” affect ETC2 compression?

In Unity I am using "Advanced" texture options on Android with ETC2 8-bit compression. There is an option for "Compression quality" as described here: ...
0
votes
0answers
19 views

How to properly transform vertices for a model loaded using Assimp?

When I try to load a DAE model then vertices are not placed correctly. Here's the code snippet I use to load 3D models using Assimp : aiNode* CGameObject::findNode(aiNode* rootNode, const char ...
0
votes
0answers
28 views

When camera moves the textures move and rotate

I recently followed the tutorial at PaulsProjects on shadow mapping. After finishing the tutorial all of my textures seemed to have vanished, then I moved my camera and the texture reappeared. But the ...
0
votes
0answers
24 views

Angel2D won't find GLFW

I'm doing my first steps with C++ and game development to build a simple prototype. I've chosen Angel2D as framework to get some help from the beginning but I have problems to get it working with a ...
0
votes
0answers
21 views

Orthographic camera and z-axis in 3D isometric view game

I'm working on a game in Away3d. I'm using an orthographic camera and I'm attempting to simulate an isometric view (the camera has a 37° angle and the y-axis is up/down, x-axis is left/right, and ...
0
votes
2answers
96 views

How can I optimize the size of my .apk?

I noticed that the Flappy Bird .apk is only around 900 KB. I'd like to know how I can achieve a similar optimization in .apk file size for my own games, which use Unity. A small single-scene game ...
0
votes
1answer
20 views

cocos2dx: Your RunningScene != Scene You just Replace

I have this code for cocos2d-x 3.x: void MainMenu::StartGame(cocos2d::Ref* pSender) { auto director = Director::getInstance(); auto newScene = Scene::create(); ...
0
votes
0answers
29 views

OpenGL ES respecting alpha for background but not for objects

I have a problem with the alpha of my game, maybe it is solved in another post but as I am new in OpenGl and Game developemnt I dont understand most of the vocabulary and cant find a solution. The ...
1
vote
0answers
69 views

How to read neighbor pixels in GLSL?

I'm using SFML 2.1, it's much more straightforward for me so I can jump directly to learning the shading language. I'm trying to do something similar to conway's game of life. I already learned that ...
1
vote
2answers
100 views

How do I choose an optimal texture size for a mobile Unity game?

I am developing a 2D game with Unity2D for Android, iOS, WebPlayer and maybe for desktop computers. I think the working resolution of my game is 1280*800. How do I choose the optimal size of ...
-2
votes
0answers
23 views

Libgdx how Coverflow animation [closed]

Please see this link and suggest me how to make this animation in libgdx.. http://code4app.net/ios/Infinite-Scroll-Picker/51ecb20a6803fa7b31000000 Suggest me any idea ya link. I don't know how to ...
0
votes
2answers
40 views

Getting a color value from a coord

My goal is to get a RGB value of a pixel based of off a X,Y coordinate. I have been working on AIs for a small project attempting to make a bot that can pass through a maze. I want to get the pixel ...
0
votes
0answers
32 views

Game Development Books [duplicate]

I am looking to expand my C# knowledge and am looking into a fun, long term project to help expand my knowledge. I've been studying programming for about a year, but I would still consider myself a ...
0
votes
0answers
23 views

How to create a raster tiff (dem / heightmap) from a mesh of xyz points? [on hold]

I have to create a terrain heightmap from mesh of xyz points(in geographical coordinates), I tried taking min and max of bbox of mesh and making width & height by subtracting max-min and then ...
-3
votes
0answers
36 views

How do I procedurally generate content? [duplicate]

I really need help with this I am completely new to this type of thing so I will take anything whether it's a program, or a book, or even an article I don't care just please help me.
0
votes
0answers
11 views

Configuring eclipse exporting - export res folder into jar's /res [migrated]

NOTE: I use new File(...) instead of getResourceAsStream(...) so i can then easily make it to Slick's Texture class. I'm having a trouble with exporting my resources folder in eclipse. This is my ...
0
votes
2answers
37 views

How can I change the value of a matrix uniform in an OpenGL vertex shader?

I'm new at OpenGL. I have a uniform transform matrix in a vertex shader file. I want to modify the matrix by individually assigning each values in the matrix. How can I do that in C++? I learned that ...
0
votes
1answer
51 views

Lookrotation of a gameObject in just one axis

So I am trying to orient a gameObject ( house in the picture below) which is nothing but a plane and has a 2d texture on it as you see below. The whole game is made on a hex sphere. I am using ...
0
votes
0answers
36 views

Relative Transformations for Bones

I'm using Blender to export my armatures in relative coordinates, and I'm trying to get to absolute coordinates in my engine. For the above example, the childBone's tip is an offset of [-1,0,0], ...
2
votes
1answer
53 views

How can I get the instantaneous volume level of a sound at a particular playback point?

How can I go about getting the current volume output of an audio file in libGDX? By that I mean of the actual file at its current play position. Essentially I want to write my own version of a plugin ...
0
votes
1answer
41 views

How to write a unity script to observe the position of a game object (during scene creation)

I want to write a simple Unity script to be notified when a game object is moved, during the creation of the scene. More precisly, I want to write a Unity script that can recognize when the user ...

15 30 50 per page