0
votes
0answers
4 views

unity component architecture

Would it be sensible to split components into domains, then further by behaviour, and have behaviour component scripts act as an interface between OOP code and the Unity engine? domain > components ...
0
votes
1answer
13 views

How can I move a boat from start point to final destination?

From a game design perspective: how can I move a boat from start point to final destination point while staying on water without colliding with land? Ideally I want to use JavaScript + GoogleMaps ...
-2
votes
0answers
14 views

Game looks like it's running under low FPS [on hold]

I have app and everything is working ok, just relatively fast moving obstacles are not sharp; It looks like I'm running this game at 15FPS or something like that, anyway I'm running it at 60FPS.. It ...
1
vote
0answers
10 views

Jagged Edges Even With Anti Aliasing 8x Multi Sampling

I have an interior scene where I have imported a model for the apartment and many of the interior objects such as lamps, windows, etc. Unfortunately I have a lot of jagged edges on almost all the ...
0
votes
0answers
19 views

Creating Slide-In Text [duplicate]

I want to make my text slide like so: This is from the game "Crossy Road". The movement is normally smoother that in the .GIF Here are some more frames from the GIF to make you understand what I ...
0
votes
0answers
13 views

Setting up SDL with Visual Studio 2015 [on hold]

I am trying to enter the community of game devs. I have found SDL2 to be a helpful tool. However, I can't figure out how to get it to work in Visual Studio 2015 (community). Can you tell me how to do ...
0
votes
1answer
35 views

How do I build a 3D array result set from a compute shader in unity?

I took this right down to the absolute most basic scenario but for some reason I can't get anything back from the GPU when this completes, could someone explain what I am doing wrong ... Here's my ...
0
votes
2answers
46 views

How can I simulate the effects of network latency to test my lag compensation?

I am trying to observe the effects of lag compensation in my game by increasing my ping to 200+, adding loss, and by the limiting bandwidth to simulate wide area network delays using Network Emulator ...
0
votes
0answers
20 views

Lunar Lander calculating gravity, acceleration and collision in GameMaker

I've already asked this on the GameMaker forums but had no response so far. I'm making a little Lunar Lander game as my first foray in to GameMaker, I'm wanting to have the ship land and take off ...
1
vote
1answer
13 views

Should I add error handling to SDL_GL_SetAttribute?

As the title says, I wonder if I should handle errors for : SDL_GL_SetAttribute Can it actually fail to set? And if it can, what could be a reason for it to fail?
0
votes
0answers
13 views

Unity crash on development build

Every time I check the development build, my game crashes just after turning my screen black. To be more specific, I've tried to create a development build of my game using Unity 5.3 on Windows 8. I ...
0
votes
0answers
32 views

Find which object is clicked on 3d scene

I am using GamePlay3D engine. I have on scene a couple of 3d objects and I want to make them clickable. How to find when I click which Node/Object contains given projection point? I tried with code ...
0
votes
0answers
21 views

Help creating an animation in Unity? [on hold]

How can I create an animation that looks exactly like the one below (the moving hand pointer)? I have no idea on how to start. Thank you for your help.
0
votes
0answers
18 views

Unity voice chat in multiplayer [on hold]

I'm a very beginner in Unity development, so please bear with me, if my questions are a very simple. So, I would like to know, what are the possibilities to integrate Voice Chat to Unity. I'm about ...
1
vote
0answers
33 views

How to reproduce this triangle filling scanline effect using a shader?

I'm writing a renderer for an old DOS game were 3D polygons were rendered in software. I'd like to simulate, using a shader, the following material/effect, used for filling a triangle : The fist ...
0
votes
0answers
9 views

Custom Scene Component Do Not Register Children

I have made a class that is derived from USceneComponent which contains 4 references for itself and two UStaticMeshComponents. Simply I am trying to make a tree structure. When I first create actor ...
-2
votes
0answers
10 views

Augmented reality with unity [on hold]

I am new to unity and augmented reality as well. I want to load a new 3D model on button press. How to achieve this. Please help me.
0
votes
0answers
8 views

Creating & loading animation from one class in libGDX

i'm new to libgdx and i wonder if i can create all the animation for my game in just one class so i can just call it to my main game screen class,if it is possible can someone teach me how to do this? ...
0
votes
0answers
30 views

Wrap Mode: Scale and Position Anywere

I am trying to write a shader in Unity that allows me to place my texture anywhere on the UV. Picture this for a second, if you add a texture on a square plane, the texture gets either stretched to ...
0
votes
0answers
17 views

OpenGL Arc-Ball Camera Yaw Pitch GLM::Rotate

I'm currently working on a small Voxel-Editor Project. In the editor, I plan on using an Arc-Ball camera which rotate around the model. My camera is currently working but in an odd way. I can't seem ...
0
votes
3answers
71 views

OpenGL Colour Issues

I am using a single VBO to store vertices in the follow format: v1X, v1Y, v1Z, v1R, v1G, v1B, v2A, v2X, ... Vertex positioning is fine, shapes show up where expected, however instead of using the ...
1
vote
1answer
113 views

Too many if statements cause lag? [on hold]

I am trying to make a vertical scroller game with collision tiles on both sides. I'm using Libgdx and android studio. The problem is that i have made every tile as an object with a rectangle for ...
0
votes
0answers
15 views

Libgdx tiled map not showing

I'm using a HashMap structure to store and load my maps made in tiled. Currently I have two and I am able to go from mapOne to mapTwo with no problems. But when I go from mapTwo to mapOne, mapOne ...
0
votes
1answer
40 views

Get pressed character in LWJGL (Ignoring modifier keys)

I have a basic text field setup in LWJGL, however pressing any modifier keys (Shift, F1-19, Page Up, etc.) inputs a space into the text field. How would I ignore those characters? Here's some code so ...
0
votes
3answers
80 views

How to make inputing large inputs more engaging [on hold]

I asked this question on another exchange "Encrypted content in games" and it made me wonder about game design. The basics of that question is that you are using user-input, either directly or ...
0
votes
1answer
33 views

What's the best way to deal with platformer tile collisions?

I am starting with game development and creating a basic platformer game. I already have searched a lot and found some ways to implement the platformer aspect to the game, like apply a gravity, ...
0
votes
0answers
14 views

Illegal characters in Path: Error while building SpriteFont MonoGame 3.4

I used XNA for a long time everything was working fine, but now with the new MonoGame thing they added a GUI for Content Managing, and I found it pretty cool but it doesn't work like intended. I'm ...
0
votes
0answers
11 views

Technic Server Error: “A fatal error has occurred, this connection is terminated.” [on hold]

I am using a server from TCR Classic Reborn and have set it up and played on it, but now when I try to log in it says: "A fatal error has occurred, this connection is terminated." The server log is ...
0
votes
2answers
44 views

How to know when user has stopped dragging

How can we know when user has stopped dragging fingers over screen if user has not removed finger from screen but stopped dragging ?
1
vote
2answers
47 views

What's the difference between Mathf.Lerp and Mathf.SmoothDamp

I want to smoothly go from one value to a new one (moving a slider or changing color). I tried using both functions and they all basically give the same result. What is the difference between them and ...
0
votes
0answers
26 views

Why are resource collecting RTS games not popular nowadays? [on hold]

From what I see, traditional resource collecting RTS games like starcraft become less popular. Warcraft 3 morphed into dota, where player controls one hero.
-1
votes
0answers
20 views

Its possible input.axis make to mouse position on camera?

Im wasted a lot time figuring out and searching in google...no success :( So i ask Here : Script A - its possible to change float gasInput = Input.GetAxis("Vertical"); so its works like when i select ...
0
votes
0answers
25 views

Card game turn-based server solution needed [on hold]

We are looking for a server for a game we want to build. The game is built for iOS and Android devices, and the clients need to be able to play against each other. The game architecture would be to ...
0
votes
0answers
25 views

Unity3D :Player won't go back to idle state

I'm creating a topdown 2d click to move game on unity (as most of you may already know due to recent post) and having trouble with the animation. I created two states, idle and walk, in the animator ...
1
vote
0answers
26 views

Weird squares everywhere

So in unity I have some weird squares on surfaces of certain objects, which are buildings represented by planes: I don't know what causes it, I tried changing some settings in lighting and ...
0
votes
1answer
22 views

If I save some information with PlayerPrefs, they will remain saved even if the game is online?

If I make a game in unity and I use the PlayerPrefs function to save the progress and load it in another play, that information will be stored even if the game is loaded on an online platform? I mean: ...
0
votes
2answers
45 views

Will using similar/exact name to a current Marvel superhero name for your game be a problem?

I have heard that the word 'superhero' is trademarked by marvel and DC and thus we can't use superhero as part of the name of a game we develop. But I wonder do they also have exclusibe rights to all ...
3
votes
1answer
31 views

Unity3D - Screen Capture of particular UI elements

How can I screenshot particular UI elements? In my case I need screen capture UI Panel with child objects like UI Text, UI Input and etc. Please take a look at picture. Thanks in advance
0
votes
0answers
11 views

Admob Hiding and Showing ads beginning android games screens

I am writing a game using the 2D screens framework from the book Beginning Android Games. I have used the tutorials here to place ads in my app and modified my GLGame class accordingly.I want to ads ...
0
votes
1answer
47 views

How often should I calculate the position of a bullet?

In game's like Battlefield or Arma, how many times per second is the position of a bullet calculated?
0
votes
0answers
16 views

C# Launcher - C# Server Authentication

I know this topic is covered a ton on here, but I am having trouble getting a grasp on what tools to use in order to achieve this task. I built a simple game launcher in C# and plan to have a C# ...
0
votes
0answers
6 views

MinGW Windows Cross-Compile Error

While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler. ...
0
votes
0answers
17 views

Java - Component Based Architecture applied to Entities

I've recently been getting my game a lot more of functions for the entities: growing, IA, colours depending of season, position, magic, teleportation an d a lot more. The problem was that for ...
1
vote
1answer
34 views

Raycast a ray to the tip of another ray

I'm using unity to raycast a line from the center of my camera viewport to a world position (yellow line). I also want to cast a ray from the center of my character to this same point (blue line). I ...
0
votes
1answer
22 views

Detecting Left and Right Mouse clicks on UI Text objects that are dynamically created

So, in my game I create a bunch of UI Text game objects dynamically (in the C# script), but I just can not find out how to properly detect Left and Right mouse clicks on these UI Text that were ...
0
votes
0answers
21 views

Abstract Factory Pattern for Implementing AdNetworks on Multiple Platforms [on hold]

Here's the link to the github project. I want to implement Abstract Factory instead of adding platform dependent compilation flags in just one file and make it ugly. Hence decoupled code. Moreover, ...
1
vote
1answer
41 views

Replicating a worldspace sphere on screen space

I have quite some struggle with a post processing shader that I'm working on. I use Unity, and I have a shader in which I want to, in screen space as part of post processing, render a sphere that ...
0
votes
1answer
52 views

Convert transform from world to local space

I have a hierarchical node system. Given a world space transform, I need to obtain the transform for a specific node in local space. My Node class has the following method. public void ...
0
votes
0answers
17 views

How to use two different GestureDetector for two different views? [on hold]

I am trying to develop an android game that requires gesture inputs from the user. I have two linear layouts inside a relativelayout. I am able to detect gestures with the GestureDetector class. I ...
0
votes
1answer
10 views

App loading issue with Unity Vuforia [on hold]

I am working on Augmented Reality using Vuforia sdk. I have done a sample AR app for playing a video when a marker is shown.I have added three target images in one single scene for playing video for ...

15 30 50 per page