0
votes
1answer
7 views

Reducing mobile build size

This is my second time making and game and I want to make sure that I fit under 50 mbs. So far my plan is to fit all the games artwork into two 2048x2048 sprite sheets. I tested a empty unity3d ...
1
vote
0answers
7 views

Unity simple solid color alpha shader

I searched for a shader, where I can set a solid color, which I can fade in or out like I want. There is not such a thing build in as far as I could see. Now I got this code, which works fine in case ...
-1
votes
0answers
12 views

PvP flag in MMORPG and self-resurrection

For example, we have a class which has some kind of self-ressurection ability or skill. Let's call this class 'A'. Class 'A' has been flagged while PvP and defeated. Now, a player has a choice: To ...
0
votes
0answers
9 views

Zoom only the particular object in unity

I am working on a sample to zoom the particular object when clicked on it.I have used the following code var zoom : int =15; var defaultFov : int=60; var smoothness : int=5; var isZoomed : ...
1
vote
0answers
12 views

Slick2D fails to load small textures

I'm trying to load a small 32x32 png texture using Slick2D, however it doesn't seem to render correctly. What's odd is that larger textures do load correctly. The 32x32 texture I'm trying to load: ...
0
votes
1answer
11 views

GL uniform variables

I have been studying on glsl lately, starting from very simple vertex and fragment shaders creation for Blender3d, I was quickly drawn to writing the OpenGL context in C++. I find it difficult to ...
0
votes
0answers
10 views

how can I orbit camera around object by touch position?

this Is basic code "Mouse Orbit" and correctly work on windows platform but In android we need touch position. using UnityEngine; using System.Collections; [AddComponentMenu("Camera-Control/Mouse ...
1
vote
0answers
10 views

Unity 5.3.4: Controlling multiple audio sources at once?

Is there a way to control the max distance of a group of audio sources at once? I want to implement all my sounds, then be able to play with some of the audiosource settings of all of them..
0
votes
0answers
6 views

Unity Lens Flare disappears at edge of screen?

I'm using a Lens Flare component to represent the sun in a 2D game. When the sun rotates onto or off of the screen, I noticed that the flare effect disappears. Basically, once the center of the sprite ...
0
votes
0answers
20 views

How much time should players have to escape (break or reverse) throws or takedowns?

After completing the melee attack aspects of my game I am am now integrating throws (eg. Assassin's Creed, Tekken etc) or takedowns (eg. Battlefield, Far Cry etc). Their function will be to one hit ...
0
votes
0answers
11 views

How can I make an expandable menu and assign names to buttons randomly from an external file using Unity?

I'd like to create a menu on the lower left side of the screen which will present some options (guns) to the player. The number of options should change based on how well a player is doing. In other ...
0
votes
0answers
32 views

How to convert a mouse's “On screen” position to “World” position C# Monogame

So the problem is this... I have a top down game, where you click on the screen to select which unit you want to control. You left click to select, and right click somewhere else to tell it where to ...
0
votes
0answers
11 views

Info on how to develop a game similar to Pursued [on hold]

I'm interested in understanding how a map game like Pursued is developed. Link -> http://pursued.nemesys.hu/ Since i am a total novice, i have no idea of how to place overlays like in Pursued and i ...
0
votes
0answers
11 views

UNET spawn dynamically generated object unity

Spawning works when all clients are connected, but if a client connects after I spawn all my prefabs there are errors. I spawn the object before changing its Rigidbody's velocity, which seems to ...
0
votes
0answers
31 views

Basic chasing AI - deciding speed

We're working on a simple game where the player is pursued upwards by a malicious entity. I'm not sure on the best way to go about doing this, taking into account the following points: This is a 2D ...
0
votes
0answers
21 views

How can I override OnTriggerEnter?

I am trying to extend Unity's BoxCollider class. So I am extending it in the editor like such: using UnityEditor; using UnityEngine; [CustomEditor(typeof(BoxCollider))] public class MyBoxCollider : ...
0
votes
2answers
23 views

Resolution scaling

I'm currently working on a project and I'm happy with the UI design: Being the fool that I am, I decided to only design my UI for one resolution, and now that I want to have the user be able to ...
0
votes
0answers
12 views

Limit Quaternion/vector3 axe in a certain interval

I have some trouble to understand, and handle Quaternion and Vector3. I'm improving the tutorial Tank of Unity: I want to be able to turn the turret with the mouse. So i added the script turnTurret ...
0
votes
0answers
26 views

How can i start in the game industry? [on hold]

the only thing i need to know is the basic information about the game development and how start, what language should i use to learn the science of game development? Blockquote
0
votes
1answer
12 views

draw two models changing the MVP matrix (android opengl)

I'm newbie with opengl2 in android, and I'm making an app in which I'm testing some things. Now I was trying to duplicate a sphere object with a texture, so I thought it was enough to change my MVP ...
3
votes
0answers
20 views

How to buffer an image in winbgim?

So ive always had problems with buffers and never used them before. I read up on the topic online but since winbgim is so old i couldnt find any definite answers to the topic. So im gonna ask them ...
0
votes
0answers
14 views

Box2d capsule stumbles on ground

I am working on a game with box2d and sdl. I Created a character and some boxes as ground, but faced the problem where the character would run a few meters, and stumble on one of the boxes' edge. I ...
-2
votes
0answers
13 views

How to clone Pacman using cocos2d-x? [on hold]

I am looking for some ways to clone Pacman using cocos2d-x. Should I use tile map or texture/customed text file format for storing the map? In which way should I structure my classes? MVC-based game ...
2
votes
0answers
24 views

Spherical Area Lights do not match reference

So I'm adding spherical area lights to my application, and comparing my results with mitsuba, I am getting some differences (left is my approach, right is mitsuba - a pathtraced reference): What I ...
1
vote
0answers
28 views

How can I change the list of enum options displayed in the inspector?

I have an array of enums: using UnityEngine; public class EnumsInInspector : MonoBehaviour { [SerializeField] public EnumType[] myEnums = new EnumType[3]; public enum EnumType { ...
0
votes
0answers
22 views

How should a musician get involved with games? [duplicate]

I have been making electronic music for about 12 years now. For the past 4 years I have been writing for TV shows and that's how I currently make my living. Although I am super familiar with the TV ...
0
votes
0answers
14 views

Dynamic navigation mesh generation algorithm

I'm working on a 2D game (top down / zelda like view) I'm struggling with navigation mesh generation, in complex scenarios my homemade algorithm is lost and too slow... I would really love to see a ...
-2
votes
1answer
49 views

Is there any limit to the amount of threads you can run at the same time? [on hold]

So i have a decent CPU with 2 cores and 4 threads, Will that effect the number of threads i can allow my program to run simultaneously? In my case, im using a thread for each player on a server.
0
votes
0answers
17 views

How it the level of detail texture loading called

Borderlands 2 uses this technique: https://www.youtube.com/watch?v=NDKOndosFAg Some games use techniques to load textures progressively in some level of detail way. I can not find any material on ...
0
votes
0answers
12 views

Unity to xCode - GIDSignIn.h not found

I exported my Unity game to xCode and when trying to compile I get the only error: GIDSignIn.h not found... I added the GoogleMobileAds SDK for iOS and the Google Sign In SDK for iOS (as .bundle ...
1
vote
0answers
26 views

Easing towards stepped value

I'm currently developing this rhythm game in lua (on top of a c++ engine) and I'm having trouble keeping a steady playhead position for the song currently playing. The playhead position that the ...
1
vote
1answer
44 views

Collision isn't working in pong

I've posted about another pong problem a while ago, but now I'm having another problem with the ball collision with the paddle , when the ball collides, it doesn't bounce back, why is that? Here is a ...
0
votes
1answer
32 views

Why is xcode not letting me use my static variable? [on hold]

I'm pretty sure I'm making some stupid mistake. Can't seem to find it, and no good results when googling it either. When I run my SDL project I get these errors : Undefined symbols for ...
1
vote
0answers
11 views

Storing and using UV and Normal Data with OpenGL

I'm having trouble mapping UV coordinates to vertices in OpenGL. I'm binding my buffers and enabling all of my attrib arrays perfectly well and things are rendering - but what I'm stuck on is how to ...
0
votes
0answers
10 views

Monogame on OS X in Visual Studio Code [on hold]

I have tried researching this, but got nowhere. Can I run Monogame OpenGL-projects in an OS X-environment with Visual Studio Code, dnvm, dnx and dnu?
1
vote
0answers
12 views

Minecraft : Mod-making (MCreator) : Redstone Result Event

I am currently using a Mod-making Tool called "MCreator" made by Pylo. I am currently making a Block Element and creating an event when The block is right clicked by a Prismarine Shard, then The ...
0
votes
1answer
23 views

Send OpenGL video flux via UDP [on hold]

It is possible to send the video flux of an OpenGL desktop app via UDP on Linux ? I looked up FBO and off-screen rendering but I still can't figure out how to extract the video flux and send it. I'm ...
-1
votes
1answer
36 views

Any advantage of splitting shader

In my fragment shader, I do lot of operations like taking a 3x3 matrix and computing convoluted value and using that value for further processing. Is there any advantage if I split the shaders so that ...
5
votes
2answers
105 views

Whose name should I put next to my copyright notice? [on hold]

I've seen other developers put their own names next to their copyright notice while others choose to put their studio name instead. I read that having a studio name could potentially protect me ...
0
votes
1answer
29 views

Solution for Shipping Optimized and Minified GLSL?

I've tried to find a reputable optimizing compiler for GLSL that takes source shaders, performs what optimizations it can statically assume, and outputs a minified GLSL file with optimizations, ...
0
votes
1answer
13 views

Choosing between multiple shaders based on uniform variable

I want to choose from 2 fragment shaders based on the value of an uniform variable. I want to know how to do that. I have onSurfaceCreated function which does compile and link to create program1 and ...
-5
votes
0answers
22 views

mouvement multiple des tank jeu unity c# [on hold]

using UnityEngine; using System.Collections; using System.Collections.Generic; public class Select_Tank : MonoBehaviour { //GameObject tank; public float poin; public int i; public bool ang=true; ...
0
votes
1answer
32 views

Unity3D - How to get highest value for acceleration from Input.gyro

I'm using gyroscope and I need to get highest value for user acceleration (x, y, z axises) from gyroscope My current code looks like this using UnityEngine; using System.Collections; using ...
0
votes
0answers
26 views

Best way for me to set up my tile grid? (Monogame c#)

I am planning a game with a grid based combat system. I however felt like the grids being set up in more of a parallelogram would be the best angle for the units to be stacked and put on the screen. I ...
0
votes
0answers
12 views

Dual Marching Cubes QEF Explanation

I've been stumped by trying to fully wrap my head around the formula presented for the QEF formula presented within the dual marching cubes paper. The formula that is presented is such: w = actual ...
-1
votes
1answer
22 views

Exception in thread “Thread-0” java.lang.IllegalArgumentException: input == null!

whenever i run my game i get this Error. Exception in thread "Thread-0" java.lang.IllegalArgumentException: input == null! at javax.imageio.ImageIO.read(ImageIO.java:1388) at ...
-4
votes
0answers
28 views

iOS App Rejection From App Store [on hold]

It could really stress you out waiting for Apple’s approval when you have already spent months or years of development time before launching your app. One critical error, and you have to start over ...
0
votes
1answer
45 views

Intersecting rectangles in space

I need to intersect 1 million spatial polygons (specified using their Minimum Bounding Rectangles) with 4 completely disjoint MBR's (MBR1,MBR2,MBR3,MBR4) in space. MBR1, MBR2, MBR3 and MBR4 divide the ...
0
votes
1answer
51 views

Moving a character to a point without any floating point operations

So I'm writing an adventure game for MSDOS, just a fun challenge for me. I'm trying to get the character to walk along a straight line to his destination (either the next navMesh node or where you ...
0
votes
0answers
12 views

Collision Between SKSpriteNode and SKShapeNode

Im trying to create a collision between to objects. one is a SKSpriteNode and the other is a SKShapenode. the Code I have so far for Contact is : func didBeginContact( contact: SKPhysicsContact) { ...

15 30 50 per page