0
votes
0answers
26 views

Asking for material to research about game networking and how to create multiplayer games over a network [closed]

I'm researching about game networking and how to create multiplayer games over a network (local and wide ones), particularly, but not exclusively, with Unity. I found two collections of articles that ...
0
votes
1answer
23 views

Unity3d : Make prefab follow raycast hit

I've been trying to make a weapon script which fires a projectile (prefab) straight forward.I added to the bullet the first script shown here.And the second one to the main camera.The problem is that ...
0
votes
1answer
17 views

libgdx custom shape overlap detecting

I'm writing my game on libgdx w/o any of those extensions like box2d and whatsoever. But right now I'm forcing problem with overlapping detection. I need to detect if bullet (which is always in ...
-2
votes
0answers
21 views

Mobile Games Programation - Tutorials? [closed]

I am now noob to the programmation world but I never had any experience with xCode (iPhone code) or C++ (Android), but I have a Java basic knowledge that can help me a lot. My objective is to learn ...
0
votes
1answer
24 views

GUI Label shows on screen when object is out of view?

I have GUI Labels over NPCs in my game, and the labels display their name above their head. But when I walk away and go somewhere else, their names stay on screen like it's mirrored or something? ...
0
votes
1answer
24 views

Optimizing Draw calls in MonoGame Android platformer

I am working on a 2D platformer that is in the final stages of optimization. I have a few different devices for testing, and I am trying to get the best possible framerate on the weaker ones. On a ...
4
votes
2answers
266 views

Can I use an AI engine written in C++ in my Unity game? If yes, how can I do this?

I am studying some chess and others AI algorithms and the majority of these implementations are made in C and C++, my question is, if I make a chess board and all the graphic thing in Unity, can I ...
0
votes
1answer
25 views

How can I make an soundsystem with slick?

My Question would be , how can I develop an easy-to-use Soundsystem under slick-util? Under the function a.playAsSoundEffect(1, 1, true, x, y, z); it allready works to create a static ...
2
votes
2answers
398 views

Pure OpenGL software rendering

For training a machine learning algorithm, we need to render some geometry in OpenGL without any hardware rendering support (no graphics card). So we were thinking of rendering in pure software, and ...
4
votes
1answer
112 views

cost of texture change vs color change

How would I go about determining the difference in cost between changing the render color of an object every frame vice changing the texture (same sheet, just changing the source rectangle) every ...
0
votes
0answers
21 views

Should I use the Spring framework in libgdx [closed]

I started by creating a game with Java2D and I was using spring (partly just as I wanted to get better at using spring for work). Now I'm switching to libGDX and my question is, should I ditch spring ...
-6
votes
1answer
69 views

I want to show dialog in my Flappy Bird clone game [closed]

I have android Flappy Bird game . Now after game finishes i want to show an image in dialog box i dont know how to show dialog box as i dont have any activity. Would appreciate if anyone help me with ...
0
votes
0answers
46 views

Using Tiled (tile maps) for creating just parts of the game

I am creating an endless scrolling 2D orthogonal side scrolling game. But I am having an issue : In my game I want certain buildings to be there of random widths and height. Now the buildings are not ...
0
votes
0answers
72 views

Picking tiles in an isometric diamond map

I am rendering a isometric map with the following code: for(var x = 0; x < MAP_WIDTH; x++) { this.map[x] = []; for (var y = 0; y < MAP_HEIGHT; y++) { var screenX = ...
0
votes
0answers
8 views

NSuserDefault with Uibutton [closed]

How to store Uibutton in NSuserDefault or Which properties required to save in NSuserdefault so that the Uibutton recreate ??
0
votes
1answer
53 views

Move a sphere along the swipe?

I am trying to get a sphere curl based on the swipe. I know this has been asked many times, but still it's yearning to be answered. I have managed to add force on the direction of the swipe and it ...
0
votes
1answer
40 views

Can I directly pass a Boost ptr_vector list to glBufferData?

I have a data structure like this: typedef struct vertex_ { float x; float y; float z; float s; float t; }vertex; Then I add to a list called: boost::ptr_vector<vector> vertices; Is there a ...
0
votes
1answer
102 views

Automatic Movement

I am making my very first GAME in Unity 2d. At the moment my game consists of 2 walls a floor, a ceiling, and a square which represents the character. After watching some tutorials I have created a C# ...
0
votes
2answers
87 views

How big should my tiles be for tilemaps?

I'm creating my first tilemaps. Tutorials usually do 32x32px (example), but this tutorial did 128x128px, which made it easier for me to see without zooming in so much. In tiled, I did a 40 x 40 tile ...
0
votes
1answer
70 views

OpenGL render to texture causing edge artifacts

This is my first post here so any help would be massively appreciated :) I'm using C++ with SDL and OpenGL 3.3 When rendering directly to screen I get the following result And when I render to ...
2
votes
1answer
105 views

Rearranging array for memory efficiency

This is a question about a passage from this article: I suggest having every game object exist within a single giant array. This keeps game objects together in memory, and even though deletion ...
1
vote
0answers
25 views

What are options for cross plaform peer to peer? [closed]

I'm looking for Windows 7/8, Android, iOS and possibly Windows Phone support I've looked at: libjingle. It holds promise, but looks complex to integrate and doesn't seem to offer Windows Phone ...
0
votes
2answers
67 views

Defensive statistic mechanics

There are many systems where attack statistics are opposed by defense statistics: Strict: HP -= (damage - defense) Threshold: HP -= (damage>defense? damage : 0) Reciprocal: HP -= (damage / defense) ...
0
votes
2answers
45 views

Bridge made out of blocks at an angle

I'm having a bit of trouble with the math behind my project. I want the player to be able to select 2 points (vectors). With these 2 points a floor should be created. When these points are parallel to ...
0
votes
1answer
35 views

Transparent texture over colored polygon?

Let's say I have a cube with each face having a different colour. I want them all to look like brick walls, but I don't want to have to recreate the same brick texture for every colour. Is it ...
0
votes
0answers
26 views

CocoStudio + cocos2dx 3.2 correct way to import animation?

After many frustrating hours I came to the conclusion that there is no valid way to implement a cocostudio animation, as CCArmature is deprecated and didnt work for me anyway. CocoStudio.h and ...
-1
votes
0answers
21 views

Bukkit Config NullPointer [closed]

0 down vote favorite I am making a bukkit plugin that uses a config to store data, but when I use plugin.getConfig() I get a NullPointer. I think is it because of the reference to plugin, but how can ...
4
votes
1answer
113 views

map/world “decorator” algorithms/patterns

I've spent a lot of time working with perlin/simplex noise for different styles of map gen, but I'm having a hard time finding advice/resources on how to populate the map with "world decor" that have ...
-1
votes
0answers
54 views

Projectile motion based off angle

I was using this code to hit an object that is moving horizontally(from right to left) and player on the left is throwing bullets to hit the object.But, what I am finding difficult is projectile ...
2
votes
3answers
253 views

“CVar system” - are CVar always looked up or cached?

Many famous game such as Quake or Half-Life use CVars to allow easy and flexible game parameter manipulations. You can simply open up the console and write something like sv_cheats 1 to enable ...
0
votes
0answers
18 views

Access public field of other module in unity [migrated]

I'm trying to read a field from another class library(mod) for Kerbal Space Program. I cannot directly access the field since the compiler is not aware of it and it is of a different namespace. ...
-1
votes
0answers
42 views

How to create my own word factory? [closed]

I need your help to know how to create word factory game using libGDX. We tried to make it in game maker but we can't understand how to use it. This game will be our thesis this year so,can you help ...
0
votes
1answer
51 views

Sources to learn OpenGL [closed]

I really wish to learn OpenGL, but all I have is a very old laptop. It supports OpenGL 1.2 version only. I tried learning through books but trying out the programs are next to impossible, since none ...
2
votes
2answers
104 views

Render with multiple lights (one pass per light)

I have already a system that at the moment handle multiple lights just passing an array of light struct and loop through it. I had been told to switch to a multipass rendering approach. How should I ...
0
votes
1answer
40 views

Taking fixed direction on hemisphere and project to normal (openGL)

I am trying to perform sampling using hemisphere around a surface normal. I want to experiment with fixed directions (and maybe jitter slightly between frames). So I have those directions: vec3 ...
0
votes
0answers
21 views

Same leaderboard for free and pro version

I have design a leaderboard for my game using google play game services. I have design a free version of game with ads in it, now i want to have a pro version which is ad free but i am confuse is it ...
1
vote
2answers
29 views

Add Objects in LWJGL without using glTranslationf function

It is possible to add an object in LWJGL without using translation function (glTranslatef) ? and if it is possible does this improve somehow performance ?
0
votes
0answers
90 views

How do I structure my models for 3D animation?

I have a question about implementing a 3D animation system in my engine. The following is how I am attempting to model the render / animation systems. (Note: I am using Haskell for the pseudo-code ...
0
votes
0answers
20 views

unity button for 2d missing [closed]

I have read online that to create a 2d project in Unity, all you have to do is say New Project, and click the checkbox at the bottom. When I do this, there is no checkbox. What am I doing wrong? ...
-1
votes
0answers
34 views

How does League Replays work? [closed]

How does League Replays record full League games using such little CPU? Please don't shy away from the technical details! :)
0
votes
0answers
21 views

Issue setting a MonoGame project from scratch on linux [closed]

I'm using monodevelop 5.1, along with MonoGame 3.2. This is all in Ubuntu 14.04. Since I wasn't able to add the MonoGame template to monodevelop (maybe because my mono runtime has been compiled from ...
0
votes
1answer
46 views

Help finding time of collision

I am making a simple game right now and am struggling with collision response. My goal is to someday be able to turn it into a 2D platformer but I have a long way to go. I am currently making this in ...
1
vote
1answer
34 views

Spritekit - gradually apply force vector in different direction (space ship turning)

I have a space ship that I'm applying a force vector to using a joystick for control. I would like this to smoothly fly around when I'm switching directions.. Exactly like minisquadron if you've ...
0
votes
0answers
47 views

where to start game programming? [closed]

i am new to this site, i don't know what tag should i use fo this question!! so sorry if it's not relevant.i couldn't find a suitable tag for this question. i am a student of computer science.i am ...
0
votes
0answers
22 views

Only 1 character prints in LibGDX

I'm creating a simple menu in LibGDX and following a Stage/Table approach. I have a header, and a TextButton. Both have some text to them, but both only show 1 character. For example, the header ...
0
votes
0answers
16 views

Qt OpenGL shader errors [closed]

I get the following error after compiling a Qt-OpenGL project: bool QGLShaderPrivate::create(): Could not create shader of type 1. Vertex shader for simpleShaderProg (MainVertexShader & ...
2
votes
1answer
70 views

Giving one controler button two functions

I'm currently working on a game that allows the player to do some different actions. Dodge (X button) Attack (A button) Use Item (Y Button) Block (BButton) I would like to be able to use the "Y" ...
0
votes
2answers
98 views

c++ OpenGL framerate question

I am writing a simple 3D pacman using c++ and OpenGL. I'm new in OpenGL development, I wanted to make a small project before learning next concepts. For now I can't have more than 55fps when ...
3
votes
1answer
158 views

“Pixel-perfect” camera positioning in 2d game

I am writing a 2d game using LibGDX. The view to the game world is top-down. The game shows a grid of lines, which looks nice when the camera is at its initial position (0,0). The problem is now that ...
0
votes
3answers
88 views

Is OpenGl still supported in C?

I'm reading the OpenGl superbible 3th edition (well I plan to) and it's all in C. Since this book was written in 2004 and all the other later versions are written in C++, i was wondering whether or ...

15 30 50 per page