2
votes
0answers
7 views

C++ exensible resource manager class with dynamic registration of factories

I've asked this question on stackowerflow, but failed to get a satisfactory answer. I've made some some research on my own, so I hope someone can help me finish it. I'm trying to replicate the design ...
0
votes
1answer
10 views

Camera goes upside down on oribt

I am new to Unity and I am working on a camera code to rotate around a map in game also zoom in and out. I was looking around and found this code to get me started. My intent is to have a camera ...
0
votes
0answers
8 views

Overlay Slimdx on an image

I have a series of points connected by lines rendered in SlimDX. The SlimDX view is rendered to a WPF FrameworkElement. At the moment this FrameworkElement is displayed inside of a WPF Grid. How can ...
-1
votes
0answers
25 views

Reason for isAdded method [on hold]

public class Field { private final Deck deck; private ArrayList<MonsterCard> monstersArea; private ArrayList<SpellCard> spellArea; private ArrayList<Card> hand; private ...
0
votes
1answer
9 views

Script attached to one button triggers other buttons too in unity

As you can see in the image above, I have 4 buttons. I have attached a C# script to only one button to change the scene on click. Now the scene should change only when I click on the button to ...
0
votes
1answer
12 views

submeshes and dynamic batching doesnt work as expected

I'm duplicating one object with submeshes frequently, and assigning a random material from five materials to each submesh. There is batching happening, but it's not quite as efficient as I would have ...
0
votes
1answer
5 views

how to build release version mac cocos2dx?

do you know how to build mac build release version? in this case i use cocos2dx framework. in vs2013 we easyly choose the build version but in xcode i dont know. the indication release build is all ...
1
vote
1answer
35 views

Entity component system, Communication between components [duplicate]

I am trying to implement ECS for my simple 2D game. I would like to ask a question about how components should communicate between themselves and with entity. I tried to implement few components, ...
0
votes
1answer
28 views

Best way to constrain character to a path?

I'm in the process of developing a level-based runner for mobile phones, and I've hit a wall when deciding which method to use to get the character to move through the level. Basically - I need my ...
0
votes
0answers
14 views

Hierarchycal checklist/workflow for Game Making [on hold]

When creating a game, what sequence planning should a game developer/designer follow? If we had to make a checklist with the what would be the first things to do and what would be the last ones? For ...
0
votes
1answer
26 views

Passing of board data in board games

Every time I make board game, I am faced with a decision. I have classes for the board and/or game logic, and another for the UI. I don't know how I should pass the board data to the UI. I could make ...
0
votes
1answer
22 views

Unity3D The name IEnumerable does not exist in the current context [on hold]

Trying to use Parse with Unity to run a Query like so: var query = ParseObject.GetQuery("GameScore") .WhereEqualTo("playerName", "Dan Stemkoski"); query.FindAsync().ContinueWith(t =>{ ...
1
vote
1answer
41 views

Where in old code would you know what to include to compile the complete program? [on hold]

I got the source code to a couple of outdated games that I was trying to either clean up, or use the tools they did to create a new game from the same engine. I am just not quite sure about how to ...
2
votes
2answers
64 views

Object-oriented Ability System?

For my RTS game's ability system, I need an efficient ability system where each ability is its own class that implements certain functions from an inherited abstract base class, Ability. Every ability ...
0
votes
0answers
26 views

Combat System For RPG/RTS [on hold]

I'm working on a RPG game, and I'm stuck in an indecision loop for how to proceed with combat. I have two different ideas and can't decide which one I like more. Using a component-entity based ...
0
votes
0answers
5 views

Change pointerDrag target during a drag

In Unity, I am trying to change which GameObject is receiving drag messages from my EventSystem's StandaloneTouchInputModule. E.g., while I'm dragging one object, a script reassigns who is receiving ...
2
votes
1answer
32 views

Do I have to commit the downloadable assets for Unity to the repo? Or a reference for the team to download them?

QUESTION (Short version) I am going to use the Unity Test Tools asset to do unitary testing. Q: Do I have to commit the Unity Test Tools to my repo? (using git, by the way). CONTEXT Team / Workflow ...
-1
votes
0answers
23 views

Android: Creating a simple 2D game (similar to pokemon) [on hold]

I am hoping to make a game where a user can move up down left and right, similar to the physics of pokemon. Here is what I was planning on doing so far: •Have methods for playerUp(), playerRight(), ...
1
vote
1answer
22 views

Marching Cubes Vertex Normals

I understand how to generate geometry using marching cubes at an isosurface, but I haven't been able to find a clear explanation on how to calculate the vertex normals for a mesh produced using ...
0
votes
1answer
27 views

Input Assembler - Vertex Shader linkage error

I'm new to HLSL and have been struggling with this problem for a while and I can't figure it out. I'm getting the below error a number of times in the debug window: D3D11 ERROR: ...
0
votes
0answers
60 views

How are games like Cities: Skylines not laggy? [on hold]

For those who don't know, Cities: Skylines is a city building game with an emphasis on transport. Unlike other city builders, the city you create is populated by lots of people with their own house, a ...
1
vote
0answers
22 views

Is it possible to completely avoid copying image data when uploading textures to the GPU on iOS?

I am not a game developer, but I have been doing iOS software engineering for many years. I have a particular interest in graphics and animation, but the finer details are still a little foreign to ...
0
votes
1answer
24 views

SDL2 LogInfo not outputting with different category?

So this is probably really simple but I just cannot see it. I've made my own log class using the SDL_Log functions to output to the console. Only thing is, is that it only outputs using one category ...
0
votes
3answers
43 views

Game Networking: Client request or Server Sending

I'm trying to implement a basic client-server setup for my game. But what confused me was how I would approach sending updates. Would I do: Server has a tickrate, let's say at 20ms. Each tick would ...
0
votes
0answers
16 views

Calculating / Simulating the output of two characters fighting [on hold]

I am trying to look at a options of how to calculate a winner in a battle between 2 characters. I'm using the following Character model to start with public class Character { public int Strength ...
0
votes
0answers
6 views

How hard is to integrate a Cocos2d-js game in a native mobile application? [on hold]

I know that it is possible with Cocos2d-x (c++), i have already found two turorials which explain how to do this (android example). But the point is that i'm a bit afraid, my c++ skills aren't so ...
1
vote
0answers
45 views

How is game logic usually distributed around files [on hold]

I don't know if this is a problem with game engines, but from the code I've seen in tutorials and open source projects, I can easily be confused by the layout of their code. For me, the code I made ...
1
vote
1answer
18 views

Game Maker Studio - how do I disable mouse click for a duration of time?

I Have a button that starts in a rest state, and then after clicking on the button, it animates out. I want to disable the mouse click for around 30 steps after the button has been clicked, otherwise ...
1
vote
0answers
37 views

Recreating iPhone Home Screen in Unity

I am trying to recreate a UI menu that has functionality similar to the iPhone's home screen: If a user drags anywhere on the menu (including on a button), it should drag the whole page left/right ...
2
votes
1answer
34 views

Is OnMouseUp()'s behavior intended?

Version: Unity3D 4.6.2f1 I have a grid of tiles (Cube GameObjects with a Tile script attached). They are positioned at their index location [x][y] = (x, y, z=0) World Coordinates. Below, I try to ...
-1
votes
0answers
22 views

Best Engine for Read World Physics [on hold]

I m working in a project that requires high intense level of simulation detail as high as.... accounting for the effects of air on tiny game object like stone falling from the sky. or what ll ...
0
votes
2answers
20 views

Update single variable in DirectX Shader

I am trying to update a single variable within a CBuffer but I am unsure of how to do this. I have a LightingBuffer which is passed to the GPU containing, ambient color, diffuse color etc and I want ...
0
votes
0answers
19 views

Cameras overhead

I'm planning on using several cameras on Unity with different size to create a parallax background. I'm concerned that addidng maybe 3-5 cameras just to render the parallax background is an overkill. ...
0
votes
1answer
18 views

FindNextValidTechnique fails

My effect file compiles successfully, but FindNextValidTechnique fails. Technique part of the shader: technique Diffuse { pass Pass0 { VertexShader = compile vs_2_0 ...
0
votes
0answers
13 views

how generate a path in openGFL [on hold]

what's the best way of drawing a random path on openGL using C++ ,I've already tried to connect a couple of rectangles making some pattern but it does not work
0
votes
2answers
43 views

How to Instantiate two Game Objects at the same time in Unity3D [on hold]

I have two empty game objects (BlueTeam and RedTeam). The BlueTeam needs to set its opponent as the RedTeam and vice versa. When a team is instantiated it as to generate its players and place them on ...
0
votes
1answer
38 views

SFML game loop and FPS problems

first off, sorry if this is a silly question. I've been working on building an SFML engine and I've been very confused on the FPS, frame independent movement and game loop. Here's a link to where ...
0
votes
0answers
15 views

Is there an API for Aircraft AOA and elevation to flat horizontal Azimuth? [on hold]

I am wondering if there is some API for Aircraft reference translations to flat horizontal Azimuth. If I have an Aircraft Angle of Arrival and Elevation angle I can translate that to the flat ...
-1
votes
0answers
27 views

XNA - How to Make Objects Stop at the Edge of the Screen While Fullscreen is enabled?

Recently, I upgraded my game to a fullscreen setting, by adding graphics.IsFullScreen = true;, but this seems to have gotten me some errors where the boundaries for movement go. This is what I have ...
1
vote
3answers
53 views

How would you guys call a class to instantiate both NPCs and players? [on hold]

My idea is having a class to instantiate both NPCs and players. I have thought of some names like Entity but that is way too broad, as it could refer to anything from a block to an event really. I've ...
0
votes
1answer
24 views

GameObject scope over RPC call

Debugging my code I faced some unexpected behavior. I called an RPC using uLink.NetworkView on the server passing some parameter including a GameObject tagged as Player. Inside that RPC I make a ...
-1
votes
0answers
20 views

In CS 1.6, where is default .cfg loaded? [on hold]

I have connected to spam servers in CS 1.6 and when starting game, it automatically connect to server: elite.bestia.ro:33333. I have fixed this by editing all the cfg files and txt files in cstrike ...
0
votes
0answers
14 views

wheeled 2D character controller platform edges problem

I have built a little wheeled 2D character controller (a rectangle for the body and a circle for the legs with a motor joint). Everything is ok but the problem is that when the player reaches the edge ...
0
votes
1answer
72 views

How to detect the edge of a platform?

I have create a enemy AI script. These enemies are animals in my game. What I want is that the enemy can detect the edges of a platform. using UnityEngine; using System.Collections; public class ...
0
votes
1answer
36 views

Backgrounds for a game [duplicate]

I am writing a 2d game, I have designed the characters but I would need backgrounds, i'm looking free cavern backgrounds for a free game, advice ? thanks in advance
-1
votes
0answers
20 views

Android - how to develop poker game from scratch [on hold]

I want build Poker Game , and I dont know from where should I start , so I decide to choose the game engine that I will build on it my game . I search and I find this question , someone want build ...
0
votes
0answers
19 views

Raycast Masks not working Unity3D

I'm having a problem with filters/masks when raycasting. I've created a LayerMask and then in the inspector selected the layer I want to ignore when Raycasting. however then I print out the name of ...
1
vote
0answers
21 views

In a collision detection loop, when do I apply the velocity?

I'm writing a really basic collision detection system (AABB vs AABB, AABB vs Circle, Circle vs Circle), and I've just got to the point of writing the actual loop which iterates the objects and checks ...
0
votes
0answers
26 views

Spritekit water flowing

I'm wondering if there is a way in spritekit to implement water flowing through a path? like this water flow Right now I'm generating the path using UIBezierPath and PaintCode Any suggestion? ...
-1
votes
0answers
15 views

unable to use two gestures simultaneously

I have a class implementing gesture listener in libgdx. I want to use longpress gesture in one half of the screen and fling gesture in other part of the screen simultaneously.

15 30 50 per page