0
votes
0answers
20 views

error in post a screen shot of game scores with Android Intent in LIbgdx game

I want to post a screen shot of my game on social apps. I have developed this game using Libgdx framework. I have created an interface in Core class. Here is its Intent share specific code. ...
4
votes
2answers
59 views

Body lost a velocity component when hitting a wall

I am creating a Breakout game using Box2D (of LibGdx if anyone interest). Everything works well until when the ball hits the wall when moving with a very small angle. Please look at the image for ...
0
votes
1answer
55 views

Targeting the last thing that shot me [on hold]

I am working in Java on Eclipse I am attempting to make a code that will target the last place the player was at in a 2D enviorment. Once the enemy is hit it will then charge that location 2 seconds ...
0
votes
0answers
39 views

Implementing wall-sliding physics in THREE.js

Yo, Basically I want to make a 3D environment where the player can walk around a 3D world, and collides with objects / terrain like any other 3rd person / 1st person game. The world can contain any ...
1
vote
0answers
37 views

Calculate Orbit Path/Ellipse given mass, velocity, and distance (2body)

Calculate and draw the path of an orbit in a 2 body problem given the mass, current velocity, and distance of both bodies? We're working in Unity and will be using the default rigidbody.mass to start ...
0
votes
1answer
45 views

How do I use rigidbody2d.AddForce to apply a force in the direction the object is facing?

I'm trying to create a thruster on a spaceship. It should add this thrust in the direction the thruster is facing, but I am at a loss on how to get that direction and send it to AddForce. Am I even ...
-1
votes
1answer
14 views

Easy SpriteKit question on creating a function

The following code is what I'm working on to animate characters in a SK scene class. I can run the code without building, no problem, but I can't build it and run it; I get one error message: Binary ...
0
votes
1answer
58 views

Handling input with callback functions

I'm not sure if I understand callback functions completely - they are functions that another function calls? This seems like a powerful tool, especially w/r/t handling input. I've written up this ...
0
votes
1answer
32 views

How, if possible, do you add loop cuts to models in real time?

I am working on a prototype for a very low poly game. I can't figure out a way for a player to cut or break objects in real time without predefined fractures. For example, if a player cuts a tree, it ...
4
votes
1answer
50 views

Why does my Outlined Diffuse 3 shader seem “detached” at a distance?

I'm using the Outlined Diffuse 3 shader from Unity and I'm having a problem with it: the outline looks great when the camera is near the object, but at a distance, it looks detached. From nearby ...
0
votes
0answers
35 views

Monogame 3.3 SoundEffect play Freezes

After using Monogame 3.3 with Xamarin Android, SoundEffect.Play method freezes the game. I try to convert wav files 8bit mono, 16bit mono no changes. This error on Samsung T101 android 4.0.3 but ...
0
votes
1answer
81 views

How do I make an entity move dynamically based on the player? [on hold]

I have an Entity instance and an Player instance, both have x and y coordinates in the game. The entity shall dynamically follow the player according to its coordinates. I immediately tried using ...
1
vote
1answer
57 views

Question regarding irradiance

I know that the formula for irradiance at surface point p with normal n given a point light source at position l is: H = I(cos x) / ||l - p||^2 Where: x = angle between n and l-p I() = Intensity ...
2
votes
2answers
41 views

Unity: Editing a DontDestroyOnLoad object in another scene

I figured out how to make certain objects like my Camera and Canvas persist across scenes, but I can't figure out how to access them in the editor from scenes in which they're not instantiated. I can ...
2
votes
2answers
89 views

AI for Shogi, dealing with high branching factor due to drop rule

I'm writing a Shogi program with a computer player in Java from scratch as my undergradute dissertation project. Due to the drop rule, when the computer player captures a few pieces, the branching ...
0
votes
0answers
39 views

2D Arbitary Polygon Collision

I would like to implement something like autocad's lasso selection in 2D. I am looking for a good enough algorithm to achieve this goal. Lasso selection is arbitary polygon (can be concave or ...
0
votes
0answers
28 views

tex2Dlod to limit max mip level to use for a texture (atlas)

I'm developing a 3D multitexturing terrain engine in C# on Monogame (XNA) plateform. I would like my engine works on Windows XP or upper, so on DirectX 9c minimum. Monogame allow me to build a DirectX ...
0
votes
2answers
40 views

How to deactivate a button in unity 3d

We have a set of buttons in our game. Each one corresponds to a particular instrument. we have to implement the foll: a button should become deactivated after being clicked once implying that the ...
0
votes
0answers
33 views

2D animation customization based on 3D model

We're looking for a good pipeline to create animated assets for our 2D game. Characters are seen from isometric viewpoint, and there are several characters with the exact same animations (idle x 4 ...
0
votes
0answers
28 views

Store a Unity map on server-side

For a 3d Hack'n'Slash game I am currently using Unity as client and Java wit OGserver (Netty with some game-related features) as Server. I am on the map part of the development, actually I just have ...
0
votes
2answers
35 views

Position child on the edge of the parent circle while scaling unity3d

I have come across to some different situation. I have one circle sprite and i am rotating circle continuously while rotating i want to make circle smaller and larger. I have one object on the edge ...
2
votes
1answer
60 views

Big 2D world Unity3d

I am planning to make a 2d tile based platformer with big world like in terraria. I have some questions to ask on how to manage this big world in Unity3D. The Scenario World Size = 1000 x 1000 = 1 ...
0
votes
1answer
74 views

How can I store additional attributes on DCEL edges?

I am currently working on a city generator, and I've ran into some issues with data storage while working on the roads. I currently use a doubly-connected edge list (DCEL for short), to store the road ...
0
votes
1answer
49 views

Unity 5: 3rd Person Controller runs by default. How to change this?

I have been working with the Third Person Controller of the Standard Assets (called Sample Assets in the beta versions) in Unity 5. When the player press the forward button, the character runs by ...
0
votes
1answer
22 views

Button detection in unity3d

we are developing a a game in unity 3D . To play the game we need a number of instruments. we have given a set of buttons to activate the instruments: each button corresponds to a particular ...
1
vote
1answer
48 views

3D GUI Shader Problem

So I want to create one of these in my directX11 project. The little axis there that shows you the direction. I have a nice 3d shader for my world geometry that I tweaked from Frank D. Luna (He ...
6
votes
3answers
162 views
+50

How is RTS local avoidance handled?

Currently, I'm simulating physics impact forces for local avoidance of units but this method sometimes pushes units out of formation and has very undesirable effects when units clump up. For RTS ...
0
votes
0answers
33 views

Can I test my apps on an android phones without a carrier or sim-card? [closed]

The emulator is great but I wish to own a personal Android phone for testing my application. The only issue is I have an iPhone and a carrier already: Can I test my apps on an android phones without ...
0
votes
1answer
32 views

In Unity, what does the camera script's “Behaviour missing” error mean?

I started in Unity few days ago and made a cube with a tank control style. Now I'd like to create controls similar to 3D fighting games (Gunz, Blade Symphony, …): Control body direction with the mouse ...
0
votes
1answer
37 views

box2d not centered in sprite [duplicate]

I am trying to create a bounding box for my sprite using box2d, but the box is being created at the wrong spot. I followed a tutorial on the wiki using this code BodyDef bodyDef1 = new BodyDef(); ...
2
votes
1answer
52 views

Proper normal vector transformations in normal mapping

Hello! This question is about transforming normal vectors from normal maps properly. I have tried methods from over five sources, still can't get it to work, and I'm really desperate. Included are ...
2
votes
3answers
168 views

In a 2D top-down game, how can I create projectiles that have a height?

A 2D game called Deer Hunter has projectiles like this: Are the projectiles 2D or 3D models? How could I implement something similar?
0
votes
0answers
29 views

Is older tutorials useful for latest unity? [closed]

Will I face any problem if I use the tutorials and books made for unity 3/4 to learn unity 5 with no experience?
0
votes
1answer
39 views

How do I rotate a cube around an axis, relative to the camera view?

I want to be able to rotate a cube, either by dragging vertically to rotate it around the Y-axis, or dragging horizontally to rotate it around the X-axis. However, when the camera is rotated 90 ...
4
votes
0answers
81 views

Liquid 3D Object [on hold]

Okey now there is something I have been Struggling with for the past 2 Days, I think I am stupid or something. I need to make a Liquid 3D Object, It is really complicated what I need to make. so I ...
0
votes
0answers
48 views

Borderlands 2 Screen Tearing [closed]

Newb here! I have an Acer 15.6 Inch Laptop Core i5 4th Generation. It is running on Intel HD Graphics 4400. I just bought BL2, and wish to play it on my new 24 inch monitor. Rendering graphic wise, it ...
-2
votes
0answers
72 views

How to draw a curve in opengl [on hold]

I've just started learning OpenGL. With OpenGL I am trying to draw a car model with programming language C++. In this model I can not draw the curve in the car body where the tires will placed. I've ...
0
votes
1answer
19 views

b2DistanceJoint with frequency equal to 0 vs b2WeldJoint

What is the difference of b2WeldJoint and b2DistanceJoint? They both have frequency and also when you put frequency of Distance Joint to 0 it acts like Weld Joint. It seams that you can create ...
0
votes
1answer
27 views

Unity Issue with Vector3 and Transform

So I am currently running into this error Cannot implicitly convert type 'UnityEngine.Vector3" to 'Unity.Engine.Transfomr' I am not to sure on how to fix this issue because I am very confused on ...
0
votes
0answers
31 views

How can I change the radar shape in a GTA 4 mod?

I am new to the GTA modding world. The first thing I would like to do is to change the shape of the radar from round to square. How can I accomplish this? I've tried editing the radar texture in ...
0
votes
1answer
41 views

OpenGL ES 2.0 2D-Image displaying

I have followed the official OpenGL ES tutorial to create a working OpenGL-environment. I have been able to do anything I wanted to except for displaying 2D-images. To do so I worked through this ...
0
votes
0answers
33 views

How are trophies in Clash of Clans calculated? [closed]

I've browsed like the whole Internet. but didn't find any particular formula for calculating trophy outcome in a PvP game in Clash of Clans. This is what I figured out so far: at some point I ...
0
votes
1answer
77 views

DirectX11 Equivalent of OpenGL code

I am currently porting parts of my engine over to D3D11 from OpenGL and was trying to figure out how I would accomplish the following blending functions in D3D11. glEnable(GL_BLEND); ...
2
votes
0answers
70 views
+100

cocos2dx - Swipe and cut the sprite

I am trying to implement swipe and cut a sprite using cocos2dx and inbuilt chipmunk. The image below explains what I want to do For the solution I have done following things Enabled physics in ...
35
votes
5answers
3k views

When prototyping, how can I more easily explore game behaviour?

I build indie games myself, but I'm usually out of energy once I've taken a newly developed game to a level where it's possible to play with behavior, so I settle for refinement instead of ...
0
votes
1answer
35 views

Why don't I have some settings in GameMaker?

I recently bought GameMaker for Mac, however upon watching a few GameMaker videos I've realized that I don't have all options available. For example, in "Sound Properties" in other videos people ...
0
votes
0answers
34 views

WebGL techniques for normal mapping on morph targets?

I'm currently morphing some meshes by interpolating their positions and normals between target arrays, on the GPU, in WebGL. Now I need to apply normal maps to those morphs. For normal maps on ...
1
vote
0answers
19 views

Integrating specular, diffuse reflection and refraction

I am implementing an MLT bidirectional path tracer. I have a problem integrating diffuse, specular reflection and refraction. 1) The first problem is diffuse and specular reflection. Diffuse ...
0
votes
1answer
287 views

In a List, how to set an element to true and the rest of element to false? [closed]

I have this List of character objects. I would like to make so that every time I select a character, the game deselect all other character. In this character class I have a variable called selected ...
0
votes
0answers
30 views

Minecraft Forge Look for Entities in a Certain Location

The title mostly explains it. I have a tile entity that is called Energizer. I want this energizer to check to see if there is an EntityItem on top of it and if so, consume it and create energy. The ...

15 30 50 per page