All Questions
0
votes
0answers
2 views
Logical Dependencie Problem
I have a small logical problem. I am working with unity and C#, but my Problem is a more general programming problem. I am trying to keep things easy, but still make them global access able and easy ...
0
votes
0answers
3 views
How to get `Label::createWithTTF` to support RTL languages such as arabic
Firstly, I'm using Cocos2d-x v3.6, Visual Studio 2013 uses(UTF-8 without signature option) and C++.
When using Label::createWithTTF method to write Arabic text, It appear like the following.
...
0
votes
0answers
8 views
To integrate game sdk's in my application [on hold]
Is there any Sdk which provides result as points to the user?
0
votes
0answers
5 views
how to normalize speed(frame rate) of thread in different phones
I have been doing some work on surfaceview class in android. there i have used "thread.sleep(50)" in my run method.But the game runs faster on some phones and slower on others.What can i do to ...
1
vote
1answer
12 views
Fastest way to render image data from buffer
Currently I am doing my rendering by using a 3D array window_width x window_height x rgb as a buffer, then looping through the buffer and plotting pixels on screen using SDL2 (SDL_RenderDrawPoint). I ...
1
vote
1answer
14 views
My .OBJ Model Loader doesn't seem to output the right scanned data of cube.obj?
I can't access why and how this code is not outputing the right results and if this is the best way to .obj file parsing with c++ since ".c_str()"?
So far it gets the filename and opens it up with ...
0
votes
0answers
3 views
Creating VR Headset Video
So I have a video stream of known resolution and I have a VR headset via HDMI at a known resolution.
Is there an existing library to create the slight fisheye and side-by-side layout for these ...
0
votes
1answer
7 views
Resources.Load doesn't grab values of my child class
I have a parent class Unit, and child classes melee unit/ranged unit. The parent class holds uninitialized fields such as health, damage, etc. the child class sets the values of these fields in an ...
1
vote
0answers
13 views
Client interpolation for 100% serverside game
I'm developing an online browser MMO 2d war game.
And I'm having some issues with the interpolation. The server sends updated positions to the clients every 90 ms.
I've managed to make it smooth, ...
-1
votes
0answers
24 views
C# or JAVA for game development? [on hold]
What is the best current language to develop games? Which facilitates more? (The c # is not cross-platform)
0
votes
0answers
4 views
Libgdx : how to attach actor to a rotated group
I have a group actor with a circle image .png and then I spread small circles around surface of this group, I mean circle on angle 0 and circle on angle 60 and so on using the math equation:
...
0
votes
0answers
10 views
Embed GLSL materials shaders in game asset file? [on hold]
With the exception of Collada, does a game assets file format able to embed GLSL material shaders exist?
Formats able to embark comments or other metadata can obviously do so, but I'm more interested ...
0
votes
0answers
9 views
What are the different cross-platform libraries for hand tracking for Kinect or Leap Motion? [on hold]
I need to compare all libraries that allows hand tracking on Kinect or Leap Motion.
If you have some advices about those libraries you are welcome, I'm going to chose one of them.
0
votes
0answers
13 views
How to draw my android Hexagons in a grid?
I am trying to create a hexagon grid using the Android ’Canvas’ package. I have a working
’Hexagon’ class that when used in a view will draw a single hexagon on screen. The problem
is that I need many ...
1
vote
1answer
17 views
Looking for an easing equation
I am looking for an easing equation with the following properties:
It starts at a velocity of zero, and eases into a constant velocity of 1 for a duration of t_1 seconds (cubic, exp, or quintic, ...
1
vote
0answers
14 views
Event-/Input system with SFML: Cannot move hroizontally in 2D
I am a beginner in anything with game development. I written a small prototype in which i can move a square around with the arrow keys. For that i use SFML.
At the moment i experiment around with my ...
0
votes
0answers
21 views
Unity: Parsing a string the user enters into a mathematical equation to be manipulated? [on hold]
If I get a string from an input field, and ask the player to input an equation (something of the form "y(t) = 2t^2 - cos(t) + 2", how can I do things with that -- for example, take it and ...
1
vote
0answers
10 views
Unity: Finding out where OnSelect comes from
The new UI EventSystem method OnSelect is called from a number of different sources. One is when the Selectable is selected by using the arrow keys to navigate. Another is when clicking on the ...
0
votes
0answers
14 views
Kryonet with multiple clients overhead server, how to deal with this?
I'm developing a server-client multiplayer game using Kryonet and libGDX. My server contains 100 entities and sends updates at 20 packets per second to clients using udp. Each packet contains the 100 ...
0
votes
1answer
32 views
LibGDX obstacle collision
How can I handle collisions with obstacles in LibGDX?
Is there any automatic way to stop the character's movement when it collides with a wall or I have to constantly poll for all the possible ...
1
vote
0answers
14 views
How do I Sync data from client to server?
I'm trying to Sync data from the client to the server using the new Unity Networking, and I'm failing for some reason.
I've set up a prefab with a NetworkIdentity component with the attribute Local ...
-2
votes
0answers
22 views
Possible copyright infringement [on hold]
Good afternoon,
We are Ceerk.games an italian indie team composed by 5 persons and we are developing a tycoon management videogame based on the history of the recording industry from the 1940's till ...
-3
votes
0answers
8 views
Minecraft forge chat filter using LuaCraft forge binding [on hold]
I want to do a really simple thing:
When somebody sends a chat message, do not send it to everybody. Instead, process it, like when I type in "tree" on Build-it servers, it won't send it if it's the ...
1
vote
0answers
9 views
Orientation of SKNode in followPath Swift
I'm developing a game like price wheel where I need to touch the correct answer. For now I find replies where people says:
Set yScale of SKNode to -1.
Or
Set xScale of SKSpriteNode to xScale ...
1
vote
1answer
20 views
SFML Library Not Rendering Sprite Texture Updates When Accessing Sprite From Lower In Framework Heirarchy
So currently I am working on a framework for a game utilising the SFML graphics library and in one of the classes representing a renderable object in the framework there is an sf::Sprite that is used ...
-1
votes
0answers
39 views
What is the easiest way to make 3D game without using game engine? [on hold]
The title is self-explanatory.
There's a application competition where is a condition that I mustn't use any game engine.
It looks like I could use programming libraries like Allegro ...
-1
votes
0answers
17 views
My first android 2d Game [on hold]
I need to do a 2d game using Android and it is quite similar to chess but with a little difference in number of pieces and movements. I just need some basic tips and how to start with android gaming ...
1
vote
1answer
176 views
Word in different color in middle of string XNA
Is it possible to use different font colors for the same string, for example, when buying a weapon in CoD AW Exo Zombies:
How do I do this?
Thanks.
-3
votes
0answers
32 views
Is there any existing gaming sdks available to integrate in my application? [on hold]
I want to integrate game in my application. so i need game sdk which is available for free. The game which is like earning points or coins or money. I can use that points for further.
So i am ...
1
vote
1answer
22 views
LibGDX - Rendering things in different classes
thanks for your time!
I'm really new to LibGDX (and Java itself).
Which approach should I use to render my different game parts?
I want to show a background, the main character, a bunch of enemies ...
1
vote
1answer
27 views
Should frame update and network packet sending synchronous or asynchronous?
I am making a game server that has 60FPS update (assume I can most of the time achieve it). In the current model, my main loop does the following tasks in sequence:
Update game logics (position, ...
4
votes
1answer
53 views
Convert large range of numbers to a smaller scale
What is a good formula to use in order to relate two different scale distances to each other? For example, I have a camera that can have a minimum size of 2 and a maximum of 10. I would like the ...
1
vote
1answer
13 views
How to iterate a sprite group correctly in Pygame avoiding “maximum recursion depth exceeded”?
I'm making a game and I have almost finished it, but I'm usually finding the error RuntimeError: maximum recursion depth exceeded when I iterate a sprite group.
This is an example and the group is ...
2
votes
0answers
27 views
Opengl Skybox Texturing Error
I'm using cubemaps to render a skybox in my game. Thinking this would be a simple task I threw some stuff together using the tutorials I found online, particularly this. Taking all of this together, ...
1
vote
1answer
30 views
How to create gui image with script
So I've been fiddling around with the new UI system recently -- and one problem I have is adding images of my sprites to the ui.
I know I can create a prefab of an image gameobject with the sprite ...
2
votes
1answer
15 views
GetButtonDown for Unity keyboard UI navigation?
By default, Unity's keyboard navigation for buttons seems to check for GetButton rather than GetButtonDown--if a menu has 5 items and I hold the down arrow, it'll scroll very quickly to the bottom.
...
1
vote
0answers
18 views
Vertex Array Messed UV Map
I tried to export my 3D models to MS3D ASCII file format and re-written the model parser. When I render it, the result still the same. I've read somewhere that I need to match the uv location with the ...
1
vote
1answer
30 views
2D Camera sizing and movement
Apologies if this is a basic question, or been asked a 1,000 times in the past...
I'm new to Unity, and having problems understanding some of the basics to do with 2D cameras (orthographic), and ...
0
votes
1answer
29 views
2D Collision response - rotating, moving polygon hitting a wall
I'm trying to bounce a polygon that has both velocity and angular velocity off a (immovable) wall when one of the vertices collides with it. I can detect the collision, and I've worked out how to ...
-4
votes
0answers
29 views
Architecture of a game engine [on hold]
Right now I am trying to make a game engine and I want a better understanding of the architecture of a standard game engine. Visuals would be great and any articles would work as well. Thanks.
1
vote
1answer
47 views
Keyboard input vs character movement encapsulation
In our game created with c++ and sdl we are having difficulty delegating how the main character should be controlled. We have a keyboard class and a sprite class for the main character, but are ...
0
votes
0answers
35 views
Grid Based AI Pathfinding
I'm creating a top-down RPG and I have the movement system set up for the player character - it is alike to Pokemon in the movement sense in that it looks smooth but it is aligned to a grid. Since I ...
1
vote
0answers
17 views
Unity: OnGUI streamlining
so like most games, I have inventory screens, equip screens, shop screens, and all that. I've previously been making each "screen" controlled by its own script (which is normal I think), and I draw ...
2
votes
1answer
23 views
Platformer Collision in javascript
Hi im making a platformer in javascript and this is the collision function that I have
if(obj2.y > obj1.y + obj1.height ||
obj2.y + obj2.height < obj1.y||
obj2.x > obj1.x + obj1.width ...
2
votes
1answer
32 views
Short distances from reference point
I would like to compute short distance from reference point in 2d grid. To expose:
0, 0: not penetrable
0, 1: not penetrable
...
1, 1: penetrable
...
I search an algorithm who return:
1, 1: 1
...
0
votes
0answers
12 views
Using Cocos2dx with Android Studio
Has anyone got Android Studio to work with Android Studio? I can get the generated project to work with proj.android, and add the NDK path to local.properties but I can't get it to rebuild after I ...
2
votes
1answer
36 views
Looking for specific “textured quad” openGL tutorial in c++
I'm new to openGL and I've been googling around for the old and simple textured quad tutorial in openGL but I haven't been able to find one that suits my needs.
OpenGL3.X compatible
OpenGL|ES 2.0 ...
1
vote
0answers
14 views
Javascript 2D top down handling player direction graphics
In my top down game I can move the character around and the character will even face the direction he is moving however there is some weird behavior I'm having when you hold down one direction and ...
2
votes
1answer
34 views
Separate rotation transform from parent
I have a hierarchy like this
Body
- Head
- Arms
Currently this works fine in that the Body's transformation is reacting as it should. Being children, the Head and Arms match the Body's ...
6
votes
1answer
110 views
What is the difference between Djikstra and flow fields?
I understand flow field pathfinding (as illustrated in recent Gas Powered Games titles) consists of 1) computing a vector field covering the map for a given destination, 2) deriving unit directions ...