All Questions

24
votes
2answers
22k views

I can't figure out how to animate my loaded model with Assimp

I have loaded in a model to my C++ OpenGL game. It is a COLLADA file type that I have loaded, and I setup an animation under blender for the file. The problem is I don't know how to animate the model. ...
0
votes
0answers
3 views

Unity Editor - Call a method from a ScriptableObject from its own custom Editor

I have a class like this: public class NoiseMap : ScriptableObject { public string Hello() { //... } } Now I am building its custom editor: <...
3
votes
2answers
930 views

“Your license does not cover Android Publishing” error

I recently installed Unity 2017.1.0f3. I imported a project from an older version of Unity it worked perfectly and allowed me to build for Android. I logged in to the Asset Store through the tab in ...
0
votes
1answer
21 views

SerializedProperty to UnityEvent in a Custom Editor

I am making a Custom Editor for a type that includes a UnityEvent property. I'm currently facing an issue in converting a SerializedProperty to get that UnityEvent. Here is how I declare the event ...
5
votes
1answer
849 views

How can I plot a radius of all reachable points with pathfinding for a Mob?

I am designing a tactical turn based game. The maps are 2d, but do have varying level-layers and blocking objects/terrain. I'm looking for an algorithm for pathfinding which will allow me to show an ...
0
votes
1answer
9 views

How can the ball moving like billiard after collision with wall?

I tried ball.velocity = Vector3.forward * speed and also *=-1 when the collision is occurred(It only works for straight way. But I want the ball movement be liked in photo. How can i do it? Thank you ...
0
votes
0answers
28 views

How can I avoid jitter when working with a 2D movement system?

How can I avoid jitter in Unity? Let's suppose that I want to create a 2D movement system using a Rigidbody 2D(Dynamic), and I want make the camera follow the character (which is a pixel art sprite)....
1
vote
0answers
37 views

How can I make collisions in a game similar to Mario 64?

I'm currently trying to build a kind of Mario 64 -like game (very simplified). The environnement of the game will typically be a bunch of triangles issued from a .obj made on blender. Currently I ...
0
votes
1answer
62 views

Adding components to a GameObject referenced within code

So in my project, I have a class called ComponentRegistry. The idea of this class is to store a dictionary of components and their names. For example: ...
0
votes
1answer
109 views

How can I defy competing games who are forcing their users to write 5 star reviews?

Background I've developed an app in a pretty contested category. It's one of the top three games in terms of quality (out of about 200 relevant games in this category; there are no large publishers ...
0
votes
0answers
22 views

What is a good dev kit that isn't an engine but we can build an engine around more easily? Preferably C++/C# [on hold]

Background I've been working on a game in my spare time for the last 2-3 years. It is built in Game Maker because of the following reasons: I like the IDE a lot and I'm used to it. I like how easy ...
0
votes
2answers
1k views

Can't change materials of model from FBX

I was used 5.x before, and that version when I loaded FBX, Unity generated each material automatically, so I can change them like assigning textures or change shader. And now I switched to 2017.3, ...
0
votes
1answer
8 views

Creating 2d array in gamemaker from code

According to GameMaker2 arrays documentation, GML has 2d arrays. At the same time I could not find any references how can I create 2d array from code. I tried doing ...
0
votes
0answers
12 views

Fail to Start android service in android studio Unity

I have written a service file in android studio like: Manifest file: ...
0
votes
2answers
22 views

Algorithm to detect impossible scenarios

I'm making a simple game where a surface is split up into 4 parts, rows, obstacles spawn in them, and a player tries to dodge them. Up to 3 obstacles are generated in each row, and this can lead to ...
0
votes
1answer
11 views

Ecliptic rotation around parent object

It seems to be answers.unity.com not working for a couple of days, so I ask my question here. Well, I'm using Unity and I have two objects (A and B). Object A is a parent of object B and object B is ...
4
votes
3answers
4k views

How can I remove scores or ban users from Google Play leaderboards?

I have included Google Play game services in my Android game. I see lot of users posting fake scores. Can I ban them or can I delete these scores somehow?
1
vote
1answer
28 views

NodeJS client gameloop running slightly faster than server gameloop

So I'm working on a real time multiplayer game in NodeJs (Client and Server). Both loops handle the same "physics" (movement at a constant rate) and both are running at 40hz or 40 times per second. I ...
1
vote
2answers
70 views

most compact way to represent dice face translations rolling in cardinal directions

I'm making a 2-D dice rolling game in BASIC (think mechanics similar to Devil Dice on the Playstation, but top-down 2D graphics). I'm trying to accurately represent the transitions of a die when ...
1
vote
2answers
31 views

Detect Collisions While Dragging 3D Game Object

Hello i am making a game in which i have to drag a sphere on x axis and z axis on a plane with my mouse and i have created walls from cubes so that my sphere not go anywhere else in the game but while ...
1
vote
1answer
393 views

Texture upside down

I'm making a top down 3d game. I made a model in blender, uv unwrapped it, and made a texture for it. Texture in blender from the top: I saved the model as a .blend file and the texture as a png. I ...
0
votes
1answer
21 views

Whats the general method developers to implement FPS multiple weapon handling animations?

I'm trying to create a first person shooter and I'm lost on what's a good, efficient methodology to implement the whole weapon handling animation system. Now, I know that I could have a unique ...
1
vote
0answers
10 views

Hard coded triangle in HLSL geometry shader doesn't show on screen

In Unity I'm planning on using a geometry shader for processing points into quads and can't quite figure out why I'm not getting output from my geometry shader. I've edited it down to a minimum ...
0
votes
0answers
5 views

IK in collada files and fbx files

I'm currently looking to create my own collada and fbx file parsers. But I read that animations on collada and fbx files are implemented through bones and skinning (skeletal animation). My question ...
0
votes
0answers
11 views

How to extract a point in LibGdx from Tiled map?

Tiled has a feature to insert a point in to an Object layer. But there doesn't seem to be a "PointMapObject" implementation in Libgdx on the doc. currently i am being forced to use a PolylineMap ...
0
votes
0answers
17 views

Item collision detection doesn't work

My GameWorld constructor has the following code inside it. ...
0
votes
0answers
11 views

SDL2-CS and Gtk Sharp like SDL2-CS and WinForms in C#

who knows SDL2-CS embeds in Gtk Sharp 2/3? Similar example by Ethan Lee with Winforms But I really want know how do I fix with SDL2-CS in Gtk Sharp because I am working under Ubuntu 18.04 SDLWidget....
1
vote
3answers
3k views

Can you increase MagicaVoxel size limit?

I'm sure this has been asked before but I couldn't find any helpful information on the internet. I need to increase the size of the field you make models in by at least 20. It really doesn't make ...
0
votes
2answers
4k views

My method for switching between cameras in Unity does not change the main camera

I would like to be able to switch between a variable number of cameras in my scene. The common approach requires toggling the active camera's 'enabled' property to true and setting the others to ...
1
vote
0answers
15 views

Multiple Viewports/Windows Dear IMGUI c++

How do I use IMGUI with multiple GLFW windows? I know Dear IMGUI already has a virtual viewport system going in the viewport branch but I found that to be lacking a bit on how to use this new system. ...
0
votes
0answers
18 views

Generating a tile map in pygame

I have this code that, in my opinion it should work, but it don't. So far I figured out how to get the tile position and position in windows of the top left tile but I can't do the other tiles. I am ...
0
votes
0answers
17 views

When the motion button is pressed, the shape of the character changes and always goes to the left direction

good day. When the motion button is pressed, the shape of the character changes and always goes to the left direction. Why is this happening and what is the solution? Pressing two buttons moves to ...
1
vote
1answer
41 views

How do force fields scale?

Setting I am designing a 2d game in which a \$1/r^2\$ force acts between moving charged particles, and the number \$n\$ of particles is very large. To calculate the force between all pairs of ...
1
vote
1answer
15 views

How can I put multiple actors on a Button?

I like to have an Button with a Text and some Pictures in it. Is there something out of the box to that ? I mean I would like to add a Table into a button, so I could add anything I need to the ...
0
votes
0answers
32 views

Wrong movement with Inverse Kinematics?

I'm scripting character IK to look at object "enemy" direction. If enemy is above him, he look at enemy. The issue here is when enemy goes out of character range. Character should look forward, and he ...
23
votes
7answers
3k views

How can I Intercept object with a circular motion

I am creating a 2d space game and need to make the spaceship intercept a planet. I have working code for straight line intercepts but cannot figure out how to calculate the planets location in a ...
0
votes
1answer
28 views

How can I use the colours of a swatch in a script?

In Unity's editor I have set a swatch with some colours that are used throughout our game: This swatch is saved in a file in the project's Assets folder: ...
0
votes
1answer
29 views

How to store information about a simulated sport match in a browser game?

There is a browser game called Soccerstar where users play in a soccer team and compete in matches against other teams. Matches are scheduled at specific times of the day and played automatically and ...
0
votes
1answer
40 views

AndroidManifest file was deleted by accident

I deleted the AndroidManifest file of my project which was located in Assets\Plugins\Android , so I tried creating new project and copying the Assets and everything but it seems that something is ...
1
vote
0answers
30 views

How can I make the cursor the right size on a 4k monitor?

Since I have a 4k screen, cursor.loadFromSystem(sf::Cursor::Hand)); gives me a cursor that is way too small. Is there a simple way to make the cursor ...
0
votes
1answer
42 views

Why does the drag fail when I move too fast?

I got this code that drags a 2d sphere when i touch the screen: ...
0
votes
0answers
30 views

“Pre-fab” games I can use for gamification of learning? [on hold]

totally new to game development here, sorry if this is a dumb question. My kids respond very well to gamification - the Prodigy math game (Pokemon-style battle game, but you have to answer math ...
1
vote
0answers
18 views

Unity Shader: Make water on terrain transparent without fading

I want to create a shader for a terrain to make the water fully transparent but not invisible or faded. In this example I would want the purple square to be seen through water but not through the ...
0
votes
1answer
43 views

Trying to load .json questions and answers into a multiple-choice quiz game in Unity

I am developing a Unity game which includes a multiple-choice quiz. I've placed what I believe is a properly-formatted .json file (the quiz question, four answer choices, the correct answer, and an ...
0
votes
1answer
51 views

Loading a list of items from JSON, all entries are null

(I posted a very similar question here recently and the response I received was helpful. But I have been advised to start a new question, and here it is.) I am developing a Unity game which includes ...
0
votes
0answers
11 views

Unreal Engine and Simple Animation

I am creating a card based game and I am stuck on an animation detail. My question is I need an animation to shuffle the deck, a animation for dealing and an animation for drawing. My question is ...
0
votes
0answers
19 views

A* Quad/Oc Tree path-finding vs Navigation Mesh path-finding

Main What are the differences between those path-finding algorithms. Is Navigation Mesh faster in finding the path? Is it more correct than Quad/Oc Tree? Does Navigation Mesh use Quad/Oc tree under ...
0
votes
0answers
41 views

Algorithm Design - Player obtaining level resources

Let's say a player has 50 mining, he should be able to mine a level 10 rock quicker than a player who has level 15 mining Ideally. This is what I have so far, so I think I could use some pointers: ...
1
vote
1answer
165 views

How can I remap Unreal's Editor default movement (WASD) keys for a non-QWERTY keyboard

I am using a French (AZERTY) keyboard, and as such my "usual" game movment keys are ZQSD instead of WASD. I have been trying to change Unreal Editor's default keys to those I am accustomed to but I ...
0
votes
1answer
21 views

XNA 4.0 How to combine triangles vertices 3D

Preview for the problem: I'm making a similar game to Minecraft (a game that it's world is made by cubes), but the fps of the game is getting low only by rendering a little amount of cubes in the ...

15 30 50 per page