0
votes
0answers
1 views

What would be a good way to implement a large 2d map?

I'm thinking of a way to implement a large 2d map which can be easy to handle a certain area of the map to update. I've seen many 2d map using double array like int[][] gameMap = { {#,#,#,#,#}, ...
1
vote
1answer
17 views

Client Tells Server What Gamestate Data to Send Back

I'm just stepping into the world of MMORPGs and how they function, so assume I know very little. in a game, a client doesn't see everything that the server does. For example, the client can't see ...
0
votes
1answer
11 views

One Android app, dynamic load several Unity games

I'm a newbie in this unity world, exciting about everything in it. Days ago I came up with this idea: One day someone finds this android app, naming "Blahblah Game Engine" or anything else. He ...
0
votes
0answers
14 views

Message from server to display on HUD

I'm trying to get a message to display on my hud via the canvas.drawtext. I can get the message to display in the log, but need to know how to access it from the HUD. Below is my code(I've removed ...
0
votes
0answers
12 views

Blending two images with Directx 11

I want to blend two images. I have a brick wall and I want to subtract a grey scale. I do not want to do this in the pixel shader. This is what I want in the picture. My blend code is: ...
0
votes
2answers
22 views

Need some help with math steering behavior stopping on destination point

I have implemented a movement system based on steering behaviors: http://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732 where each object has vec2 position, ...
0
votes
0answers
5 views

Identity for google Play Game Service (GPG) for web and ios games

How Google Play Game Services (GPG) asks for user identity in non android devices? Will it ask for user to login into a google account for every game?
0
votes
1answer
23 views

Books about: Lockstep / Multiplayer RTS [on hold]

I am currently developing a multiplayer RTS, but am struggling with the lockstep idea regarding (calulating) movement of 100+ units. I have the basic lockstep framework and its functioning well, but ...
0
votes
0answers
10 views

Unity 5 bug with android splash screen

So I am using unity professional and I changed the splash screen. When my game starts there is a short stutter for 2-3 frames. I only captured 1 because I can't couldn't capture it. The image on the ...
0
votes
1answer
21 views

Unity 2D Prevent knockback effect from 2D Translation

I've just started looking into developing with Unity, and read through the tutorials and introductions. For my first project, I decided to try something simple - so a breakout clone. However, when the ...
0
votes
0answers
16 views

Press back again to close in unity?

I have already created a java code for press back again to exit in eclipse and its working perfect .....but I do not know how to integrate it with unity....between I have jar file and put inside of ...
0
votes
3answers
42 views

Getcomponent(), GameObject, and Component issues

I have been trying for over 2 hours now to get over these problems : I have 2 GameObjects in my hierarchy, but I do not have them anywhere in any script. I would very much like to add those 2 ...
1
vote
1answer
21 views

Render to Texture Using Multisampling

I have a DirectX11 application, which has multisampling / anti-aliasing enabled. However, I want to add an effect that requires a render-to-texture step. When I add this extra step, I lose all ...
0
votes
0answers
19 views

legality of certain game elements [duplicate]

I am considering working on a particular concept, that would involve use of terminology from the particular series and mini-game from which I gained inspiration. I am curious as to the potential legal ...
1
vote
1answer
44 views

Help with Resolving Pixel Perfect Collision

Hi I'm having trouble resolving "Collision detection between axis-aligned bounding box and bitmap (pixel perfect) terrain on a Worms type game". (Read previous question to find more information about ...
0
votes
0answers
18 views

Sub pixel movement need 1 transparent pixel on the edge to move smooth MonoGame/XNA

When I move a sprite slower that one pixel everything moves sub pixel except the edges here's a Video : https://www.youtube.com/watch?v=zcai1PUfzzA&feature=youtu.be I think it does this because it ...
0
votes
2answers
34 views

In a grid based system, where users can build their own walls to create buildings, how do you determine which parts are indoors? [duplicate]

I've looked around for an algorithm to solve this problem, but I can't seem to find anything. In a game I am working on, data is held in a grid. Certain squares within that grid can be set as walls, ...
0
votes
0answers
12 views

Using WebGL with SQL, databases and networking [on hold]

I'm part of a team working on a school project that requires a web app. We're using Unity, with either it's web player or webGL. We're currently researching our options and testing things out, and ...
2
votes
2answers
203 views

How do I efficiently send RTS unit selections over the network?

I have a multiplayer RTS game with every unit assigned an ID. How can I efficiently send across a network the units selected by a player? For example, Starcraft 2 has upwards of 200 units per player ...
0
votes
1answer
19 views

Which social network is better to use for an android game in Google play? [on hold]

I wanted to add social network for my android game which i want to publish on Google play. My general objectives are leaderboards, achievements, inviting friends, posting about the game in the social ...
0
votes
2answers
36 views

Delay in bullets

I made my character shoot but the amount of bullets he shoots is way too much. I'm trying to add a delay between bullets. I've tried this: int shootTime = System.currentTimeMllis(); public void ...
2
votes
0answers
36 views

Rotate object around fixed axis

I am trying to let the user of my app rotate a 3D object drawn in the center of the screen by dragging their finger on screen. A horizontal movement on screen means rotation around a fixed Y axis, and ...
-1
votes
0answers
16 views

How to change stages or LEVELS for Phaser game [duplicate]

From what I've seen in most of Rich's examples he uses this kind of approach to structuring his states. var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: ...
0
votes
0answers
22 views

How much can Instantiate slow down my game Unity [on hold]

I want to create a game like pang 3, so you have balls bouncing and you shoot them. Every time you hit a ball it will create two balls smaller than the ball that you hit, except when you hit the ...
-1
votes
1answer
15 views

Searching resources about designing mini games for slot machine [on hold]

Searching for resources where I can find any design information about slot machine mini games. I'm talking about those games which start when you have a set of special items on the reels. Are there ...
0
votes
1answer
29 views

Instantiating a prefab as a child to another game object (spawn point) - Unity 3D - C#

I am currently working on a 3d game in unity in C#. I've been following a series of tutorials on youtube (burgzerg arcade) for quite a while now, and i've came across the following error. This error ...
0
votes
0answers
38 views

Using Java as a scripting language for games - Performance and Portability [on hold]

I am writing my own 3D game engine in C++ and I am stuck on choosing the right scripting language for defining the game logic. I want to use Java as the scripting language but the performance and ...
0
votes
1answer
65 views

Is Minecraft component-based or does it have class for every block? [on hold]

I'm wondering if minecraft has class for every type of block or blocks are just IDs in code. EDIT And what about data like transparency, resisatnce, hardness, tool, etc? Are they hardcoded or stored ...
1
vote
0answers
22 views

Rendering text with SDL2 and OpenGL

I've been trying to have text rendering in my OpenGL scene using SDL2. The tutorial I came across is this one Rendering text I followed the same code, and I get text rendering fine. However the issue ...
0
votes
2answers
46 views

Is it possible to control what script is active on what sprite/object in Unity?

I have 2 objects, and I have a script which makes the player change their characteristics. I applied the script to both, and as you'd expect, pressing X button does the color, size, translation change ...
1
vote
0answers
23 views

Performance issues with different types of uniform buffer

I've tested different buffer layouts, because I'm confused about some performance issues. That are my test buffer (OpenGL 4.1, GLSL 410, GT 750M, MacBook Pro): Test #1: Using fixed struct buffer with ...
0
votes
1answer
23 views

Gradual rotation of an object in Java

I'm using Java to learn some movement algorithm. I would like to implement the "wandering" algorithm, but in order to do it, i should understand how to rotate an Object gradually. Actually, my Player ...
0
votes
2answers
21 views

Getting warning after importing plugin to unity5 project

I am getting following warning when I import any plugin to my unity5 project.Whats the solution for this warning? Is there any problem with that which will affect my project.
0
votes
1answer
38 views

Sprite movement only works the first time, can't figure out why

In my libGDX game I have finally managed to get the sprite to move the way I want him to but for some reason my desired outcome only works the first time I run the code. If I try to run it again, he ...
0
votes
0answers
6 views

Loading art assets from SolidWorks and NX cad tools?

I've been handed a large db of models designed with SolidWorks and NX cad tools. Now I need to load them and render them or convert them to another format. Is there any way to accomplish this without ...
0
votes
1answer
18 views

Libgdx particle effect to show one after being updated the position [on hold]

I have made a game, to draw the effect every circle. Every time i will update the particle effect position and redraw it. My function is here: effect = new ParticleEffect(); ...
-1
votes
1answer
29 views

exit application on double tap with message (Please click BACK again to exit ) …unity

Can anyone please help me here? This is not quite related to programming. I want to exit my Android application on back button tap with conformation for exit @Override public void onBackPressed() { ...
1
vote
0answers
29 views

Equivalent to Draw() method in Unity project?

I have been using xna/monogame before this. So I read tutorials about unity, made some classes, loaded some sprites, everything "seems" to be going good, but I can't figure out how to add things into ...
0
votes
1answer
36 views

Simulate popularity

I'm working on a music game. It has genres like pop and rock. Different centuries have different music popularities. (Influences the sales) I thought about building an object like this: var rock = { ...
0
votes
1answer
40 views

What is the better way to speed up gameplay as the level rises?

I started with game programming couple of weeks back. For the starters I tried to develop ZigZag (link takes you to 2 min gameplay). I am done with the logic of gameplay by now. It runs well and ...
0
votes
1answer
34 views

In unity game appears dark exporting to ios what happened?

Everything appeared darker when I exported my game to iOS. I only updated my Unity to 4.6.3 . Any idea why?
1
vote
0answers
29 views

In Phaser, how should I be managing state? [on hold]

I'm quite new to Phaser and JavaScript really confused about state management. Phaser has lots of documentation and info on the net, but everyone seems to be doing it a different way. An example: ...
0
votes
0answers
28 views

In OpenFL, what is the most performant way to render Sprites? [on hold]

Performance foremost, what is the fastest method to render static and animated sprites in OpenFL? Perhaps Tilesheets?
1
vote
1answer
55 views

Unreal Engine 4 is now only free or open source as well?

Recently Unreal Engine 4 become free with Royalty fees. What about the code? Is it opensource or no?
0
votes
1answer
17 views

LibGDX how to efficiently handle button presses

I'm making a simple 2D game for android using LibGDX. My game needs to have many buttons in it that fire off a method when pressed, and I was wondering what the best way to do this would be. I tried ...
0
votes
1answer
39 views

Unity 5 The Editor has stopped working Windows 7 64bit

As soon as I press the play button to attempt to run any of my updates games crashes the editor immediately and I can't run my games. Does anyone know how I could debug this or where to start? Does ...
1
vote
0answers
13 views

How can I resize the Unity Facebook SDK's login dialog to fit my vertical phone screen?

I have a Facebook-login button for my iOS game, but Facebook's login panel is entirely too big: The panel is cut off on both sides. It allows for input, but I cannot see most of it. My aspect ratio ...
2
votes
1answer
61 views

What does the update button in the Unreal Engine launcher actually update the engine to?

Unreal Engine 4 seems to have a very handy way of managing different versions of the engine - mainly you get to keep several copies and choose which one to launch. That said, not having used the new ...
2
votes
5answers
200 views

Is there a quick way to determine if a vector is in a quadrant?

I am wondering if there is a quick easy way to determine if a given vector is in a specified quadrant. In the below image, I've define the ranges of the blue quadrants. For example, if I am given ...
0
votes
0answers
24 views

XNA renderTarget, how to convert mouse coordinates to world position when upscaling

I'm currently developing a monogame game with a tile engine. I have been experimenting with different tiles and sprites sizes : 16px, 32px, 64px I have settled for 32x32 pixels tiles rendered at a ...

15 30 50 per page