0
votes
0answers
6 views

android game change background image at every level?

I want to be able to have a different background image at each level of my game. Presently I have only one. There is no layout folder shown in Android Studio and all info I have searched shows how to ...
0
votes
0answers
5 views

LibGDX - FPS drops

I've been trying to record some gameplay footage of the game I'm currently working on, using the Android SDK and ADB to do it. Whilst the game runs at constant 60 fps in my medium-end phone, as soon ...
0
votes
0answers
5 views

Libgdx - notification popup (something like Toast) - on both Desktop and Android

I'm trying to implement a notification system with LibGDX. As we know, Android has it's Toast which is great, but I can't use it in Desktop mode. I tried extending Dialog etc, adding as an actor and ...
0
votes
0answers
7 views

Libgdx Music is not working again

I am starting background music when the user goes to the PlayScreen and when the kid in the game dies, the background music stops and starts game over music and move to game over screen, then the user ...
0
votes
0answers
3 views

Cocos2d How to get Smooth rotation of sprite when using Sprite->setRotation()

i have simple round circle joystick when i move the thomp on the circle joystick it moves simple sprite so when i get for example 40 Degress in the joystick i set the sprite setRotation(40) all this ...
0
votes
3answers
12 views

How to find nearest gameobject on one side

Here is an example: The left enemy robot is closer than the right enemy robot, but I want the character to attack the robot that is closest to him on his right side. I can't use Physic.SphereCast ...
0
votes
0answers
10 views

Unity 5: Turn slippage in Rigidbody + Capsule Collider which disappears with addition of Character controller

I play the animation from the raw mocap data with my character loaded into the sample window animation...however, the character slips when turning. The current configuration is capsule collider + ...
0
votes
1answer
21 views

Combining lots of small polygons to one (some) big poly(s)

I am looking for algorithm to merge lots of relatively small 2d polygons to one or some big polygons. In case two small polygons are touching or overlapping, they should be merged to one polygon. My ...
0
votes
0answers
8 views

Phaser.io with Socket.io - What should the Server calculate and what the Client?

I'm currently playing around with phasio.io and socket.io to create a really simple multiplayer. For the beginning i created basic movement which is synched via socket.io. The clients are sending ...
0
votes
0answers
12 views

How to use Irrlicht game engine in cygwin?

As in title how can I develop game with Irrlicht game engine in cygwin environment ? As I googled, honestly I didn't find a useful tutorial about setting that game engine in cygwin. Thanks, Ehsan
0
votes
0answers
22 views

Zoom camera on player

I am developing a simple side scrolling game. I want to target and zoom camera on player when he dies. But it rotates the screen, and I want to prevent it. I'm copying the snippet of code here : ...
0
votes
0answers
10 views

Testing Live Ads Before Publishing Admob

I am testing ads with the test device method and test ads are showing perfectly but when I try to load live ads they won't load. I have implemented the OnAdFailedToLoad which tells me that ads are ...
0
votes
0answers
19 views

Unity C# - The object of type 'Object' has been destroyed but you are still trying to access it

I have a cube on a plane and I'm tring to move it to certain locations. I've baked the area and added a navmeshagent to the cube. My moving script for the cube looks like this: using UnityEngine; ...
0
votes
1answer
50 views

Calculate the displacement of device in unity

I'm making a 3D game in unity where the object should move forward and backward as the android device moves/accelerates in the Z axes. ie. When the player moves the devise in the direction of the +ve ...
0
votes
0answers
27 views

Simulating a rope in 3D

I want to simulate a rope in 3D. My aim is to code everything myself using Unity 5. I think it will be easier to implement a 2D rope first and then move on to the 3D version. I have read many ...
0
votes
1answer
33 views

Can't access properties of a class

Sorry for the bad title, but I couldn't think of a way to word my problem for a title. So I have this script, with two classes: using UnityEngine; using System.Collections; public class GameItem { ...
0
votes
0answers
13 views

How to force download unity asset bundle using php?

I am downloading asset bundle using <?php $file_url = 'http:XXXXXXXXXX.com/AssetBundle/bundle-numb'; header("Content-Type: application/octet-stream"); header("Content-Transfer-Encoding: Binary"); ...
1
vote
1answer
31 views

Should I slow down my animation with co-routines or update the animation state?

I want to gradually stop the car animation as it collides with another car gradually speed up the car animation as it exits the collider I have two ways to achieve this. Update Co-routine For ...
-1
votes
0answers
25 views

Beginning game development [on hold]

Ok I'll admit this may not be the correct board for this if it's not just push me in the right direction to meander. With a game design in mind and a design document half finished I'm feel a need to ...
1
vote
0answers
21 views

Map video texture to a half sphere in Unity

I'm new to unity3D. and am trying to play a 360-degree video. But instead of mapping the whole 360-degree (equirectangular) video to the whole sphere, I need to map the half-video to a half-sphere ...
0
votes
0answers
21 views

How to make map generation with Perlin noise look more like an actual map

I have been following a guide on Perlin noise, but I can't post the link here because of my current reputation level. I will post code if needed. When I get noise from this distribution, I tend to ...
1
vote
1answer
69 views

Java Distance between two Vector positions never 0

I have a Player moving, but when the player reaching the destination it should stop. But problem is that distance never return 0. It starts printing this: 0.9672514210000003 End by this and then ...
0
votes
1answer
38 views

What are the core concepts needed for a basic game? [on hold]

I'm planning on using JavaFX to develop my first game, and I just wanted to know what are the core concepts I need to understand first? From my research so far it seems to be animation and collision ...
0
votes
0answers
34 views

How is a game's object data loaded in a game engine? [on hold]

In a Game engine like unity with Editor support how excatly are game objects like scenes, cameras, math objects created and loaded? I have only ever worked with libgdx as a game engine, where we need ...
1
vote
0answers
11 views

How do I resolve the inability to get an input stream from URL?

I am unsure if anyone has ever had problems with this, but I am having difficulty trying to get the URL to work properly however, this is what the logs says javax.imageio.IIOException: Can't get ...
0
votes
1answer
17 views

Setting up a custom cursor image in LWJGL 3

How can I load a custom cursor image with LWJGL3? It took me a while to figure this out. Here is how it is done for version 3.0.1. Hope this helps.
2
votes
0answers
11 views

Porting to Android…what is the equivalent of Properties.Settings.Default?

I'm porting my MonoGame/OpenGL app to Android. My game uses Properties.Settings.Default to store user preferences. What is the equivalent of this in Android?
0
votes
0answers
16 views

What's the best book to give you the math and physics background to make your own game engine? [on hold]

I want to make my own game engine, but could use a refresher on math and physics. I already know some stuff (like how to multiply matrices, integrals, differential calculus etc.). I've narrowed my ...
2
votes
2answers
55 views

With Unity and Mecanim, how do I trigger an effect animation?

We have a Mecanim animation. We'd like to play a particle effect on it at a certain frame in the animation. Do we need to use an AnimationEvent and have it call a function that triggers the effect? ...
2
votes
0answers
14 views

Emissive material not casting light on itself in Unreal

I have a static mesh that has an emissive material applied to part of the mesh. The emissive material successfully cast light to surrounding objects. However, the face of the mesh with the emissive ...
0
votes
1answer
47 views

Is drawing an entire game to a render target and then scaling it up a viable solution to a pixel-mismatching problem?

To clear up some possible confusion caused by my title, my game is meant to be pixelly. I currently achieve this by multiplying sprite sizes and locations by a constant called World.Scale (currently 8)...
2
votes
1answer
31 views

How can I resize SDL2 windows efficiently?

I guess resizable windows are not being optimized for in game development but still... The following piece of code demonstrates a problem I'm having: resizing the window is very slow. Basically the ...
0
votes
2answers
64 views

How do I make a game over screen like Temple Run or Subway Surfer?

When you die in one of these 2 games I took screenshots of (Temple Run and Subway Surfers), what exactly comes up to say "Game Over" and posts your score and all-time high score? Is it a different ...
1
vote
1answer
56 views

Drawing on an image before drawing on screen in XNA using VB.NET

I'm programming a game in XNA, using VB.NET. I want to create an intro to the game that zooms in/out the whole screen and scaling each image to accomplish this is cumbersome at best. I like to be able ...
0
votes
1answer
35 views

What is the difference of target frameworks for unity3d?

In Visual Studio in properties I can change target framefork. I cannot find anywhere what means all of these magic titles. What does it all mean (full, micro base, subset, web base)? And...Can I ...
1
vote
0answers
14 views

Concerns about using a 3D tileset grid

I'm thinking of implementing a 3D tile system for my engine, and tie it to it's world streaming system as well. As in, using it for it's terrain for an open world in an engine that theoretically can ...
1
vote
0answers
15 views

Networked projectiles in an authoritative server

I'm working on a multiplayer game, and I've implemented a simple enough player prediction (according to this great article) - which works well enough. What isn't discussed there, and my question here;...
0
votes
0answers
43 views

How to make Level Editor in C# for a DirectX engine in C++ [duplicate]

I have been trying for months to make a Level Editor for my C++ DirectX Engine. I have tried using a C++/CLI wrapper or P/Invoke to do this. Neither seems to work. Can someone let me see a sample of ...
1
vote
1answer
58 views

How my bullet can take HP from enemy?

using UnityEngine; using System.Collections; public class GunScript : MonoBehaviour { public Transform barrel; public float range = 0f; public Rigidbody myBullet; void Update() { ...
-1
votes
0answers
23 views

Error when setting DirectX HWND handle in C# [on hold]

So I am currently making a Level Editor in C# based of a C++ DirectX Engine which is compiled as a DLL. Here is the code: using System; using System.Collections.Generic; using System.ComponentModel; ...
2
votes
1answer
56 views

How to code a multi level isometric map?

I have already worked with isometric grids in the past, but in my current project I found an issue I am not sure on how to solve. I am trying to produce something similar to what's in the below screen:...
0
votes
1answer
50 views

Should i make 2 or 3 dimensional game? [on hold]

I want to start making a game, but i have no idea if i should make a game in 2D or 3D .. Both of them are okay (Making 3d graphics are a nightmare, but doesn't matter). I am at middle school, but i ...
0
votes
0answers
23 views

Unable to control trigger events for car animation collsion control

I have different car animation running on the road which have imported from max. I want to make such an intelligent System that if car start to trigger from another car it become stop. So far I have ...
0
votes
0answers
13 views

How can i format and indent obj.inspect in an outputted file?

So i want to examine the data for some of the classes like $data_enemies and at the moment i can output it to a file like this file = File.open("enemies_dump.txt", "wb") Marshal.dump($data_enemies....
0
votes
0answers
49 views

How to design an AI for a car racing game? [on hold]

Good Morning Friends, I am New to the Unity development, I am designing a Car Racing Game, I have a Car with Player 1 which needs to be compete with the Opponent (Player 2) Which is a Computer, My ...

15 30 50 per page