All Questions
0
votes
0answers
2 views
No sound in android using phaser
I have developed a simple game using phaser
its work perfect on ios webkit
but on android there is no sound
is there any way to resolve it
we are using this code to load audio in phaser
...
0
votes
2answers
9 views
Suggestion for icon for level “experience”?
I have trouble coming up with an icon for "experience." Strength (sword), defense (shield), money (coins) all easy.
What do people use for Exp? I came up with brain (eww) and lightbulb (doesn't fit ...
0
votes
0answers
15 views
Directx scaling problem
I recently attempted to add scaling to my code:
cBuffer.Final = matScale * matRotate * matTranslation * matView * matProjection;
cBuffer.Rotation = matScale * matRotate * matTranslation;
(ignore ...
0
votes
0answers
13 views
Good game engines for Modelling Human Animation [on hold]
I need to develop a human animation system application. I thought of using some game engine. Need one
Free Software
Easy to develop human animation System
Thought of using blender. But found that ...
0
votes
0answers
2 views
Showing keyboard on SKScene and performing action on a sprite node based on key tapped
I am trying to learn SpriteKit and play with some simple sample apps.
Currently I am trying to achieve below things:
Show keyboard over SKScene
If user taps 'A', perform some action on a sprite ...
1
vote
0answers
8 views
XNA/MonoGame/SharpDX: Pixel shader with sprite sheet
I've searched around for two days now on the internet but cannot find a solution. I've also read up on Pixel Shaders on MSDN with no luck.
I'm trying to apply a simple pixel shader to a sprite batch ...
0
votes
0answers
15 views
XNA: Working with primitives and tessellation
I was working with primitives in XNA (since I have limited knowledge with 3D and modelling), and I have 3 similar questions below:
Question 1
I was reading up on terrain tessellation in an article ...
1
vote
2answers
32 views
Fastest way to assign sprites to components in Unity
I'm using a sprite atlas and Unity's built-in sprite editor to tease out the individual images. Specifically, I have a single texture containing lots and lots of icons for armor, and I am assigning ...
-1
votes
0answers
17 views
What is the minimal lag a 2 player online iphone game might have? [on hold]
Suppose you make a simple 2 player iphone game like this:
Player 1's phone is the game server. It sends info about the game state to Player 2's phone, and receives Player 2's inputs.
Player 1 has a ...
0
votes
0answers
30 views
How much CPU should a Game UI consume? [on hold]
I am developing a SpritKit game for iOS and mix UIKit with SpriteKit which is working very fine. To make the UI blend seamlessly with my game content I am using UIVisualEffectView - which is indeed ...
-1
votes
0answers
12 views
Setting up source paths in Flash Builder 4.6
I am working my way through Rex Van Der Spuy's Advanced ED Game design with Flash text and have gotten stuck before I have even gotten started. After downloading the Source files from the Apress ...
0
votes
0answers
21 views
Render text on a Quad
I have created a quad with a single color that's rendered on screen as a square, which is fine.
I want to add some text to it (or slightly in front of it) that says "Hello". It sounds from reading ...
0
votes
1answer
45 views
Entity Component System: Store pointer in Component to Entity
I was wondering if it is a bad idea to store a pointer in every Component to the Entity which owns the Component.
E.g. I have a Component "NPC". Each entity which owns this Component also must have ...
0
votes
0answers
20 views
Trying to figure out why models aren't visible. [XNA / Monogame] [on hold]
I'm creating a 3D game using monogame and the leap motion and have been having trouble getting my models to draw on the screen. Here's the code for the Camera, bullet, and target classes I see that ...
0
votes
0answers
10 views
Support tools for game developing to use with LibGDX [on hold]
I'm starting to develop a 2D video-game and I choose LibGDX as game engine.
It will be an android game, but later I think that I will use other platform too.
I started to read some tutorials and till ...
-1
votes
0answers
39 views
Best language for 2D Games? [on hold]
I am not new in programming, can easy understand the syntax.
I am looking for a new EASY Language.
What Language is EASY with nice Game Engines?
Reason for Easy: I want it as a hobby language that i ...
0
votes
0answers
18 views
How to market a trivia game? [on hold]
We are building a Trivia Game
Its the first time we build a game, ever... and we have no clue how to market it.
Note: Without using ads if possible.
3
votes
2answers
376 views
Algorithm to verify if a shape is inside another
I have a rectangular canvas and I need to verify whether a shape is totally inside that canvas or not. The shape can be lines, ellipses, arcs, rectangles and arbitrary polygons.
Does anyone know a ...
-1
votes
0answers
32 views
initialize & than only allocate only fixed memory render in C++? HOW? [on hold]
Is it possible to program like initialize graphics memory as prior that if particular amount of memory available to render 3d/2d game scene or not & than only render only those things according to ...
-2
votes
0answers
40 views
For what type of tutorial should i give my money for? [on hold]
i am starting with game development, and there are a lot of tutorials out there.
I want to learn some coding before starting some engine. My game will be RPG, with turn based battles, so suggestion on ...
1
vote
1answer
85 views
How to save a Unity prefab on file?
I'm working on a Unity project, and what I'm doing is creating a new scene. In my new scene, I want add some prefabs that there aren't in the project folders, but I can see them in another scene.
So ...
-1
votes
1answer
21 views
How do you install Gradle in NetBeans so as to use LibGDX [on hold]
I'm following a tutorial for setting up LibGDX for use with NetBeans.
Link to tutorial: ...
0
votes
2answers
24 views
How to move an object uniformly from one point to another at a fixed angle? [duplicate]
In my 2d java game, I need to move Point objects (as projectiles) from Enemy object to Player object in a straight line. I did some research and found out that I can use atan2(x, y) method of Math ...
1
vote
0answers
19 views
Tiled map editor with support for Cavalier Oblique projection [on hold]
I am looking for a utility such as Tiled (Map Editor) however one with either the ability to implement custom projection algorithms or at least support for the Cavalier Oblique projection.
I have ...
0
votes
0answers
20 views
Google turn based multiplayer automatch criteria
I've set up a multiplayer game using Google's turn-based API. I now want to put some qualifiers on auto-matching and am racking my brain on how to solve this issue...
I'm using GetVariant() to ...
0
votes
1answer
37 views
Accelerometer issue
I'm developing a Car Racing Game. I want to control my car with both Touch Input and Accelerometer. Touch Input is working fine, but i have problem with Accelerometer.
I used below Script from Script ...
1
vote
1answer
33 views
Weird GLM perspective problems with my 2D Game
I am trying to create the graphics system of a 2D game using OpenGL 3.3.
To help me in this task I am using the GLM math libraries.
However I am having some trouble. When my objects (for now they ...
0
votes
1answer
45 views
Multiplayer and creeps (NPC enemies): how to compute bullet hits given the lag?
We are making a multiplayer co-op game, where players will shoot not each other but AI enemies (creeps), controlled by the game. The chosen implementation is client-server with an authoritative ...
1
vote
1answer
20 views
(Three.js) - What object3D properties are required to make rayCaster.intersectObjects() work?
FYI, i am trying to do something almost identical to the following:
Merging geometry/mesh without losing benefits
I essentially have a list of Three.object3D's. These objects are "merged" together ...
-1
votes
0answers
48 views
Elite-on the NES [on hold]
I'm not from a programming background, i am from a 3D animation back ground and i like to know how things work. So now onto my question, the 3D wireframe game Elite, there is a version for it for the ...
0
votes
1answer
91 views
Finding a vector perpendicular to a current vector
Assume, that we have a player that has a vector direction. We have an enemy, that is shooting a player. And the task is to find out from which side the enemy is shooting. I know the algorithm, how to ...
1
vote
1answer
42 views
Ground in AndEngine
I'm quite a newbie to AnEngine and I have a problem. I have been searching a lot, but I couldn't find answer. I'm trying to make my first game, but I have no idea how to make ground. I'd like to make ...
1
vote
1answer
18 views
texconv produces texture with same size using BC1 or BC4
According to msdn, the BC1 block compression format is for images with 3 color channels and 1 bit alpha channel and the BC4 is for images with 1 color channel and no alpha.
Using the same RGBA input ...
2
votes
0answers
35 views
Transparent diffuse fails to render from all viewing angles
I'm rendering this chunk as a Unity mesh and I have just one material (with alpha) which is applied over all the mesh.
Everything in the chunk is automatically generated at runtime, so it's not ...
-1
votes
0answers
22 views
How to calculate the width of text on screen? [on hold]
In my game I have a dynamic text_box named score_text and behind it I have a movie clip named score_bg. When the score increases the width of the movie clip increases to fit the score. Now the problem ...
-1
votes
0answers
89 views
How to learn C++ from a game development perspective? [on hold]
I already know pretty much C++. I want to relearn C++ because I want to be a hardcore game developer. Which C++ topics should I give emphasis to? Which books should I read? which libraries should I ...
1
vote
1answer
78 views
When Libgdx says “for Desktop”, do they mean native executables?
I want to clarify whether the Java Framework "LibGDX" can be used to compile games to native executables. The description/strap-line says "Desktop/Android/HTML5/iOS Java game development framework".
...
1
vote
2answers
92 views
How can rotate a 2D textured quad in legacy OpenGL immediate mode?
I have a texture of a tank, and I want to it appearance on the screen depends on its current direction, so I decided to use rotating texture functions of OpenGL. I followed some advices through Google ...
2
votes
0answers
23 views
Lidgren peer to peer
I am currently integrating Lidgren into my Unity game. I need to move away from the built in networking capability in Unity because of the style of game I am making, basically MMO, I will have far too ...
-1
votes
1answer
28 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 ...
2
votes
2answers
63 views
How can I make an object move in four directions relative to its rotation?
I want to make a game object move in directions relative to the direction is facing.
That is, If the user presses the "W" key the object goes "forward" if its presses "D" the object goes to its left. ...
-1
votes
2answers
114 views
What does a C++ expert need to know? [on hold]
so the other day I was looking for jobs in the gaming industry (software engineer/game programmer/gameplay programmer, etc) just to get a look at what are some of the requirements. Most of these jobs ...
2
votes
1answer
88 views
Implementing one-way platforms in Chipmunk
I am making game in cocos2d-x, but it's the first time I am using a physics engine i.e. Chipmunk. (It's built-in to cocos2d-x.)
I want to make a one-way platform: When my character jumps into a ...
0
votes
0answers
25 views
How to take process snapshot for running DirectX programs? [on hold]
Mabye it is more appropriate to post here than StackOverflow. This same question is there.
Is it possible to take a complete restorable snapshot of a running or suspended DirectX program while NOT ...
-4
votes
0answers
38 views
For Loop Issues [on hold]
I'm using 3 for loops to loop through an array in order to set a position of an enemy. When I set a breakpoint, all items have the same position and I dont know why
for(int i = 0; i < ...
0
votes
0answers
22 views
360-degree rotation/movement inside a tube [duplicate]
I'm trying to implement in UE4 the same gameplay mechanic Ballistics had:
https://www.youtube.com/watch?v=UaJiPpLzbNg
Working with splines doesn't quite cut it, because they have to be done ...
-1
votes
0answers
54 views
Are games like FIFA mostly animations? [on hold]
Is this generally a set of animations, when they pass the ball for example, it's the same process every time, would all the different passes/running be pre made animations done in something like Maya ...
3
votes
1answer
74 views
How are flow fields different from potential fields?
I've heard of of both flow fields and potential fields for pathfinding in games. They sound similar, but I never see them mentioned in the same contexts. Places that mention one never mention the ...
0
votes
0answers
35 views
hex grid on a sphere in unity [on hold]
I am designing a game on a turn based strategy game on a sphere using Unity. I want to use hex grids on my sphere and be able to place certain specific objects based on the type ( color ) of the grid ...
3
votes
0answers
75 views
Are there alternatives to multiple buffering? [duplicate]
I'm learning about game programming. So far, my sources lead me to believe that multiple buffering is the best technique for redrawing in OpenGL.
Are there other redrawing techniques? What are their ...