0
votes
0answers
20 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
9 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
1answer
35 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 ...
0
votes
0answers
31 views

Too many if sentences cause lag?

I am trying to make a vertical scroller game with collison 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
13 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
0answers
13 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
0answers
32 views

How to make inputing large inputs more engaging

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
0answers
19 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
11 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
29 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
1answer
26 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
16 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.
0
votes
0answers
17 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
21 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
20 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
19 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
17 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
31 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
24 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
9 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
35 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
12 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
5 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
10 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
26 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
20 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
18 views

Abstract Factory Pattern for Implementing AdNetworks on Multiple Platforms

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
37 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
50 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
15 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
9 views

App loading issue with Unity Vuforia

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 ...
1
vote
1answer
51 views

What exactly is a 'set of states'?

Whilst looking into game-oriented applications of programming patterns I discovered a question on this site which suggests that a 'set of states' is superior to a 'stack of states' but does not ...
0
votes
0answers
31 views

Problem in Unity ad

I am trying to place ad in my game. i am using unity 5. trying to place admob in my game. in unity editor it displaying dummy message. tried to build the game in android phone after build completed ...
0
votes
0answers
21 views

How can library classes access SpriteBatch?

I have a spritebatch in my primary game component in a game project: public class GameRoot : Game { private SpriteBatch mySriteBatch; public SpriteBatch MySpriteBatch { get { return ...
0
votes
0answers
24 views

Do I restart the service?

I have a long running service in my game, that consists of two threads. //MY SERVICE: if(userEnabledProcessOne) //Shared preference value that I'm getting from the settings of my app based on a ...
1
vote
3answers
82 views

Using Unreal Engine 4 to model Earth

I could not find a game that has modeled Earth completely (i.e., The entire planet and full round model). Does UE4 have a limitation, such as maximum map size, that limits modeling the entire Earth? ...
4
votes
2answers
38 views

Should I use secure WebSockets for a game?

Is SSL necessary for a web game? I'm using Node.js with socket.io. Without it, when using unsecured networks someone on the LAN could change commands being sent to the server and "take over" a ...
0
votes
0answers
17 views

How do I play NSF files with SDL2?

I'm learning game development with C++ and SDL2. I'm developing on Debian. I know SDL2 can't play NSF music out of the box, but are there stable extensions for it that will work on Windows, Mac and ...
0
votes
1answer
66 views

Modern OpenGL c++ obj loader

So i made a obj loader in c++.I used blender to export my files. I tried to draw 2 squares(one perpendicular to the other) and when im looking at them from above some weird black triangles apear, ...
1
vote
1answer
26 views

2D BoundingBox Collision Detection Problem

I implemented collision detection into my game (using Bounding Boxes) The character is floating above the blocks instead of standing on them. I know what is happening, but I can't figure out how to ...
6
votes
2answers
58 views

Terracing mountain features

I'm looking to replicate a procedural terrain effect I found on a portfolio/blog site a few days ago. Quoting the site, the terracing was generated through, "multiplying [the final height] by some ...
-7
votes
1answer
34 views

What is the difference between compiler and IDE? [on hold]

What is the difference between compiler and IDE? Please explain me. because i am new to this terms.
0
votes
1answer
52 views

WWW & crossdomain

I'm trying to use the WWW class to connect to a restful service located on a server. The service I'm trying to connect to is located to a specific port (8080 in my example), and my application cannot ...
0
votes
0answers
18 views

unity game dev - Tanks tutorial - how would you do it differently [on hold]

I would like to use good practices when working with Unity, but I'm finding it difficult deciding on what good practices are. In order to address that, could you describe what you would do differently ...
0
votes
1answer
48 views

Is Angry Birds Made Purely Using Bitmaps/Raster graphics? [on hold]

Being a beginner game developer I would like to start creating my own engine and graphics so I am concerned about how successful games accomplish the graphics portion. My question is, are all the ...
1
vote
0answers
20 views

How to receive broadcast message in Unity?

I am trying to get the broadcasted message in overridden method of NetworkDiscovery.OnReceivedBroadcast(). For that what I had done is below: I create class which implements NetworkDiscovery where I ...
0
votes
1answer
30 views

Unity - Toolbox pattern is not safe

When I create a toolbox such is in this tutorial. How do I defend against breaking the pattern with multiple instances like this: gameObject.AddComponent<Toolbox>(); ...
0
votes
1answer
30 views

How to adjust the width of a LineRenderer

I wrote a code that draws a line by mouse movement. I am searching for some way to give it pencil style and head and end of the line have thinner width. As we know the LineRenderer draws the line ...
-1
votes
1answer
16 views

Using VBO in Opengl. powered with c# TAOFramwork

I'm doing a 3D display for a big object. I've managed to display it with opengl primitives, so it's (very) slow Now i want to use the VBO optimization. But when i lost the focus on the opengl window ...

15 30 50 per page