All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Not being able to display pygame.freetype text

I'm trying to make a game where the player has to dodge asteroids coming, and I'd like to display the lives. I looked up some tutorials and decided to settle on pygame.freetype. When I run the code ...
user avatar
0 votes
1 answer
9 views

Changing the target of a button that takes a gameobject as a parameter

I'm working on a point and click system in Unity and I have a contextual menu that appears when you right click on an object. In this menu, there's a button called "search" that moves the ...
user avatar
0 votes
1 answer
20 views

Possible to have Composite Collider 2D detect colliders in grandchildren?

I have a number of GameObjects with 2 child GameObjects: Sprite Words There is a a BoxCollider2D on both the Sprite child and the Words child. The parent has a Composite Collider 2D on it, which ...
user avatar
  • 115
0 votes
1 answer
25 views

UI quality drops when changing canvas resolution in Unity

I am making a game for android using unity. The problem is that the resolution of the UI drops drastically when the canvas resolution is changed(for testing purposes). Joystick(UI component) with ...
user avatar
  • 1
-1 votes
0 answers
22 views

3D marketplace for dummies [closed]

Why do people buy 3D models? What are the problems after buying models? Why do buyers buy from certain sellers? What is important for them when buying? What do they want during work, what do they want ...
user avatar
0 votes
0 answers
20 views

How to implement a directional attacking/blocking system?

I'm working on implementing a directional attacking / blocking system in Unity à la Elder Scrolls: Arena or more recently, Mount & Blade - where moving the mouse in a certain direction signals a ...
user avatar
0 votes
1 answer
13 views

Rotate an object relative to the player to face another object

Essentially, in my game, I have 3 objects: a player, a shield and a puck. I want to have the shield orbit the player to automatically face the puck. (So the position will change with the rotation). <...
user avatar
2 votes
0 answers
33 views

Handling infinite combos

I'm working on a game where entities can be affected by 'statuses' that can have an effect in response to any entity event (lost_life, turn_began...). I'm searching for good ways of handling this kind ...
user avatar
  • 21
0 votes
1 answer
31 views

Low poly terrain on godot

I'm new to game development and stuck on an issue . Question is : Considering the RAM usage , will it be better to use low - poly terrain ? (which i assume yes as it has lower level of details) Which ...
user avatar
  • 1
0 votes
0 answers
57 views

Attack/Defence formula: ensure defender wins a certain percentage of the time

I have two simple stats for my attack formula, attack and defence. I was reading through this answer which made it seem like ...
user avatar
0 votes
0 answers
31 views

How to deal with overlapping GameObjects in Unity

I am making a 2D puzzle game in Unity where puzzle pieces can be joined together. You join any 2 pieces by first touching one piece and then touching the second piece. For the purposes of simplifying ...
user avatar
  • 115
0 votes
0 answers
31 views

Good character generator for visual novels

I'm starting to a create visual novel game, and I was wondering if there were some good character generator (free or not) to make a bust and facesets for each character. It's a bit too early for me in ...
user avatar
0 votes
1 answer
45 views

Implement the snake movement in unity

I am developing a bullet-hell game and struggling to implement the snake movement logic. I try to record the head's positions and update bodies with these positions. ...
user avatar
  • 11
0 votes
0 answers
8 views

Collision: Simplify Multiple UCX Objects

Unreal Engine 4/5 Is it absolutely necessary to create multiple UCX collision objects in my 3D program? I have a very small, simple room for the player to walk around in yet I have to create 18 ...
user avatar
  • 111
0 votes
0 answers
31 views

3D Illusion of a 2D Planet with buildings

I recently came across an interesting post on how to create the illusion of a 3d planet using 2d graphics, here it is: link It is not very difficult to create the planet itself, you add a circle, then ...
user avatar
0 votes
0 answers
38 views

How to use scriptable objects for class selection?

I'm trying to make a class selection system for learning and I've decided to use scriptable objects for the classes since it seems like scriptable objects are good for that(?) however I start to get ...
user avatar
0 votes
1 answer
27 views

How to properly set up a lives system for a side-scroller in pygame

I have a game where the player has to dodge asteroids coming towards it, and I would like to incorporate a life system. Unfortunately, when I tried this, it still killed my player immediately. I ...
user avatar
0 votes
0 answers
5 views

How would you get the data from a CDataExchange object? (Find all the DDX mappings.)

I have a simple dialog, and set up the DDX's. For example, CDataExchange pDX; DDX_Text(pDX, IDC_EDIT_SOME_NUMBER, m_some_number); etc.... I am unable to find how to get back the list of DDX mappings ...
user avatar
0 votes
0 answers
29 views

Unity Prefab icons displayed wrong

Occasionally the prefab icons are displayed wrong. It either displays another icons preview, lets say "Side_Panel_4" displays "Side_Panel_1" icon. Or like the example bellow it ...
user avatar
0 votes
0 answers
34 views

Is there a solid equation for balancing skills/damage/life such as used on "prisoner's dilemma"?

Well, I watched this video about "Game Theory" some time ago, but the concept got stuck with me to this day. In one moment of the video (or other similar videos of this channel), it is said ...
user avatar
  • 115
0 votes
1 answer
33 views

How to simplify collision code when I have a lot of objects

Im trying to make a maze-like game and I need to simplify the code for when my player(picture box) collides with the walls of the maze(label). The code I have so far is ...
user avatar
0 votes
0 answers
16 views

Collision not being detected on CharacterController in Unity

Help! For whatever reason, I was following a tutorial on Unity movement, and when I was going to test out collision for certain objectives in my game, for whatever reason collision is not being ...
user avatar
0 votes
1 answer
23 views

If I have a number of nested GameObjects tagged with a particular phrase, how can I select the tagged GameObject one level above the bottommost child?

For my Unity project, I have a standard GameObject: it's an animal with 3 GameObjects nested under it (called Neem, Feem and PrintState). There are 6 Animals in my Hierarchy at the moment. Snake ...
user avatar
  • 115
0 votes
0 answers
33 views

Timer for enemy up and down java/libgdx

I want to make the selected enemy increase position.y by 1.0 and after 1.5 seconds return to the original position. I already use a timer of 2 seconds because I need to select a random enemy every 2 ...
user avatar
0 votes
0 answers
17 views

Make a game object navigate a 3d terrain? [closed]

I'm following RasterTek Direct3d 11 Terrain tutorials. While those are great tutorials and I'm learning so much valuable info, one thing is constantly in my head. And since my always-present-flaw is ...
user avatar
  • 130
0 votes
0 answers
15 views

Why doesn't my video play in the android smartphone but plays in the Unity Editor [closed]

I want to play a vertical video or a portrait video in Unity. I followed this tutorial and was successfully able to implement .As per the video you create a raw image in the UI canvas. In the hierarcy ...
user avatar
0 votes
1 answer
24 views

Unity tilemap WorldToCell returns floored world position

I have a tilemap that is filled with tiles by script. That works well so far. Now my aim is to make the tiles interactable by making them clickable. I achieved this by adding an EventSystem object ...
user avatar
  • 3
0 votes
0 answers
14 views

Problem Cloning Skinned Mesh Renderers Mesh via script

I was trying to clone a rigged mesh via script and change its orientation as the characters face wasn't facing at forward direction. So I created a Editor Script for that: ...
user avatar
0 votes
1 answer
19 views

2D circle and rotated square collision detection and response

I'm creating a 2D multiplayer game in javascript, but I'm actually struggling with a problem (not really a problem, but I don't know how to do). My player have a circle hitbox, so 2 circle collision, ...
user avatar
0 votes
1 answer
28 views

What would be a correct ID3D11Query design for occlusion testing?

I've tried looking for tutorials or samples related to the topic - but all that I could find are either scientific papers or vague posts on forums. As I understand it - I need to dedicate a whole pass ...
user avatar
  • 1
0 votes
0 answers
37 views

How to make an Input Buffer?

I'm trying to make an Input Buffer in Unity C# for later projects, and I've only found this old post from 7 years ago — here is the code: ...
user avatar
  • 1
0 votes
1 answer
27 views

How to remove Black screen and to properly play a portrait video in Unity

I want to play a vertical video or a portrait video in Unity. I followed this tutorial and was successfully able to implement it, but with one problem. There is black screen issue to the left and the ...
user avatar
0 votes
1 answer
45 views

How to get selected value in a dropdown

I made a simple survey from a guide on YouTube. The trouble is that dropdowns are not mentioned in there, and I have totally no idea how to get the selected text value from it. I tried multiple ...
user avatar
0 votes
1 answer
46 views

Listening for a Custom Trigger in a Preset (that will be instantiated in the scene)

I have a Preset that is listening for a Custom Event sent from the GameObject known as Magnet. I can't set the Preset to listen for Magnet since the Preset isn't in the scene yet (it gets instantiated ...
user avatar
  • 115
0 votes
0 answers
21 views

Calculating yaw and pitch angles between up and forward vectors and direction vector

I have a transformation matrix and a direction vector, and am trying to calculate separate yaw, pitch, and roll angles between the matrix and the direction vector. I have already calculated forward, ...
user avatar
  • 1
0 votes
0 answers
16 views

"Attach socket" with Oculus Interaction SDK

I'm trying to recreate the "attach socket" (XRSocketInteractor) from Unity's XR Interaction Toolkit. Has anyone had any success? I've read through the documentation but can't come up with a ...
user avatar
0 votes
1 answer
23 views

Does mesh contain a color?

I'm developing a simple 3D engine for education purposes. I'm wondering whether a mesh contains a color of each vertex? Because I saw somewhere that mesh does not contain a color at all. If so, then ...
user avatar
  • 3
0 votes
0 answers
25 views

On Mouse Down stops working when GameObject turned into Prefab and instantiated [closed]

I made a GameObject that uses On Mouse Down to start an action. It works great! I made the GameObjwct into a Prefab and On Start, have the program Instantiate the GameObject. It looks great and ...
user avatar
  • 115
0 votes
1 answer
31 views

Rotating an object in a circular path (using time)

I want to move an object in a circular path but I want it to complete its movement in that circle when the time ends. I tried doing this: ...
user avatar
1 vote
1 answer
37 views

Memory usage of simple SDL2 program grows linearly

I am a newbie in SDL2 and I was testing an example code of Lazy Foo SDL tutorial just out of curiosity. The program renders an image named x.bmp living in the same folder as the program. Here’s the ...
user avatar
0 votes
0 answers
26 views

What is the best solution that multiple devices communicate with each other in a network without server [closed]

I'm currently trying to develop an app (IOS & Android) that synchronizes a list with other devices in a network without a server. Each device can add objects to this list and all devices should ...
user avatar
0 votes
0 answers
32 views

How to hide unused quads in quadtree that are not close to the camera?

This is my Quadtree implementation in threejs. It works fine when the camera passes some threshold and the quads need to be created. The problem is how can I hide the quads that are not needed anymore ...
user avatar
0 votes
1 answer
19 views

Unity HDRP Emissions - When setting over 1 nit, blue becomes progressively more purple

I've been trying to use a HDRP Lit Shader material to create an intense lighting effect in a dark environment. I'm using a texture as an emission mask which is simply a 16x16 black png split into ...
user avatar
0 votes
0 answers
19 views

Unity ScriptableObjects String Interpolation [closed]

I am sure its possible, but I haven't figured out how. How would I go about using string interpolation for scriptableObjects? Some basic code I have for it: ...
user avatar
0 votes
1 answer
71 views

How to make a Class of Clans style tilemap projection in Unity?

I saw some posts about the projection used by Clash of Clans, but it doens't make sense for me. I am trying make a game like Clash of Clans (in Unity with an isometric tilemap). I tried use both ...
user avatar
0 votes
0 answers
25 views

Understanding matrix transformations for skeletal animation

I am working with Collada and GLTF. Say I have a humanoid with 3 bones with the following hierarchy: B0(root) → B1 → B2. Terminology: bind pose is the same thing ...
user avatar
  • 101
0 votes
1 answer
41 views

Why do my image sprites only change after closing the run, instead of when I start the game?

Why do my image sprites only change after closing the run, instead of when I start the game? What I mean by this is that, upon starting the run, it does nothing. But once I hit the play button to end ...
user avatar
  • 3
0 votes
1 answer
92 views

Metaverse Game - Scam?

I hope you can help me. I have invested in a metaverse game project which claims that 5 people are working full time on the project for 2 years already. Unfortunately in the last couple of days one ...
user avatar
  • 1
1 vote
1 answer
38 views

How do i make my game object goes to that specific direction after it bounces off a collision and not behave erratically?

...
user avatar
0 votes
0 answers
25 views

Remove tool from player

I have just started learning Roblox scripting and I've added a part which will add a rocket launcher to the player's backpack when they run over it. The player should then be able to fire a single ...
user avatar
  • 153

15 30 50 per page
1
2 3 4 5
1078