0
votes
0answers
2 views

Issues with StopCoroutine not stopping my attack loop co-routine in Unity

I'm getting some attacking to work with my units and I noticed that the coroutines seem to start adding up even after the StopCoroutine(IEnumerator) as need called. I dug around on ways to perform ...
0
votes
0answers
8 views

how to influence the vertex?

// Attach this script to a camera and it will // draw a debug line triangle triangle // at the triangle where you place the mouse. function Update () { // Only if we hit ...
0
votes
0answers
12 views

Check if is object in camera field and not covered by other object

I know how to check if object is in camera view but how I can check if that object is cover by something elese? In my case I want to turn on or off some effect when I look at light. At this moment my ...
0
votes
0answers
15 views

How to update gametag and call a new animation? [on hold]

I want to change the tag of an game object when a new animation is triggered by the animator parameter. This works, but when my gameObject tag is changed from "fire0" to "fire25" it doesn't change to ...
0
votes
0answers
16 views

My “puck” model object falls right through the “table” model in jmonkeyengine

So I am trying to learn Jmonkey, I have understood everything so far, and I thought i understood how to make objects solid, so things cant go through each other. When i created my Collision shapes, I ...
0
votes
0answers
34 views

I'm looking for an outline of a simple 2D game architecture, as my projects always get overcomplicated [on hold]

So quick backstory: I'm currently getting into game development with C++ and SFML for graphics. I have a pretty solid grasp of C++ so my question is not really language related. What I've been ...
0
votes
0answers
21 views

Is it practical to make a 3D explorable environment in WebGL? [on hold]

For context I have in mind an orienteering game, with basic 3D graphics like you'd see here: https://play.google.com/store/apps/details?id=com.PAOvikiStudio.OrienteerSimulator2014 (built with ...
1
vote
0answers
20 views

Unity - C# - Angle tile not instantiating [on hold]

I'm currently connecting two rectangles with a 'L' shaped line. I have written the code so that it cycles for every position from one rectangle to the other and instantiates some gameObjects that ...
0
votes
0answers
35 views

Hello I'm thinking on developing a game with the time span of Skyrim [on hold]

Hello and thanks to all the support I get, Okay I'm deciding to make a game with the time range and setting of Skyrim. I'm wondering if there is anybody with suggestions to help me or any ideas to ...
0
votes
0answers
17 views

How to implement Lua thread for Sleep function

I am running into a problem in my game engine right now. I want to be able to call Sleep(number_of_seconds) from .lua file (1 only) and halt the execution of the lua file, WHILE the game is running ...
2
votes
3answers
43 views

How to “merge” multiple intersecting circles so that only the outer edges of each show?

In my RTS (In Unity) each unit or building has strategic circles in a similar fashion to SupCom. If you have multiple units or buildings selected it looks like the picture to the left. I want to make ...
-1
votes
1answer
9 views

libGDX's 2D particle editor launching incorrectly

What's going on? Here's my process: I first right-click the referenced library for gdx-tools.jar in Eclipse: I then search for the particle-editor class: It opens successfully, but half of the ...
0
votes
0answers
33 views

Java game check if any of the booleans are true? [on hold]

I have a game where you place blocks. At the moment you can place blocks on blocks I don't want that. In the listen class I do if(canplacetile){ createtile(x,y); } In my main ...
0
votes
0answers
25 views

Adding some recoil to the Camera

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 ...
0
votes
0answers
24 views

Texture to Painted Vertex Algorithm

I want to generate some game textures into coloured vertex arrays. Is there a known algorithm to transform texture/bitmap data into an optimised vertex array. Much like how the Homeworld skyboxes ...
0
votes
0answers
18 views

Efficient billboarding sprites in Unity 5

What's the most efficient way to do billboarding sprites in Unity 5? I want to make a forest of sprite trees in 3d space. Those sprites need to face the camera at all times. I am working on VERY ...
1
vote
0answers
51 views

Recursive backtracking sometimes missing a tile?

I have a basic recursive backtracking alghorithm for a maze. It pretty much works but ocasionally leaves some tiles in the corners untouched. This is the recursive function: void ...
-3
votes
1answer
87 views

Licensing and commercial game development [on hold]

I am thinking about developing my game and have a few questions. I am going to use these softwares and libraries : OpenGL, Visual Studio Express, GLFW. I have publishing and selling my game in plans. ...
-1
votes
0answers
34 views

How do I create a circular progress bar in Unity3D 5?

I am new to programming and Unity3D. I want to show a circular progress bar starting invisible and growing in 3 seconds to a circular line when reloading is done. How can I do that?
-3
votes
0answers
25 views

Want to develop a logical game through Html, css, jQuery and server side language [on hold]

I have some ideas jumping in my brain and forcing me to get attention to it. I want to develop a logical game through HTML, CSS, jQuery and server side language (PHP). This game will be something ...
2
votes
1answer
42 views

Unity : callbacks in component based design

I am trying to use component based design in Unity3d v5. If I have 2 separate C# scripts attached to enemy ships like below: Script1.shipDead() - Remove game object and show explosion animation ...
1
vote
3answers
41 views

Choosing Language on Mobile Game

Currently I'm trying to localize a mobile game into popular language. Apart from technical stuff (like how to store string and including supporting fonts), I'm a bit confused about designing two ...
0
votes
0answers
11 views

Is there any case to mix Android UI with LibGDX?

my question is about creating "non-playable" screens in games with the help of native android tools. For example, I have an Android LibGDX game (singleplatform), what should I use to provide start ...
0
votes
1answer
35 views

Moving skeletal animation blending logic to GPU: worth it?

We have a solid skeletal animation system in our engine. It allows to set up to three animations onto each bone and blend them seamlessly. The animation update (fetching animation matrix given current ...
0
votes
0answers
15 views

Simple switch to instanced draws causes consistent, but incorrect, results

I have dumbed the following code down to "stupid simple" for DirectX and still cannot get any cooperation: g_d3dContext->OMSetRenderTargets(1, ...
-1
votes
1answer
26 views

'The thing you want to instantiate is null' - unity error when instantiating

I have a Game Object called 'car' in my Assets folder. I have this code in C# unity to instantiate it. GameObject car; void Start () { Vector3 position = new Vector3(5, 5, 5); ...
-2
votes
0answers
26 views

How can i play chapter 3 in Modern Combat 5 in iOS? [on hold]

I am having trouble with playing MC5 as in android people can play chapter 3 after finishing chapter 2 but in iOS how can i play? The game is asking me to cross level 10
0
votes
2answers
29 views

Instantiate a prefab on unity and make it appear at a specified coordinate

I have a prefab called 'road'. How can I instantiate it using C# script so that the instantiated object appears at coordinate (5,5,5) ?
-1
votes
0answers
21 views

I want to develop games in WPF. Is it possible to use game engine with it? [on hold]

I am newbie in development of games. I want to develop games in WPF. Is it possible to use game engine with it? If yes, then which one is preferred. Sorry, if the question is repeated.
0
votes
1answer
26 views

Client code handling its own generics when returned by an engine

I'm writing a game engine in Java 8, and have prototype client code written in Groovy. New Game objects can be created with a builder which defines everything which fills in the blanks. To simplify ...
0
votes
0answers
7 views

Libgdx - How to change GestureListener pan finger sensibility?

I implemented GestureListener in my Overlap2dStage to pan the camera when the player drags its finger over the screen. But I also have some actors that extend InputAdapter to detect when the user ...
3
votes
2answers
30 views

Isometric vehicle animation

I am working on a medieval isometric RPG in which the player can ride on horses and in horse drawn carriages. The player's movement is not restricted to the common eight directions; he may move in ...
0
votes
0answers
23 views

How to convert Screen-space translation into World-space translation

private void Translate(SceneMouseMoveEventArgs args) { var camera = args.Camera; origin_screenspace = camera.UnProject(_position).Xy; cursor_screenspace = new ...
4
votes
2answers
206 views

Callback on Derived Class?

How does Unity3D implement their system where if a class is derived from MonoBehaviour and has certain methods like Awake() or Update(), they are called accordingly? I want to do a similar system for ...
0
votes
0answers
19 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 ...
2
votes
1answer
69 views

Unity C# - My parameter 'campfireNew' does not exist (SetTrigger)

I'm trying to set a SetTrigger parameter to call a different sprite animation on a campfire. I tried this also with a boolean, yet again the same error. parameter 'campfireNew' does not exist. Anyone ...
10
votes
2answers
1k views

How does one perform collision detection on objects made of many small triangles?

I understand that any shape can be created (or approximated) by smaller triangles. Any rectangle can be created by 2 smaller triangles. Any circle can be created by many thin "pizza slice" triangles. ...
-2
votes
0answers
29 views

Java how to not place a block on top of another block? [on hold]

Hello I have a game where you build ships you place blocks by left clicking your mouse. Everything works great in this game except you can place tiles on top of other tiles and I don't know how to ...
3
votes
1answer
90 views

Structure for attacking in RPG

I'm going over different ways to implement attacking in a "dungeon crawler". What I have kind of abstracted out... There are 2 kinds of people, The Player, and the enemies, these are both living ...
0
votes
1answer
70 views

Using collectable items to change a gameobject Unity

I’ve been working on a 2D platform side scroller. I’m rather new to Unity and C#. Basically what I’ve achieved so far is a character which can collect Logs throughout the game and those logs are ...
0
votes
0answers
22 views

How to handle Pokemon Evolution in it's Data Structure? [on hold]

I've been working on a more-or-less Pokemon clone and I seem to have pretty much figured out the general structure of the data storage. This one thing I'm not sure how to do well is Evolution and ...
1
vote
0answers
34 views

How can I get the pressure of a touch in Unity?

Does anyone know how to get the getPressure function from the Android API into Unity? Or is there another way I can access the pressure of a touch?
3
votes
2answers
89 views

Can I use the HD Graphics 3000's quad list primitive type via D3D?

I was studying some technical documentation on the Intel HD Graphics 3000 GPU, which I'm using as a lower-end reference for my 2D game engine. I noticed the hardware supports a nice "Quad List" ...
1
vote
3answers
87 views

Detect if two objects are going to crash

i am working on a car game where i am to create an AI, in the game there are other cars and a few objects moving around that i do not want to crash with, i have the speed, position and direction of ...
3
votes
1answer
38 views

OpenGL Framebuffer Object issue

I am struggling with implementing a proper Framebuffer Object . glCheckFramebufferStatus is returning me: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (36054). What am i missing? GLuint fbo, rboColor, ...
2
votes
1answer
28 views

Change Tag of Instantiated Clone

In my game there is a bird flying up and a stream of containers (baskets) is moving from right to left of the screen in the bottom. Baskets are being Instantiated on right and get destroyed when they ...
1
vote
1answer
38 views

Pack four alpha maps into one

I have read an article about texture splatting that says: Because the alphamap only has to be in a single channel of a texture, we can pack up to four alphamaps into a single texture – one in ...
2
votes
2answers
80 views

How did Blizzard implement replay like in Warcraft 3 with not consistent data(attack damage)? [on hold]

Units in wc3 has range of attack damage and it isn't consistent most of the time e.g critical hit and so on. Yet, they managed to make a replay that could even reconstruct bugs scene. I am just ...
3
votes
1answer
28 views

Unity - C# - Overlapping Rectangles not separating

I am Instantiating a lot of Rectangles of different sizes (ranging from 3 to 18 units) and they all have attached this script, which should cycle through all the GameObject List which contains them. ...
-2
votes
0answers
29 views

DirectX 11 Texture artifacts [on hold]

Any idea what could cause an issue like this? void Texture::loadTexture(const std::string& filename) { //Convert filename into a WString for the texture loader std::wstring ...

15 30 50 per page