-1
votes
0answers
4 views

unity add slash to persistentDataPath

i watched & readed 2 tutorial : [1] https://www.youtube.com/watch?v=Ua_5rh9u2Uo [2] https://gamedevelopment.tutsplus.com/tutorials/how-to-save-and-load-your-players-progress-in-unity-...
0
votes
0answers
12 views

C# Monogame Enemy shooting at random intervals

I am currently coding a simple Monogame Space Shooter. I have almost finished my enemy shooting behaviour, but I spent a long time on fixing it and got to the point where I wanted somebody to help me ...
0
votes
1answer
12 views

Unity 5: Third Person Control Based on Current Camera

I'm creating Third Person game with multiple switching cameras. I'm using the default Third Person Control asset provided with Unity, and it comes with a script that aligns the movement to the camera. ...
-3
votes
0answers
10 views

Flipping a sprite

i have been trying to make a small game to practice pygame the problem is i am facing and error on flipping.... import pygame import time import random this is to initiate the pygame pygame.init()...
1
vote
2answers
29 views

Why is OpenGL point (0,0) in bottom-left?

Most of computer graphics systems use screen's top-left corner as staring point, but OpenGL uses bottom-right, why?
0
votes
2answers
12 views

glm::perspective isn't working?

So I'm learning how to make games and program, and while trying to setup a projection camera using GLM in GFLW, this line of code refuses to work and I can't figuire out why. The code is in the image ...
0
votes
2answers
18 views

LibGDX: Max number of textures?

I've been developing a game targeted at android. I know not to think about program optimization until the project is finished, but I have to wonder how many textures most phones can handle safely ...
0
votes
0answers
22 views

How to see the scripts/codes used by apps? [on hold]

Is it possible to see the scripts/codes used by android apps, like clash of clans for example? I want to see the codes used as it will help me when making my app Is it stored in classes.dex file?
0
votes
0answers
8 views

unity3d drag & slide character movement example

I need to control main character in my labyrinth-style game by "touchpad" placed in the corner of screen. The player can DRAG character (by finger placed on touchpad), which allows to move the ...
0
votes
1answer
9 views

GameMaker (RPG) Room transition problem how to save the progress made

so my problem is that i made 2 levels and made 2 doors and since i want to go from room1 to room2 so i wrote this code in the door new_room = rm_number2; new_x = 96; new_y = 32; and this code in ...
5
votes
1answer
254 views

Unity JS to C# conversion - Incomplete list of public variables in Inspector

I'm trying to convert a javascript file to a C# script for Unity, mostly because the rest of my workflow is in C#, and I'm much more comfortable with C#. In this case, it's an audio controller script....
0
votes
1answer
50 views

MMO server use mysql offline?

Im going to write an MMO server for a game, however in my last attempt to do this I used mysql with xampp-server and the game-server was getting the data offline tru mysql(xampp server was offline). ...
0
votes
1answer
32 views

Efficient use of database in game loop

I'm trying to write a simple browser based style game (I say browser based style because I'm running it all locally). The game is a real time strategy in which player control towns and armies and try ...
0
votes
1answer
16 views

How to create a 2d character turning his head animation?

I'm learning to create a 2d character animation for games. I've seen some tutorial where we use skeletal animation to move images and create several frame to create an animation. But, for an ...
1
vote
1answer
56 views

xml or json? Or any alternative, how to store information about actors in a game?

I really don't know if I should ask this here or not. So basically I'm developing a 2d "small" offline rpg game, and to this point I have many actors (mobs, heroes, NPCs) and what I did, is created a ...
0
votes
1answer
10 views

Cannot find Natural front 3D facial animation plugin in Window drop down

I am using Unity version 5.4.2 which is the latest, I tried to go through the tutorial video for creating 3D animations of 2D pictures but I am unable to find the icon of -> Natural front 3D facial ...
6
votes
1answer
51 views

How to implement large data files without using up a lot of space at runtime?

Say I have a bunch of images that I want to use with my game; I want the image files to be external, so overall I have the game's executable and a directory full of images. Let's say there are 100+ ...
0
votes
0answers
24 views

Predict object position

The intention of this code segment is to predict the location of an object based on it's forward velocity and angular velocity. However, the position is not show where it's supposed to be; first when ...
0
votes
0answers
11 views

Beginning Unreal Engine Game Development Tips [on hold]

I am wanting to get into game development as a hobby, and I don't really know exactly where to start. I downloaded Unreal Engine 4, and I would like some tips on what I should do next, like what ...
0
votes
0answers
19 views

Hidden surface removal using z buffer algorithm

I am doing a work on clipping and hidden surface removal on a list of triangles in 3D. Say, I have got a list of triangles after clipping and projection transformation applied on them. Now I want to ...
0
votes
0answers
9 views

Shader to see silhouette through alpha blended sprites

I want to achieve in Unity an effect like the one in these examples: In my specific scenario there are a couple of requirements: Sprites are using alpha blending, and sprites have transparent areas. ...
0
votes
2answers
12 views

How to work out the height of a point on a tilted surface?

I have a plane which gets tilted on the X and Z axis (y+ is the normal). Given an X and Z coordinate and the X and Z rotation of the plane, how do I find out the height (Y) at that point? I assume ...
0
votes
1answer
7 views

Fragment shader coordinates: Displacing pixels and texCoord problems

I'm trying to create a shader that creates a displacement on an object, slicing horizontally the sprite. These is an example of the atlas I'm using and the effect I'm trying to achieve: I tried to ...
0
votes
1answer
43 views

Trying to abstract OpenGL model loading but can't draw triangle… (C++)

Recently, I have been trying to learn modern OpenGL and I think I've grasped it (or the basics, at the very least.) but I have been having issues trying to make a triangle display on the screen but it ...
0
votes
0answers
6 views

Calculation of momentum and angular momentum after a kinetic impulse at a certain location

In a space game, how does one calculate the rotation and velocity of a craft, after it got affected by a kinetic impulse. I've drawn a sketch to illustrate my problem. The kinetic impulse could be a ...
0
votes
0answers
17 views

Can see triangles in translucent/transparent object OpenGL

I added a sphere to my scene in OpenGL and tried modifying the alpha values of its vertices in the fragment shader. However, the result is that I can now see through half the triangles on the object ...
0
votes
0answers
21 views

Constructing FPS camera transformation matrix using yaw and pitch

I'm trying to construct a FPS view matrix for my OpenGL renderer using yaw and pitch angles instead of the typical LookAt view matrix. I'm using the standard OpenGL coordiante, right-handed system ...
0
votes
0answers
27 views

Player level bar

I'm programming in AS3 using Flashdevelop. I'm trying to make a Player level bar to show whenever experience is gained, it will show progress. Like this, |/////----| where //// is experience ...
0
votes
0answers
18 views

Unity Photon: Laggy movement even with smooth script

I am trying to make a pong game that implements multiplayer and I have chosen photon unity networking for this. I have a paddle prefab that gets instantiated and has a move script, a BoxCollider, a ...
1
vote
2answers
34 views

How to save a text file to relative Path

I'm creating an app that should be accessable from every platform (android, IOS, windows). At this moment I'm saving a file that is set to a specific path. c:\test\test.exe. Now I know that Android ...
-5
votes
1answer
42 views

What are the main questions you have to clarify in terms of Game Design before starting development? [on hold]

I am looking for a list of questions that helps me to get my idea to a clear game vision. I heard and read about "world book" or "game bible" - a document where everything is documented. But what is ...
-4
votes
0answers
27 views

frame rate drop in euro truck simulator [on hold]

i use AMD A 8-6410 @ 2 G HZ processor with AMD R 5 , AMD H D-8500 graphics with windows 10 ..i can play grand theft auto 4 ,modern warfare and many high quality games with no lags but when i play euro ...
-1
votes
1answer
54 views

Why bind only first attribute?

I'm create OpenGL renderer, but when I bind vertex attributes I can attribute only first attributes. Where I got error? My code: Mesh::Mesh(Shader &shader, int size, GLuint *indices) { ...
6
votes
1answer
281 views

What is the specific name of this UI component? [duplicate]

Is there a specific name for this kind of ui component? Sometimes it only renders a symbol (without text) so using name like TextComponent is imo not very fitting.
0
votes
1answer
30 views

LibGDX - change actor's texture

Is there a way to change actor texture without creating a new object? I want to change my ImageButton texture when resize() is called, and for example for screen > 800px, ImageButton have bigger ...
0
votes
1answer
31 views

How to use JWT in unity

Is it possible to use JWT in my unity games? I've read here that JWT needs .NET version 3.5+ and in Unity 5.4.1f1 the .NET version is "2.0.50727.1433". Is this information correct or incorrect? If ...
1
vote
2answers
49 views

How can we test a section of a game?

I'm making a clone of an old atari 2600 game, so it's simple, only slightly more complex than the original. I'm realizing that even the simplest of games have different "parts", what is a good ...
5
votes
1answer
61 views

Difference in glDrawArrays and glDrawElements

While refreshing my mind on OpenGL ES, I came across glDrawArrays and glDrawElements. I understand how they are used and sort of understand why they are different. What I do not seem to understand ...
0
votes
0answers
11 views

Light_environment lighting glitch in Source SDK (CS:GO)

When I place a light_environment (sunlight) in my 3D skybox, it always glitches out the lighting. It turns the lighting of the level into darkness and when looking up, it gives a weird blur effect. ...
0
votes
0answers
38 views

How do i change something so i can code in SharpDevelop? [on hold]

I just picked up a new game engine called Duality. I'm also very new to coding so bare with me. i was practicing inside sharpdevelop and made a small game with console. Now im wanting to make a small ...
0
votes
0answers
8 views

Using a pixmap as background for Xlib

I'm having an issue with the Xlib library, coding with C what I would like is using a pixmap as a background but I can't seem to get this right. For anyone with knowledge of this library I'd like an ...
0
votes
1answer
31 views

Smooth Lighting Falloff

So, I'm having some issues with lighting in my Unity game. I had implemented torches, which seem to be working fine, but I have a creature (gelatinous cube) that I've put spot lights facing to give ...
0
votes
0answers
11 views

Unknown rotation behaviour of gameObject while trying to rotate using LocalEulerAngles

I am new to game development , I am following a book Unity in action by Manning . This is the code snippet used to rotate a game object (from the book): public RotationAxes axes = RotationAxes....
6
votes
1answer
63 views

Why does physics not behave consistently in Unity?

I'm making a game in which AI players throw a ball. In the screenshot, you can see the arena which is separated by a net in the middle. Each side of the arena has 6 players belonging to one of 2 ...
0
votes
0answers
17 views

Unity2D: IAP not working on mobile phone

My Purchase script works fine in unity editor but when I build and test it out on my mobile phone it's not working as in it is not giving me the item I purchased. I have followed tutorials to the tea ...
0
votes
0answers
12 views

webgl draw call batching and optimizations

I'm working mostly with three.js and webgl, i have some experience with unity. I don't consider three.js a game engine, more of a "rendering library" - something that takes care of the GL ...
-5
votes
0answers
34 views

Unity C# Help with the dictionary Function [on hold]

using UnityEngine; using System.Collections; public class Keyboard_Input : MonoBehaviour { // Use this for initialization void Start () { directions = new Dictionary<KeyCode, ...
0
votes
1answer
28 views

Unity3d Rigidbodies overlap even at low speeds

I have an issue that I can't solve. There are many questions relating to similar issues and they come down to "change some settings" and "object is travelling too fast". My problem doesn't seem to ...
0
votes
0answers
7 views

Manual Audio Listener Read

Is there anyway to manually read an audio sample with the Audio Listener asynchronously to the normal unity workflow like you can do in Camera.Render()?
0
votes
0answers
22 views

How do I make dialogue text appear with a beeping effect in game maker studio?

I am trying to make a game that is a rpg and uses typing and beeping on a text box sprite and overlapping it with a mugshot and text typing while beeping, and then executing code to make a end point ...

15 30 50 per page