0
votes
1answer
18 views

Would I need to develop a multi-threaded game or will single core due?

So I've been playing around and developing in C++ for a couple years now and have built a very simple C++ game engine for learning purposes. I now want to try and develop a simple 2d, stick figure ...
0
votes
0answers
5 views

Does steam have an API to DL Curations?

I scarped MC database of game scores and then did STATS to it hoping to find the best gaming magazines for me. The only thing that really works (or the only thing my STATS skills could accomplish) is ...
0
votes
0answers
7 views

Implementing Intel TBB for game project?

So I've been playing around and developing in C++ for a couple years now and have built a very simple C++ game engine for learning purposes. I now want to try and develop a simple 2d, stick figure ...
0
votes
0answers
6 views

Loading State Nuclex Framework

I'm developing a game using MonoGame and MonoGame.Extended. I'm in the early stages and I've been looking for a good game state manager that has screen transition functionality as well as easily ...
0
votes
0answers
5 views

Multiplayer Action Sidescroller in Ruby

Heyo, I'm currently trying to make a 2D sidescroller in Ruby, and I have no idea where to start in terms of making the multiplayer. I'm wondering what libraries (If any) would be good for me to use, ...
0
votes
0answers
6 views

DirectX 11 - Problem Rendering Mesh

I am trying to render a simple mesh (cube) in DirectX 11 but, only the background is showing. Everything seems to working and all calls are succeeding. I do use my own math engine but, I have tested ...
0
votes
1answer
7 views

How to change the size of a draw GUI?

I tried to create a HUD button with a sprite of dimensions 1200x1200 to decrease it by code, but I could not. Code: draw_sprite(spr_btnBig,0,100,100); image_xscale=0.05; image_yscale=0.05; ...
0
votes
2answers
17 views

What is the logic of 'move_towards_point'?

I think I was using the move_towards_point function incorrectly. I discovered that I could not make the object move down. In the create event, if I include the code move_towards_point(x,y,10);, the ...
1
vote
0answers
19 views

How do I stop “StartServer listen failed” when I start a new server after a previous server has been destroyed?

I am trying to allow my users to be able to host servers for my game. Hosting works great, until a user decides to stop their server, and then start a new one. The game does not allow this to happen, ...
0
votes
0answers
9 views

Whats the way to handle same behaviour on different resolutions(OpenGL/SDL)

Is there a way how to handle this by using OpenGL/SDL2 combo? I mean, same behaviour with same positions. For example this situation: Let´s assume I have a GUI window with fixed position(so it will ...
0
votes
0answers
13 views

What server is preferred for a WebGL game, Apache or Nginx? [on hold]

I am completely clueless on what criteria I should prefer Apache or Nginx. Only thing I know is that they both have some strengths and weaknesses and you can use either depending on your case. To be ...
-4
votes
0answers
40 views

In 3d and 2d programming, Is there any distinction between global space and world space? [duplicate]

In 3d and 2d programming, is there any distinction between global space and world space? Are these two ways to name the same thing? I'm not confused about the difference between local and global. ...
0
votes
1answer
13 views

How do I create a simple HUD, with ImageButton and background, using LibGDX?

Here is my HUD class: public class UpperPanelHUD extends Table { private final TextureRegion textureRegion; private ItemButton itemButton; private Maze maze; public UpperPanelHUD(...
-1
votes
1answer
69 views

In UnityScripting C#, What's the distinction between global coordinates and world space?

In Unity game engine and C# scripting; Is there any distinction between global space and world space? Are this two the same thing and identical or there is a distinction? I'm not confusing between ...
0
votes
1answer
20 views

why one model can have different vertices and normal size?

I am using TinyObj to load models. I found many obj files have different vertices and normal size, how could it happen? I thought in the obj file one normal should be correspond to one vertex. For ...
1
vote
0answers
7 views

I want to test the Animator component of a gameobject using nunit, but I am having issues

I made a Blender 3D model with animations. Then I used the Animator Controller, and attached it to the model. The Animator Controller has a few Boolean parameter variables like isWaving, isDoing, and ...
-1
votes
1answer
77 views

How can i make monsters drop items when they are being killed [on hold]

I am making HTML 5 game with Javascript i am really new to programming,want to know how to make the enemies drop items after they are killed when the enemy dies i want the rectangle to represent an ...
0
votes
0answers
20 views

Partition entities based on interaction

I have a problem where I need to partition entities into buckets based if they have interacted or not. Example: You have a space ship firing on another spaceship which in turn fires on a third ...
0
votes
0answers
39 views

Sprite doesn't change material or picture

I am quite new to unity and currenty I'm practicing with a 2D topdown game. I created a tile map with "tiled", imported it in Unity with "TiledToUnity" and changed some things like player movement, ...
0
votes
0answers
27 views

Card game - save who has what cards [duplicate]

I have designed a card game which is now ready to be digitalised and made in to a game. I have placed all the cards, images, values, and information in a sql database ready for when i start actually ...
18
votes
4answers
2k views

What is a vertex color?

My question is what is written in title. This term "vertex color" appear a lot. I am having hard time to understand this. For example: Isn't a vertex simple point on 3D space? If so, how can a point ...
1
vote
0answers
27 views

How can I add my custom mob to my minecraft game?

So, I'm obviously not a very experienced mob maker, so ill just get to the point. after I made a custom mob, I had no idea where to put it, how to make sound, how to make an egg for it etc. would ...
-1
votes
1answer
48 views

How can I convert an Android game to HTML5? [on hold]

How can I convert an Android game to HTML 5?
0
votes
2answers
53 views

Calculate direction of coordinates

I wanted conditions that could determine which direction (north, south, east, west, northwest, northeast, southeast, southwest) the player is following, what I got was just north, south, east and west,...
0
votes
0answers
31 views

Storing room based world configuration

I'm making a simple tile based game. Basically it has rooms, doors, keys, items, etc. As you can imagine they need to connect together in some way. Such as does too rooms, keys to doors. Right now ...
0
votes
0answers
43 views

Drawing roads on heightmaps

I've been running into walls for the past week or so on my toy project in UE4. My goal is to draw procedural roads on a procedural landscape (eventually getting to intersections and buildings). The ...
0
votes
1answer
11 views

D3D11 SetShader States

I have some questions regarding the XXSetShader and what happens after, for instance I would like to know if when XXSetShader is called the subsequent calls would be bound to that particular shader, ...
-1
votes
1answer
18 views

Collision Detection - Why is my implementation of Rectangle.intersects in my Player class causing errors?

Ok. I get this error: Exception in thread "Thread-2" java.lang.NullPointerException at basic.game.here.Player.collision(Player.java:42) at basic.game.here.Player.tick(Player.java:23) at basic.game....
0
votes
0answers
21 views

How to perfect camera and game objects movement in Unity3D [on hold]

I am new to game development in Unity3D. I've been understanding everything well by reading from Unity docs. But, the problem that I face the most is when I try to move some game object by writing the ...
1
vote
1answer
26 views

How to create card layout in a trading card game Libgdx

I am trying to create a card layout for my trading card game. Right now I use this code: public class ClientCard extends Table { ClientCard(int cost, int attack, int health, String title, String ...
0
votes
1answer
32 views

Tick() method error when I run it. HELP!

Okay so I get this error: Exception in thread "Thread-2" java.lang.NullPointerException at basic.game.here.Game.tick(Game.java:71) at basic.game.here.Game.run(Game.java:54) at java.lang.Thread.run(...
0
votes
0answers
26 views

Trouble finding normal on an aabb (originaly obb, realigned with rot and trans)

aabb: axis aligned bounding box obb: oriented bounding box I am trying to implement obb in my raytracer, here is how I try to do it: My obb is defined by: corner_min (the x, y and z negative of a ...
1
vote
1answer
26 views

Using Smartphone as a steering wheel on Linux

I am making a car simulation game, however, I find it being inefficient and difficult to test the simulation realism and accuracy via keyboard or even joystick control. I need a steering wheel ...
0
votes
1answer
18 views

GameMaker project works fine when targeting Windows but not when targeting HTML5

As mentionned in the title, my GameMaker project works fine when targeting Windows. However, when I build it for HTML5, I got those errors in the Chrome developer console: Destructive Dark.js?VYNZB=...
0
votes
0answers
18 views

Can i use football team names in my website without permission from the club? [duplicate]

I am creating a website which will be similar to a fantasy football website. I understand that to use club logos i will need to obtain permission from the club, however if i only use the club names e....
-2
votes
0answers
13 views

How to get Unity's MobileTilt controller working with this script

I have this script and I want it to be controlled by Unity's mobile tilt controller. Please, how do i go about it? using UnityEngine; public class PlayerMovement : MonoBehaviour { // This is a ...
0
votes
0answers
13 views

LibGDX and the btKinematicCharacterController

I'm trying to get a character moving using bullet physics with LibGDX. At the moment, I've a capsule which can move around and jump (by applying central force, and a central impulse for the jumping,) ...
0
votes
1answer
30 views

How do I create a Button when I click another Button?

I need help. When I click a Button, I want to create a new Button. My code, however, creates four Buttons. What should I do? using UnityEngine; using System.Collections; using UnityEngine.UI; using ...
0
votes
0answers
11 views

Create angle when moving object

Create angle when moving object. I want to pretend like I'm throwing some object in real life. example: CODE: new TWEEN.Tween(start).to(end, duration, {bezier:[{x:100, y:100}, {x:0, y:200}, {x:-100,...
-2
votes
0answers
45 views

How MiniCraft's color engine works? [on hold]

I don't understand, how MiniCraft's color engine works. How Color.get(a, b, c, d) works? I know, the spritesheet contains 4 colors, and the game recolors it, but i don't understand, how. How can i ...
0
votes
0answers
8 views

move cube 3d - Moving far away

I need to find out a velocity, distance and angle between 2 dots 3d (x, y and z). I'm trying to move a cube, an example image follows: Each frame must move a coordinate, and the current code is ...
0
votes
0answers
49 views

Are there any guidelines for naming functions in Unity? [on hold]

Unity uses the prefix "On" with many function names, for instance: OnTriggerEnter, OnCollisionEnter, OnDrawGUI, etc. Are there any official guidelines or widely adopted best practices regarding when ...
-3
votes
0answers
41 views

How do I make particles in a particle system move to the player?

How do I write a script that forces particles in a particle system to move to the player?
0
votes
2answers
54 views

Help with a formula; The bigger the number, the smaller the result

Math has never been my strong suit and so I'm having trouble figuring out how to write this formula. When you buy something in my game, the amount it costs to purchase that item will be taken off ...
0
votes
1answer
12 views

Rotate object around another object with angle and offset

I make a small game engine with a hierarchy and have problem with transforming it correctly downwards. I have a object with a parent and i want that his child rotates around the parent with a offset (...
-1
votes
0answers
15 views

Simple LineRender between two objects?

I'm trying to make line between two objects. but the positions values on the lineRender not updating ? here is my script public Transform start_Line; public Transform end_Line; private LineRenderer ...
0
votes
0answers
53 views

how to generate human face mesh with array of vertices [on hold]

I want to generate mesh for human face for android app using opengles2.0 from the array with vertex points which lies on boundary of the face,for example float[]Array={0.05f,0.4f,0.0f,0.3f,-0.8f,0.0f,....
0
votes
1answer
50 views

Phong: Real-time rendering of Metal and Plastic Materials

Using a shader that works like Phong, what would be the difference between painted Metal and plastic? I seem to remember reading in books that I no longer have access to, the following: Specular ...
0
votes
0answers
23 views

Multiple Udp Clients

I have searched at many places but didn't get any solution. I am a newbie To Unity and game development..I have started with this game.. https://unity3d.com/learn/tutorials/topics/2d-game-creation/2d-...
0
votes
1answer
23 views

Entity Components Ids and Max Integer Values

I have been studying several entity component systems (Anax and EntityX) to get an idea of how they work. For Entity ids, both use 2 numbers. The first number is basically a position in an array, and ...

15 30 50 per page