9
votes
6answers
1k views

Does Game Objects not visible to camera consume computer/mobile resources in unity?

In unity, let us suppose that I have some Game Objects in my scene that are not visible to camera and so are not rendered while the game is running. Will these Game Objects be consuming ...
0
votes
0answers
6 views

[Solved]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
4answers
67 views

How to create a seamless cubemap noise texture?

I have, so far, been able to create the vertices and UV coords etc for a sphere that would be textured with a cube map. I have also successfully loaded a cube texture from file and applied it to my ...
-1
votes
0answers
7 views

In CS 1.6, where is default .cfg loaded?

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
3 views

Libgdx Camera/Viewport gives unexpected result

I am running in to an odd problem. When I run my little space invaders game on desktop my images that are supposed to fill the screen in width are short on the right side (see image). Start Window: ...
0
votes
2answers
65 views

XNA My Texture's Transparency is shown Black

I am trying to draw an image on to the screen. My image is drawn correctly but the background color which is transparent is shown black. Why is this so? My code: spriteBatch.Draw(Texture, Position + ...
0
votes
0answers
4 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
0answers
12 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
0answers
13 views

Backgrounds for a game

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
8 views

Android - how to develop poker game from scratch

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
2answers
388 views

Wall jumping collision detection anomaly

I'm creating a game where the player ascends a tower by wall jumping his way to the top. When the player has collided with the right wall they can only jump left and vice versa. Here is my current ...
2
votes
1answer
91 views

rendering an image within c# & sharpdx dirext3d9 [game overlay]

I'm following this guide and the related blog post to implement a basic game overlay for DirectX 9 games using SharpDX. So the tutorial already have an example for text rendering but I need to be ...
0
votes
1answer
10 views

How to move objects in any direction by swiping with libgdx android game development

first of, I'm new to android game development so I don't know all the classes and dictionaries within android and libgdx. I'm actually following a game development tutorial for the first time ...
0
votes
2answers
9 views

Animate/Interpolate and wait for completion.

I'm implementing a blackjack game in flash and so far the logic is fine but there is no animation for the cards so they just appear and disappear which doesn't look very pleasing to the eye. I want to ...
0
votes
0answers
12 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? ...
0
votes
0answers
13 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 ...
1
vote
2answers
16 views

LibGDX Android project in IntelliJ

I've created a LibGDX project. I imported the build.gradle. The core and desktop modules are imported successfully, but the android not. So I add the content roots. The project compiles, I could build ...
1
vote
1answer
185 views

Loading Song in MonoGame Windows

I cannot load the song into my game. I got error in both templates WindowsDX and WindowsGL. Monogame Develop Build 1252 Both files .wma and .xnb are exist in Content folder and Build Actions are sets ...
1
vote
1answer
38 views

I can't drag'n'drop UI Elements from the hierarchy into a public field (Unity 5)

I just watched this Video https://unity3d.com/learn/tutorials/projects/survival-shooter/player-health and tried to drag'n'drop the UI-Elements on the matching script, just like they did. But this is ...
0
votes
1answer
25 views

Rendering of a minimized / out of focus directx game is slow

I m working on a project that captures the game windows and send it to another node. As long as game is in focus or maximize, the rendering is smooth and steady. When the game is out of focus or ...
0
votes
0answers
7 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.
0
votes
1answer
57 views

Unity3d - c# - changing FPSInputController controls through script

For a game I am making I would like the user to be able to change the controls (in game NOT through the clunky launch window (wich i disabled)) I have the system working but don't know how to change ...
0
votes
1answer
21 views

Shmup Unity, create an enemy spread shot to the player

Following this lecture: http://www.shmup-dev.com/forum/viewtopic.php?f=6&t=347 , i created a bullet that shoot from the enemy directly to the player, in a straight line. Now i want to create 3 ...
0
votes
1answer
10 views

Unity free look camera on two axes. How do I do it?

I'm new to Unity and c# but have programming experience... I have a a simple "game" in Unity that shows one sphere orbiting another. How do I allow the camera to be moved by the user in a "free ...
0
votes
1answer
15 views

In Unity3D, what ways can I improve the batching with a single texture atlas and four-point material?

I'm building a randomized city terrain with a set of planes, custom 4 vertice square made in Blender. I've got a texture atlas working so that it draws on a single material and texture, but it's still ...
0
votes
0answers
5 views

JBullet Only Updates Position when I update it in Code

The title is a bit weird...but here it goes: I have JBullet configured so that I can move things in my code, as the game tick structure is something like this (the update code located in ...
0
votes
1answer
31 views

Rotation and timer at the same time

I have a project where I flip a card after 5 seconds, then I want to start a countdown timer of x seconds. After x seconds the card flips again. I found a good example for the timer here, but that ...
2
votes
2answers
30 views

Rectangular area light illuminance - colour banding

I'm currently working on an implementation of rectangular area lights but I am having some issues with the illuminance calculation, which gives me serious colour banding across the entire lit area. ...
0
votes
1answer
33 views

JBullet move object rigidbody in code?

I am trying to move an object's Transform (of a coded class, these are for the rendering engine), then convert it into a JBullet Transform. After that, I try to apply any movement to the JBullet ...
3
votes
2answers
958 views

PHP battle script

I have custom built as a little personal project a website coded in php that is a MMORPG. It is at the minute just a personal private project but I am stuck as what to do when it comes to users ...
0
votes
1answer
19 views

Randomised Path from A to B for cursor movement simulation

I'm trying to simulate the movement of the mousecursor, by creating a path from point A to B that has random variation. The algorithm I'm using at the moment is very basic, and is limited in that ...
0
votes
1answer
18 views

With a Texture Atlas that has 128x128 tiles, how can I use that in Unity3D?

So I've got a working texture atlas that has tiles fitting 128x128. However, I can't quite figure out how to use them. I know it's probably got something to do with ...
0
votes
0answers
25 views

Need help with understanding how methods work and various other progamming noob problems [on hold]

So I'm currently working on a very small project - just a game based off of some of the things I've learned from unity tutorials. In the GameController script I have a method called GameOver that's ...
0
votes
0answers
7 views

Unity: Set Zoom's Center XYZ point

I have my pivot/orbit camera set up: http://pastebin.com/2c7buUjV When I zoom in/out it snaps to the center of the sphere, then starts the zoom. I want it to zoom from where the camera currently is. ...
0
votes
1answer
55 views

Tower defense game structure? [on hold]

I've made a simple Tower Defense game in Unity with C# scripts. Currently it only has a working Tower and some minions walking by a path to the players base, but eventually I going to add more towers ...
0
votes
1answer
47 views

memorizing button tap code iOS game

I'm using a single view app in Xcode 6.1 for my game with Storyboards. Not unity or sprite kit. It's a small game not even 3MB. Anyways, I created un-lockable characters with a BOOLEAN. ...
0
votes
0answers
17 views

How to convert ticks to clock cycles when profiling API calls [migrated]

I am profiling Direct3D9 API calls. I have read a lot of documentation here that describes the process. I have a question though about calculating the elapsed clock cycles. Here is my current method: ...
1
vote
1answer
77 views

How to initialize once for all a static field of a custom editor in unity

I have a custom editor wich has a static field. Suppose you have a static field of type MyObject: public class myEditor : Editor { ... private static MyObject myObj; ... } I'd like to ...
0
votes
1answer
46 views

What is the cause of these WaitForFPS spikes and dips?

In Unity, moving the player causes the camera to jitter. I went to the Profiler, and I saw these spikes: On further inspection, all the yellow spikes were WaitForFPS(). I've tried every VSync setting ...
0
votes
0answers
20 views

opengl my triangle is always the same color? [on hold]

I'm getting into opengl shaders(with opengl 2.1, but without using the fixed function pipeline) and I'm having some trouble with my primitive's color. In my shaders I just copy the input variables to ...
0
votes
0answers
11 views

Will be there any problems with animal characters stylised as movie heroes? [on hold]

I'm working on a game with animal characters stylised as movie heroes, like Terminator Bunny or Loki the Kitten. The Terminator Bunny will have that leather jacket and half of his face missing and ...
0
votes
0answers
13 views

Are there any games designed specifically to profile players? [on hold]

I'm trying to find some specific information. To your knowledge are there any games were designed specifically to profile players traits? For example, IQ, gender, psychological profile? If so do ...
0
votes
1answer
58 views

How to customize a character with new objects (clothes, body parts) in a 3D game?

how do we customize a character in a game by adding, for example, a different clothing? The character has an armature, made in Blender, if I add a new object with the game engine, I would have to copy ...
1
vote
1answer
96 views

Adding some recoil to the Camera so that the crosshair is pushing to the sky (FPS game)

I just want to add some recoil to the camera, but I can't find a working script. It's an fps, so I take my mouse axis to rotate the camera. And now I want a pushback to the top, so that the camera ...
1
vote
2answers
66 views

Algo for Minimum no of solving in a level like Bubble Blast2

Is their any way to make a algo to know minimum no of way to solve in Bubble Blast 2. I am trying to make a clone of it. My real problem is only to determine the minimum no of tap to finish the game. ...
4
votes
3answers
4k views

How can I make my main character move in a parabolic arc when jumping?

I'm entering Android game development, and I already have a computer version of a game I want to publish. The thing is, I want to make this as good as it can be. With that said, I need a physics ...
0
votes
1answer
721 views

Unity3d wheelcollider falling through terrain

I have created simple project with 3D car and terrain. I have added 4 Wheel Colliders on model wheels. But when I run project wheels falling through terrain. Before run: After run: I am sure that ...
0
votes
1answer
103 views

Draw a line/curve for the path an object has taken

Hello I am making a game in libgdx. I want to draw a line/curve of the path a object have taken. First a thought I could save all positions of the objects each iteration and draw line between them ...
4
votes
2answers
209 views

Bevel outline algorithm in 2D

I'm writing a program that creates animated blobs in 2D, to simulate cells. In order to beautify these objects, I'd like to give them a 3D look by adding a bevel-effect. How can this be achieved? ...
0
votes
0answers
17 views

Java - Updating Block Textures Based On Surrounding Blocks [on hold]

I am trying to make a top down game and when you play a wall, depending on the walls surrounding that wall the texture will change, it is fine until there is a loop, then i get a stack overflow error, ...

15 30 50 per page