2
votes
0answers
51 views

How can I reduce render time on scenes with lots of UI component?

I'm looking for a way to reduce rendering time for my Game Over scene. A quick look of the scene components is like this: All yellow objects are UIButton, texts are all UIText, white areas are all ...
2
votes
0answers
60 views

Putting each animation on a thread

I'm trying to make my game as friendly to multi-core as possible. as such, i'm putting each animation on a new thread. I was hoping someone could check out my proof of concept code in java; an ...
2
votes
0answers
30 views

Strange effects (inadvertently dividing edges) when doing Maya's extrusion

Firstly, I thought this was the best place to post my question, since there isn't a Maya section or a generic 3-D modeling section, as far as I saw. I am following a tutorial which can be found here ...
2
votes
0answers
46 views

Problem with baked lights

I'm working on a 3D gallery experience and I'm having some difficulties regarding directional and point baked lights. When I build it for web with webgl, only global lights are rendered, but when my ...
2
votes
0answers
94 views

Texture coordinates for custom geometry in SceneKit ios9

I am trying to texture the a custom plane shape I created in scenekit on iOS9. I need the texture to spread out and stretch over the entire surface. I have a vertex and fragment shader on an ...
2
votes
0answers
32 views

How to get UE4 to correctly put my bundle identifier for iOS projects?

Each time I create a new project UE4 adds a generic bundle identifier to the iOS platform settings, that I always have to change to com.myname.[PROJECT_NAME] in order to be able to run the newly ...
2
votes
0answers
107 views

How to create a forest game scene in unity3d?

I am pretty new to game development. I have started using unity3d. I have created simple games for which I have used plane (3d gameObject). Now, I want to move a step forward I want to create a ...
2
votes
0answers
59 views

Sprite animation in Android view

I'm looking for a way to have different sprite animations in individual Android views. I try to use LibGDX and AndEngine but most I could find was how to get an Activity with the sprite animation. ...
2
votes
0answers
135 views

Building an Octree for terrain generation

I've previously implemented marching cubes/tetrahedra to render an IsoSurface. It worked (YouTube), but the performance was dire as I never got around to implementing LoD (or even removing distant ...
2
votes
0answers
88 views

Unity: Create a custom editor for Vector2

I'm starting to dig into Unity's editor customization. What I'm looking for is a way to create custom line (or a point at least) which I could move around in SceneView and set a Vector2 value that way....
2
votes
0answers
93 views

Why are parts of this Unity scrollrect not being bound to the mask?

I'm setting up a system for people to load up extra levels. Since I don't know how many levels are going to be loaded I have a UI prefab that gets added to the main Level Load UI. However, the Text ...
2
votes
0answers
133 views

Formula to generate random enemies

In my endless game i need to generate random enemies for each "level". For each level i need to generate the total number of enemies that have to be spawn, and spawn them a few at a time. When they ...
2
votes
0answers
159 views

unity lag while moving a sprite

I'm trying to build a 2D game for android and after I finished developing the game I noticed that there was lag present when moving objects around. I tested it on a phone much more powerful than my ...
2
votes
0answers
30 views

How can I run homebrew program discs on unmodified Wii consoles?

I know that one can play backup games on any Wii console via burned discs, but is there a way to actually run homebrew programs on a Wii? I am asking this because I have run across GameCube Linux ...
2
votes
0answers
75 views

How to export unreal assets in a package like in unity?

Unity has an asset exporter that export it into a .unitypackage format. This ensure that the prefab has all the links to its child assets. In Unreal 4, its migrate tool allow for moving of assets. ...
2
votes
0answers
79 views

using IK functions in MecAnim

The documentation on how to use IK functions clearly states that an Animator Controller with at least one animation for the character is required and then Layers pane, IK pass, etc... However, I ...
2
votes
0answers
48 views

Consistent Shadow Map Filtering

I want to filter my shadow map generated by PSSM, but the problem is that I have a inconsistent filter size. The problem is that the shadow map sources rotate to find the best fit for the camera ...
2
votes
0answers
54 views

3D Zoom To Mouse Cursor accounting for Change in Camera Pitch

Overview: Simply put, I'm trying to make a zoom to cursor algorithm. This would normally be very simple, but the implementation of the camera is making it difficult. As the camera zooms in and out, ...
2
votes
0answers
38 views

libGDX AppWarp integration problem

I have tried to use up AppWarp's old SuperJumper as a sample to create an up to date project from it with Gradle. Maybe it is good for learning. So, I have downloaded project from GitHub(https://...
2
votes
0answers
59 views

Custom 3D Renderer: Frustum clipping

I have recently been toying with the idea of creating a 3D-renderer from scratch and, after looking into it, doesn't seem like such a behemoth of a task as it sounds. Last night, I was tossing and ...
2
votes
0answers
173 views

Render to texture and then to screen cause flickering

So I have my class vItem which has a vector (consider elements like layers) of textures, origin rects and destination rects plus other stuff. Basically whenever I update any of the layers in the ...
2
votes
0answers
116 views

Changing AnimationOverrideController “sometimes” fails - Unity 5.2.1

I have the following code, in a menu where you can chose the armor and weapon of a character: private List<string> armors = new List<string> { "armor1", "armor2", "armor2" }; private List&...
2
votes
0answers
212 views

OpenGL textures make very low fps

I loaded some textures just one time before I go to my mainloop(glutMainLoop). I am using SDL for the texture loading. However, when I compile, my game is running at 6-10 fps. When I don't load the ...
2
votes
0answers
17 views

Eliminate an Actor dragged outside SlotTarget

As the title suggests, i would like to eliminate an Actor from the Stage when the player moves it outside my SourceTarget. The default behavior of DragAndDrop class doesn't allow to drag an Actor on a ...
2
votes
0answers
49 views

Which are the option to promote my app game in different app stores?

We've few Android App projects at the moment anmd we're looking for a way to publish our appGames in differents AppStores around the globe. Do someone know a fast way to submit or some management ...
2
votes
0answers
73 views

My collision detection is not working when I rotate my mesh in three.js

I am trying to move a ball mesh through a maze. The maze belongs to a parent object3d. My issue is that when I move the ball I can't detect collision right well because in the rotation, the axis ...
2
votes
0answers
187 views

How do i add a rain effect to a top down design game in Java, using no external libraries?

I'm creating a top-down game for my A-level/college computer science project, and I'm trying to implement rain. The game needs to be usable on any platform, so the use of external libraries is out of ...
2
votes
0answers
52 views

Improving Position Sync Bandwidth Usage in a Multiplayer Game

This is the class i use to sync position between clients in a multiplayer top-down 2D shooter game: [System.Serializable] public class MovementUpdateClass { public int MessageTime ...
2
votes
0answers
288 views

How To Create A Dynamic 2D Rope In Unity?

I'm trying to create a 2D rope in Unity that is fixed at one end and other is moving up and down to pick up objects just like a crane. I've tried adding a cube and making more instances of it, ...
2
votes
0answers
85 views

SDL2 SDL_CreateTexture returns pointer to existing texture

I have an initialized renderer in SDL2 that works fine. I create some textures from images using SDL_CreateTextureFromSurface and store them in a vector. Afterwards, I create an empty texture so as ...
2
votes
0answers
57 views

Mouse Interaction in 3D space (ray)

I use this code public static Ray CalculateRay(Vector2 mouseLocation, Matrix view, Matrix projection, Viewport viewport) { Vector3 nearPoint = viewport.Unproject(new Vector3(...
2
votes
0answers
126 views

Ways to get around the limiting default terrain shaders in Unity

I am trying to use the Toon Rim Light shader for Unity however there are a few problems when trying to use any custom shaders for a terrain in Unity. The most well known is of course, that all ...
2
votes
0answers
54 views

GPU Spatial Clustering

I have a around 100k points on the screen (that might update). 2D points. The goal is to cluster them into groups, by a constant distance. Meaning, finding groups of points that the distance between ...
2
votes
0answers
61 views

Proper setup for Mecanim standing jump animation

I have a character standing jump animation with that the character at start prepares for the jump (flexing downwards) and then jumps up in the air and i'm wondering how to get it working properly with ...
2
votes
0answers
79 views

Record voice and Comparison prefab audio in unity

I am android programmer that i Comparison Entrance voice with ready voice(prefab voice) for example when you say hello >>>>>to analyze>>>>>if your voice == prefab voice >>>>>you listen hello(play ...
2
votes
0answers
62 views

Get a body from TiledMap via MapBodyBuilder and draw a sprite on it in LibGDX?

I use a various of MapBodyBuilder in my Libgdx project. I created a body from map.tmx via my MapBodyBuilder and in my SpriteBuilder buildSprite method i created its sprite: sprite = new Sprite(atlas....
2
votes
0answers
62 views

Restore IAP in Android using Prime 31

can someone please guide me how to restore purchases in android using prime 31. What my basic understating is to get the list skus which player has purchased after he logs in with his account and ...
2
votes
0answers
101 views

Isometric tiles math for 4:3 ratio (64 x 48 pixels)

I've read and tested the code from this article, http://clintbellanger.net/articles/isometric_math/, and also from this Isometric rendering and picking? and I can get the math and tile picking to work ...
2
votes
0answers
49 views

Possible to make/use a “preset animation” on multiple 3D characters?

So im new into game developing, so I'm sorry if this is a stupid question. The thing is, that I'm currently making a game, and I'm done with my 3D characters. The only thing that is left, are the ...
2
votes
0answers
205 views

In Unity, how do I make a 3D flight arc preview?

I'm stuck on how to make a preview trajectory for a projectile appear when holding a button. The trajectory should start at a certain position on the scene and end wherever the player points their ...
2
votes
0answers
67 views

Scene2d cyrillic font

I'm trying to use cyrillic(Russian) letters in libgdx Scene2d. I drop default.fnt and default_0.png (generated with BMfont) into folder assets of my Android project (other files such as uiskin.atlas,...
2
votes
0answers
45 views

How would I add a sound variable to my code?

I am writing some code in JavaScript for a ray cast shooting program. I have all the variables I need except for sound, and I'm not too sure on how to add that variable into my code. I would really ...
2
votes
0answers
64 views

Spawning enemies in four different positions with a fixed trajectory in android game

This is my first android game, I appreciate all the help. I want to define 4 spawning zones starting from out of the screen (left, right, up and down). Enemies coming from this areas have a fixed ...
2
votes
0answers
46 views

Formula for model matrix with mouse coordinates

I'm trying to create a simple OpenGL app where I can drag objects with the mouse. The code below is based on a raycasting algorithm covered here. I'm using the diff between the current mouse coord ...
2
votes
0answers
44 views

Android native database organization

I am developing an Android native game, but I have problems with Data Storage. For a better comprehension think it like as i am developing Clash of Clans, but with Native Andorid. Now imagine I have ...
2
votes
0answers
33 views

Weird warping with per-vertex normals

I've had this little problem for a while now, where for some reason my calculations for per-vertex normals results in a weird distortion or warping, skewing my lighting, shading, and reflection passes....
2
votes
0answers
132 views

What's the most optimized way to transform series of points into curves in order to be serialized?

I’m working on a video game where I need to display a map (in 2D) of an actual big European city (Paris, London, Madrid… that kind of big) and the player, displayed as a simple dot on the map, can ...
2
votes
0answers
46 views

What is the most efficient way to determine collision path

I am trying to create a game in which I need to know if two objects will collide in the future, and when. I have both object's position, radius (they are circles) and velocity. A specific example of ...
2
votes
0answers
57 views

Phaser: Shader Chain

I want to implement lighting via shadowmaps. I see process as: 1) render something to RenderTexture1(size as game) 2) create RenderTexture2 (custom size) 3) add it to Image2 (custom size) 4) apply "...
2
votes
0answers
60 views

Efficient mobile rendering order, given transparent vs. non-transparent objects

I'm interested to know how others would do / have done this. Part 1. Constraints. My current renderer is being built to support OpenGL ES 2.0 primarily and so aims for performant mobile as well as ...

15 30 50 per page