0
votes
0answers
8 views

Javascript, how to make player collide with tile map

I'm trying to do a bomberman based game, but I'm struggling to make the player colide with the wall, here's my code below: Inside of the array, 0 is the walls and 1 is the path // xPos is the ...
0
votes
1answer
25 views

Values or Struct-Like Location Class?

I'm currently working on a 2D RPG, where the player character moves on a tilemap but is not constrained to the individual tiles. Every tile in a room is referred to by x and y coordinates to an Array. ...
1
vote
0answers
16 views

Move to specified coords - libgdx and java

So I am making my bullets go to a point and travel further. Only its acting really really weird. Its like its thinking that the 0,0 location is at the top left instead of the bottom left. This is the ...
0
votes
0answers
13 views

Queue system for a multiplayer pvp game [on hold]

I'm building an mp game that needs to have some sort of a queue system (eg League of Legends, CSGO, Dota2...) So my question is how to implement such ? I mean the core concept (I'm not looking for ...
1
vote
1answer
17 views

2D World Mouse Coordinates - Matrices

I'm trying to get the world coordinates out of a mouse click. Currently I'm doing the following: var invertedMatrix = mat4.create(); var viewMatrix = activeCamera.getMatrix(); mat4.invert(...
2
votes
2answers
24 views

How to make one 3D object face another?

I'm writing a simple 3D engine myself and I cannot figure out how to make one object face another. The problem begins with identifying which direction the target object is in relation to the second. ...
1
vote
0answers
11 views

C++ SFML: Font is clear and the other time blurred

This is my code. TextRenderer->setString(pCurrentUnit->getCHAR()->getNAME()); TextRenderer->setCharacterSize(16); TextSanitizer::CenterOrigin(TextRenderer); TextRenderer-&...
1
vote
0answers
24 views

Unity won't compile project successfully

I am trying to build the project into a Web GL, but it throws 3 errors when it reaches the "Building additional assets" stage. Error 1 Building - Failed to write file: resources.assets ...
-2
votes
0answers
32 views

First person bullet not shooting

Instead of spawning from the barrel the bullet just appears about halfway down my gun and just sits mid air? #pragma strict var PrefabBullet : GameObject; var speed = 100; function Update() { if(...
0
votes
0answers
32 views

How to generate terrain like in skyroads in jmonkey?

I am looking for algorithm to generate terrain like there was in skyroads Part 1: same terrian again and again. Part 2: different terrain every time. I am, working on game using jmonkey game engine....
1
vote
1answer
22 views

How to avoid position increment by velocity multiplied by delta time even the body is not moving?

In the below image, the character texture is properly sync to body even moving on free space. In the below image, the character is moving downward. But the texture got a span or not sync properly, ...
1
vote
1answer
44 views

How do you render planets without distortion?

I've recently been working on a little spaceship flying sim in Unity and want to add planets. Up till now, I've been hand modeling them in Blender. But I want to have a way to generate large planets ...
1
vote
0answers
23 views

Pick a color and then Chop image with that color into 7 easy pieces

I have an image with 8 colors - (ROYGBIV and white) - I want to create 7 images - each has only one of the colors in the resulting image. I can do that fairly easily in GIMP. Next I need to chop each ...
1
vote
0answers
24 views

Elements of uniform array are always zero?

I'm building a shader program to render a simple bitmap font in GLSL. My programming environment is C# so I'm using OpenTK to encapsulate OpenGL 4.0, but the syntax is very similar to any examples in ...
0
votes
0answers
20 views

Can I use Unity remote with a Android emulator instead of Android phone?

Unity Remote is good app. It allows to connect with Unity while you are running your project in Play mode from the editor. But what if I want to test game but I don't have an Android phone? Yes, it ...
-5
votes
0answers
28 views

3D Mit mmo game engine [on hold]

Hello there every one I was wondering if there's any game engine like unreal 4 that are open source and Mit license with a GUI editor and no coding need. Also what is the price for a custom license ...
1
vote
0answers
25 views

How to disable and enable a randomly generated prefab in an endless runner 3d

Hi all I have been experimenting the endless runner game for some time and needed to optimize it. I read some articles about optimizing my game and it says that once you instantiate the prefabs in the ...
0
votes
0answers
24 views

Should I use finite state machine with entity component system? [on hold]

In the below code, is the components that is required to have a state. AnimationComponent MovementComponent AIComponent Where I'm at now: I've create a different State and Handle it using fsm or ...
1
vote
2answers
18 views

GetComponentsInChildren<GUIText>().text - does not contain a definition

My Slider GameObject has a GUIText child. I am writing a C# script that should change the text component in the GUIText, but instead of this I am getting: error CS1061: Type UnityEngine.GUIText[]' ...
1
vote
0answers
25 views

Unity example project error

I just downloaded last version of Unity and it assets. But when I try to play example projects I get error! Unable to parse YAML file: [Control characters are not allowed] at line 0 Assets/Standard ...
0
votes
0answers
31 views

Hidden textures [duplicate]

How do the developers of games "hide" textures from editing. For example in game called Faster Than Light which is made in c++ using SDL. There is no directory with graphic files. How to "hide" ...
-1
votes
0answers
38 views

2D Strategy Static Game [on hold]

I want to create a 2D strategy online game and nothing moves but map(With scroll)... All other units are static. 1- Is it necessary to use a game engine ? 2- And I'm single handed and we are not a ...
1
vote
1answer
40 views

Grid-based smooth lighting

I implemented basic lighting in my game and I want to turn it into smooth lighting (like this). I'm currently tinting the tiles based on their light level and I have no problem changing it. My current ...
-3
votes
2answers
40 views

How to make an OnCollision reset level script?

I am making a game and I want to make a script that if a player collides with the resetting object the scene will reset/reload.
2
votes
1answer
20 views

Unity Animation Tracking

Background I've recently reached a bottle neck in my game's code that forced me to completely decouple the logic/networking from the graphics. Thanks to the nature of my board game, I was able to ...
-1
votes
0answers
20 views

Which is better between animaion and Script for rotation

To Rotate a particular object in unity, which way is better? Rotating it by animation or by applying rotation from script.
0
votes
0answers
41 views

How to keep my player in center of path.?

I want to keep my player in center of the path. I have different paths like strait and 90 degree rotated. I want keep my player moving in center in center like temple run also when I rotate my player ...
-2
votes
0answers
41 views

Drag and Drop Functionality in Unity

I am new to Unity and I need to drag and drop objects to a grid in my game. Something like this: I googled it and found some things but they where not what I am looking for.
0
votes
0answers
16 views

Can`t login in twitter with Fabric! [migrated]

I use fabric for Twitter Share function in my Unity game (Android). I follow all instructions, but I can`t authorize in twitter. But i have my app on dashboard in my fabric account! Full code: ...
0
votes
0answers
19 views

Thrown exception pointing to xmemory0

Within a static library I'm creating, I have a struct called Vertex that holds three variables used for an image drawn on a plane: struct Vertex { glm::vec2 Position; glm::vec3 Color; glm:...
0
votes
1answer
24 views

Raycasting against my plane does not detect collisions in Unity

I'm trying to keep the camera above a plane which acts as the ground, so I wrote this bit of code: RaycastHit hit; if (!Physics.Raycast (transform.position, new Vector3 (0, -50, 0), out hit, 5)) { ...
0
votes
0answers
5 views

Not able to connect to Photon(PUN).photon unity networking error

I'm new to photon Networking. My game was working great suddenly this is appearing Cannot send messages when not connected. Either connect to Photon OR use offline mode! UnityEngine.Debug:LogError(...
21
votes
3answers
4k views

Why do modern games use a render-to-texture approach for mirrors?

When looking at old games like Mario64 or DukeNukem3D, all the mirrors in the game are essentially just holes in the wall with a mirrored copy of the geometry in front of the mirror put behind them. ...
-3
votes
2answers
74 views

I want to make my first video game [on hold]

I want to make my first video game, but I don't know where to start. I have watched some videos about how to make video games, but I'm still kind of stuck. Any ideas?
0
votes
0answers
11 views

I can't play longer sounds in game maker 8

im using game maker 8 pro and when i try to to play a longer sound like a minute or so it wont play not even in the sound properties but a short sound like 20 seconds will play id like to know if this ...
1
vote
0answers
7 views

How to compare recorded skeleton with live skeleton by using kinect sensor?

I am developing project where user will perform movement in front of the kinect. Up to now I can calculate the angles between joints and can detect body parts. My second approach is recording these ...
-5
votes
1answer
58 views

Should I patent game before putting it on Apple App Store?

If it's a huge hit, I could then patent it. Or, if I put my game up on App Stores before patenting, does this cause a problem? Would this invalidate a patent application? Should I bother to even ...
-1
votes
0answers
32 views

what is best way my game can quickly teach people how to play it? [on hold]

I have a very entertaining iOS game. Everyone I've had play it from age 6, teens, to mother-in-law (really! Mother-in-law!!) and her sister in their 60's, laughs like crazy and has a great time. It'...
2
votes
1answer
21 views

Pygame: Moving Background

I'd like to create a moving background in my Python game, with an image, that moves up and until it reaches the end. Than it goes back to its first position. I'm still in my learning process and this ...
3
votes
1answer
34 views

Render object with different shader depending on the camera

I have an object with a custom shader. When it is being rendered by cameraA, then I want it to render a particular way (ex red). When it is rendered by another cameraB, I want it to render a different ...
1
vote
0answers
20 views

Advice on mapping tiles to a height map/3D world

I've been attempting to think of a way to map tiles to a height map. Where a grid can be either layered or integrated into the world data. However, since I am not using voxels I could use some advice ...
1
vote
0answers
9 views

Making use of the Android GPU debugging tools

I tried following the manual to install the Android GPU debugging tools for android Studio 2.0. Unfortunately it has not been very successful. I have been following the instructions of the official ...
2
votes
1answer
64 views

Implementing Story and Quests in RPG

This question in very similar to this question, however I am still confused about how one would implement a story and quests in a finite state automaton RPG. This is my first game that I am making (...
0
votes
0answers
45 views

is it good to start learning c++ at the beginning ? how to clear basic concepts [on hold]

Our school has chosen c++ to be taught to us in class 11 & 12.though we were not taught any programming language before. Am studying in class 12 ...i need help..am thinking of pursuing my career ...
0
votes
0answers
26 views

Highschool student, how to get further help with design? [on hold]

my names Aidan. I'm 15 and I've been designing and programming since I was 10. I feel I'm at a point where online tutorials don't do me much good anymore, as they just show you how to use the tools to ...
2
votes
1answer
27 views

Handling data logic on libgdx ai state machine or in ashley system?

In this below example, I've combined libgdx ashley and AI state machine. Do you think it's a good idea to handle the logic in state machine or stick on handling the data logic on System? public enum ...
0
votes
1answer
41 views

Best client/server architecture for a mobile management game?

For the past year I have worked on a small company that develops a traditional browser based strategy game, of the likes of Travian or Ogame, but using a more interactive approach like Tribal Wars 2. ...
1
vote
2answers
87 views

Game Engine architecture clarification

I want to write my own (simple) game engine with OpenGL. I use GLEW and GLFW and so far linked it successfully. My question is: Should the engine or the respective game (which depends on the engine) ...
1
vote
0answers
17 views

UNET Performance of (many) Kinematic Rigidbodies

I am building a game in Unity in C# using the UNET networking elements. I am trying to figure out what is the performance cost of kinematic rigidbodies? My understanding is that, when kinematic, ...
0
votes
1answer
49 views

Which language is more proper for game development? [on hold]

I want to make and 2D RPG Multiplayer Game I already have really good ideas but I don't know what programming language should I use. I want to know your opinion, I want something with good library, ...

15 30 50 per page