All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
87 views

Why isn't my BoxCollider2D doing anything?

I'm trying to make a speech bubble appear when you approach the tutorial board. The bubble is there and it has its animation states "Appear" and "Disappear" Appear is called OnTriggerEnter2D ...
0
votes
0answers
5 views

How to compute the origin/pivot point of objects in a hierarchy

I'm sorry if the title is bad, but i'll try my best to explain my problem. Consider a simple hierarchy of objects (Object1 -> Object2 -> Object3) If i now were to rotate Object1 by 45 degrees in ...
-1
votes
2answers
39 views

3D image projected to 2D image

We know real world images are 3D.when we projects image from real world this image projects into 2D image where Z component is constant or zero. But when capture the below image which seems to 3D(z ...
0
votes
1answer
51 views

Animation is not starting even though collider is triggered?

progress is steady but it is a bumpy road. I have removed the animation script from my character and reworked it into the controller script. I have also added new animations. Doing this required ...
0
votes
0answers
6 views

How to define tile size for 2d tilemap in Unity

I am absolutely new to Unity. Now I am developing 2D RPG gameplay in 3D project. So my goal is to let player move only on a fixed road. There is an image of a fixed map, so I am going to use this as a ...
0
votes
1answer
339 views

2D Sidescroller Gravity

Ive looked up implementing gravity on several sites. Subtract a constant gravity (9.8 * DeltaTime) from the velocity each frame. My problem is, when implementing it as they say, when walking off a ...
0
votes
1answer
191 views

How do you rotate a sprite in pygame?

I am making a game in Pygame and I want it so every time the sprite jumps it rotates mid-air and lands on its side. A lot like Geometry Dash jumping if you have ever played that. I have some code but ...
16
votes
1answer
2k views

What projection is this?

Could someone tell me what this projection is called? It's as if you are looking at an object from directly above it and then smear it up and left equally. Only the one dimension seems to be true ...
0
votes
1answer
76 views

Deceleration via Lerping

I have written some code that creates a very nice uniform angular acceleration for an object moving around a circle. It effectively uses linear interpolation but ramps the interpolant such that the ...
4
votes
1answer
486 views

Scene2d Stage Actor setup issues

I am creating a game using libgdx. In the same each level has a class. I have stage as a member variable of the class. To this stage, I add actors. Inside the levels class, I have attaced the input ...
0
votes
0answers
19 views

Painter's theorem inside and outside test

I have read from Hearn and Baker computer graphics book. I read the test#2 painter's theorem which image is given below. This image showing surface S is completely behind the surface S', by checking ...
0
votes
1answer
413 views

how to create a curve movement of slider in unity

I am trying to create a curved (not circular) movement of slider. Here is my demo images for reference: I have watched some tutorial but those are for circle images. I want to make this movement ...
0
votes
2answers
46 views

How to make a singleton "game manager" object/class that only loads once and can be accessed from any scene?

I would like to have a single "Game Manager" game object or class that contains numerous parameters and tweens or other functions that would be necessary to access throughout my app across ...
0
votes
1answer
367 views

400 bad request UnityWebRequest

hey everyone any ideas why im getting a 400 error? im trying to post a json to a subscription list. doing that through postman works just fine! ...
3
votes
1answer
69 views

How to protoype a multiplayer game whose fun comes from having lots of features

I've seen plenty of testimonies that to make a good game and not waste time, one should prototype early, quickly see if the core is fun as is, and not focus on graphics, menus, sound, secondary ...
0
votes
0answers
10 views

When creating a GDNativeLibrary resource, why isn't there an option for the web?

I'm creating a new GDNativeLibrary resource instance. Here's what the property window looks like: Where is the option for the web? Can I even use GDNative with the web export?
0
votes
1answer
96 views

Multiplayer Replication Unreal Engine 4

I have variable=count(integer) in a Character Blueprint. I want to increment the variable when user presses the 'R' key. What do I so in the Blueprint that ...
1
vote
1answer
40 views

Dividing amount of exp between rank A and B into a curve?

In my game I have a rank system. You start at rank A, and then you can level from level 1 to level 10. When you reach level 10, you get promoted to rank B, and you go from level 1 to 10 again, and ...
0
votes
1answer
934 views

How to instantiate GameObject on client without network?

When I NetworkServer.Spawn(ob) a gameobject and make it a child of a transform.parent after it spawns on both the server and ...
0
votes
0answers
65 views

How can I make a seamless transition between maps?

I have a game where my character is plotted on a 100×100 tiles of 32 pixels width and 32 pixels height that makes a Map. It's a 2dArray of [100X,100Y]. Whenever the character gets to a specific tile ...
1
vote
3answers
572 views

How to create laser redirection?

Think portal 2, where a laser can go through a cube, and depending on the rotation of that cube, it will redirect it. Examples: Here is my barely functioning code. It works for one cube, I'm able to ...
1
vote
1answer
126 views

How to use a large number of different textures with a shader?

I need to be able to compile an ".hlsl, .fx" shader in my DirectX app. The issue is that, with the code below, I can only specify 6 textures by their default path directory. I don't want ...
1
vote
1answer
315 views

Animation Dilemma: How to create authentic discontinuous block-like character movement

I am using Unity. I have quite a bit of Unity experience, however I am a novice in animation. In the past I have had someone else do character Animation aside from some Camera animation and simple ...
0
votes
1answer
122 views

How Can I Load Ads Particular Level?

How Can I Apply Ads Different Level?? I Create A 40 Level, Ex: Level1 complete then load ads Interstitial Level2 complete then load ads Interstitial Level3 complete then load ads Rewarded Level4 ...
3
votes
1answer
2k views

Drawn frustum does not match with glm::perspective

I am working on a personal project and I got a 3d viewport with moving camera working nicely. Now I am working on being able to freeze the time and switch to a debug camera and move in the game freely....
0
votes
1answer
19 views

Why clip in clip space - confusion with Gribb-Hartmann clip plane extraction

I understand to extract clip planes from the perspective matrix one can follow the methodology laid out by Gribb-Hartman as documented here: http://www.cs.otago.ac.nz/postgrads/alexis/planeExtraction....
4
votes
1answer
2k views

SDL2, OpenGL, Nvidia laptop screen tearing

EDIT 2017-05-14 dvb. Issue still active to this very day, see geforce forum link in main question. Note 3: "Stoltverd" has posted a "fix guide" on geforce forum. It has workarounds for non-OpenGL ...
0
votes
1answer
81 views

The doors lock system is working fine but how can I avoid changing the colors all the time in the Update?

I want it to change the doors lock state but also the colors of the doors Red = locked Green = unlocked either in editor mode or in runtime. But if the method that change the doors colors is not ...
0
votes
2answers
176 views

How to move X and Y position of sprite in GameMaker Studio 2?

In the tutorial it told me to add the sprite to the object and then add an event to the object called Step. I did this and then added the sprite to the room. The GML code I used in the Step event is <...
1
vote
2answers
868 views

LibGDX with SoundPool

I'm developing a game for Android using LibGDX in Android Studio. I recently found out that some sounds in my game fail to play. I noticed that every time a sound fails to play, these are the logs: ...
0
votes
1answer
40 views

Correct way to set up camera buffer [DirectX]

I would like to play with two different implementation of particle system in my project (ok, actually not mine, but I am working on it). I copied the particle system successfully, however, faced the ...
2
votes
1answer
2k views

Unity 5 Networking Send Rate: Send Rate is Zero but server movement is still happening

I have a client server scenario, just a player moving about on the client and he moves about on the server using the built in networking provided in Unity 5. I have my client scene running in the ...
-1
votes
1answer
35 views

Unity mailchimp / Klaviyo subscription form

Hey everyone so i want to add a subscription form on my game. so far i can send data to a database and display them on a leaderboard, i found a similar question here but its a bit outdated. Ideally i ...
1
vote
1answer
643 views

Phaser Tiled map importing

How can I be sure that the tileset used in making a Tiled map remains as a multiple of 2, since this is a requirement of phaser when loading JSON tiled maps? I have tileset images which I got for free ...
0
votes
1answer
127 views

Model texture flipped?

Im making a custom Wavefront .obj loader and the images loads but the texture is flipped. What is the problem? here is code and a image. ...
0
votes
1answer
1k views

Check if raycast is hitting object [closed]

I am using the following which is attached on to an enemy, when I press the fire button it lowers the health of that enemy, my problem is HOW do I know if I am actually hitting the game object this ...
0
votes
1answer
227 views

How do I create a laser pointer dot in Unity URP?

I want to replicate the laser pointer dot as in RE4: Here is a video that shows the laser in action. I have tried to replicate it using a spotlight. The problem with the spotlight is that its size ...
0
votes
0answers
13 views

Aim assist-- How to cast a wedge in screen space

My character exists in a 3D, isometric, top-down world. I'd like to make an aim assist mechanic, such that when holding the right joystick in a direction the game will choose the enemy roughly in that ...
-2
votes
2answers
142 views

How to store a Transform[,] grid in an ArrayList?

I am new to Unity game dev and trying to expand my knowledge of data structs. I'm building a match-3 game, and I currently have a multi-dimensional ArrayList holding transform coordinates on a grid of ...
1
vote
1answer
189 views

export c4d mesh

I am trying to export a mesh and his textures out of c4d. The mesh is a car that have multiple materials and multiple objects. It looks like this : For straightforwardness reasons I would like to ...
0
votes
1answer
66 views

Parallel transformations tree update

I create my own pet-project graphics engine for the learning and research purposes. Now I'm trying to create a more efficient scene transformations update technique. My current approach is the linear ...
3
votes
1answer
1k views

Converting Euler rotation angles from Z up to Y up (Max to OpenGL)

I'm working on pulling geometry and it's transformation from a 3DS Max exported FBX (Z-up) to an OpenGL model format (Y-up). The main problem is I intend to keep the transformations as Translation and ...
3
votes
1answer
83 views

I want to cut a pizza slice out of a 2D circle using mouse input in Unity. What data structures and geometric formulas would be best for this?

I understand this is probably not an easy task considering I haven't found any code examples online that do something like this but if I wanted to take in mouse input lets say during a drag and use ...
0
votes
1answer
183 views

UE4 - Cloth collision

How is collision working in UE4 Free Asset Paragon-Kallari? It seems like the body of the character and the cape is somehow colliding but I wasnt able to find any physics asset or any setting. Could ...
0
votes
0answers
28 views

Unity3d - Tile-based "Slippy" map rendered on a sphere (earth)

Scenario I'm creating a spherical version of a slippy map using osm tiles and my luck has been limited thus far. I'm starting to think my strategy has lead me astray and that I need to start from ...
0
votes
1answer
670 views

How can I get the speed of finger drag using unity TouchPhase.Moved?

I'm making a mobile game where you control a 3d ball by touch. So far I can get it to roll based on finger down and drag (via TouchPhase.Moved) but I want to be able to detect a fast flick or finger ...
3
votes
1answer
961 views

Unity 5.x Network Synchronization Concepts

Bear with me, It will be long read^^ I am working on the new Unity Networking system. I was using Photon and old (legacy) unity network API's before. But as it seems there are some good benefits of ...
2
votes
2answers
1k views

How do I successfully implement Google Mobile Ads and Google Play Services into my Unity arcade game?

I have been trying for like a month now to properly implement Google Play Services and Google Mobile Ads into my Unity Android Game. I have had success in getting Google Play Services to work but when ...
0
votes
1answer
35 views

Extensible 2D Rendering with ECS Architecture

I am currently creating a 2D game/game engine using an ECS architecture. Currently I have a renderer_2d system which is a function that takes all ...

15 30 50 per page
1
2 3 4 5
1059