1
vote
0answers
20 views

Unable to draw tabular view for images in libgdx

I am trying to draw a table of images using images from my asset folder. However I always get a blank black screen.If I replace the images with textbuttons, then I am able to draw the buttons in ...
1
vote
1answer
57 views

understanding game networking

I have been working on a real-time game, and am closing in on the point where I send and receive data. I have previously accomplished this before with a couple other test games, but I have never ...
1
vote
0answers
13 views

How to read monogame log files on android device

I am working on a monogame android project where I want to log some data. First try was something like this: Log.Info(tag, message); This works great when debugging in Visual Studio via the Android ...
0
votes
0answers
16 views

Cocos2d - update() cannot acces child object

I'm writing simple game in c++ using cocos2d. I created 2 objects of class Physicist in my HelloWorld class and I added them as child nodes. In update() function of HelloWorld class I'm trying access ...
2
votes
1answer
31 views

Unity - resizing particles dont mantain collisions properly

I am trying to make particles for blood on death. This is what I got so far: Which looks fine and all. But now I also wanted to make the blood particles turn smaller over their lifetime, so I ...
0
votes
0answers
31 views

Do I need ONLY unreal engine to make 3d games like watch dogs? In terms of tools [on hold]

I know I need a game engine to make 3d games, but I don't know what else I need. Can unreal engine help me build a game from top to bottom without needing to switch between applications to do ...
1
vote
0answers
22 views

Renderable object abstraction

In my engine I have 2 types of 2D renderables: sprites and groups (and maybe primitives later). Sprites are just textured quads and groups are multiple renderables grouped in a single object. I have ...
0
votes
0answers
5 views

Android Ant Release Signed Build Stopping with Google Play Services Library

I'm trying to build my android app in release build with google play services. First off, without any extra libraries, I setup my keystore and alias password and include it in ant.properties of my ...
3
votes
0answers
24 views

How to imbed one Unity project into another?

I'm creating an AI course in Unity. With regard to my question, there are two important properties of the course: Each tutorial is a separate Unity project that can be loaded up, allowing the ...
1
vote
0answers
13 views

How to include moai in lua code for running it using luajit?

I'm running moai from ubuntu for some simulation purposes. I have a lua script that is executed using luaJIT. Now I want to run a simulation written based on moai from within this script. As of now,...
0
votes
1answer
19 views

Is it possible to debug a Unity Android game directly on a device?

I'm working on my game and every time I make changes to it I send the game to my mobile device to debug it. I want to know how I can directly debug my game using an Android device instead of the ...
2
votes
0answers
22 views

What is the formula for the collision of two “stretched spheres”?

In Smash Bros Melee, hitboxes aren't perfect spheres or boxes. They are, instead, a shape that looks like a continuous line of consecutive spheres: I.e., the geometry can represented as: Hitbox :...
0
votes
1answer
12 views

Why does SpringJoint2D in Unity 5 doesn't have a configurable spring force like SpringJoint does?

I'm working in unity 5.3.4f1. Looking at the SpringJoint2D class I can't seem to find a similar "spring force" as in spring in SpringJoint. Is there any other way to make a spring stronger in ...
3
votes
1answer
27 views

Changing some color of a texture using C# in Unity

It's almost 2 days that I'm looking for a way to do this in Unity using C#, but still no luck. Imagine you have a texture with different colours (this texture can be a rug), and you just want to ...
0
votes
1answer
12 views

Can't get to work Spritefonts on monogame 3.5(using Visual Studio 2015 Comunity)

I've been trying to get to work spritefonts, but to no avail. I've added the pipefont to the Pipeline but when I try to load it, it shows this error here Here it is the spritefont content <?...
0
votes
0answers
9 views

Jerky mouse follow JS/HTML5/canvas

Can someone please advise. I am trying to create a simple mouse follow program, all is fine aside from when the mouse is moved too frequently, the movement is really jerky. Can anyone help? I am ...
0
votes
1answer
13 views

Add points to a prefab in Unity

I have a prefab that looks like this: I have created a couple of 'points' in the Hierarchy using 'Create Element' and I would like to attach them to the prefab, however drag and drop over doesn't ...
3
votes
1answer
33 views

Respawn not working properly upon scene reload. Why is this?

So I made a respawn function and what is supposed to happen is the script it supposed to load a saved checkpoint. However I need to reset the scene (and again this worked just fine last night which ...
0
votes
1answer
22 views

Libgdx music is not working properly

I finished my game programming but I have small problem, please help me I want to finish it completely. I am starting background music when the user goes to the PlayScreen and when the kid in the game ...
-1
votes
0answers
11 views

Rectangle Flash fix and draw string

Now I have a code which works :) But now I have 2 bugs and I don't know how to fix it. I am drawing a rectangle (that works) but it's flashing and I dont know why. The second bug is i did a score int ...
1
vote
1answer
23 views

How to make a visible area in unity3d

the simple way to explain it is an image I want to have a black background and to show only a small area around player. Which way I have to look? I have no clue where to start searching :) Thanks.
0
votes
0answers
19 views

Creating new browser multiplayer game

I decided to make an browser-based multiplayer game with huge armies. So far in a year i have created an army editor, where you can create armies, place then anywhere, set several moving targets and ...
1
vote
2answers
43 views

How to create Half hemisphere 3D model

I already have an hemisphere.obj 3D model. But I'm trying to build a half-hemisphere (quarter sphere) model. How can I do that? What is the easiest way to do that? Generally, is there any easy way to ...
1
vote
1answer
43 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 ...
2
votes
1answer
30 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
12 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
13 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
4 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 ...
1
vote
4answers
47 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
16 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
35 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
15 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 ...
3
votes
1answer
68 views
+50

How to use Irrlicht game engine in cygwin?

How can I develop a game with Irrlicht game engine in a cygwin environment? I tried google, but honestly I didn't find any useful tutorials about setting that game engine in cygwin. Thanks, Ehsan.
0
votes
0answers
27 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 : ...
1
vote
0answers
13 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
26 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; ...
1
vote
1answer
148 views
+100

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
33 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 ...
1
vote
1answer
38 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
17 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
33 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 ...
-2
votes
0answers
32 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
25 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 ...
2
votes
1answer
41 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
73 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 ...

15 30 50 per page