All Questions

-1
votes
1answer
37 views

can you release a game made by unity free on google play store [duplicate]

do i need to pay for anything in this situation : i m making mini games to raise money and cant afford unity pro or plus(don't think its worth it)for my original idea/game.i am also thinking about ...
0
votes
2answers
75 views

the countdown timer inside while loop not working [duplicate]

i am instantiating prefab cars ... the clones had a random countdown timer with each one off them and its working very well but the its not decreasing its not counting down the timer is inside the ...
2
votes
2answers
50 views

Javelin throw projectile motion

I am trying to simulate throw of javelin using projectile motion. The basic physics of projectile motion of a point was used to position the javelin. For the rotation part, I just assumed that the ...
0
votes
0answers
17 views

Rpg like texas hold-em without being too unfun to play against

What would be the best way to create texas holdem (and AI for it) without being too strong to play against and also have a way for AI to "cheat" (ie game giving AI good cards on river/draw) based on ...
0
votes
1answer
53 views

Should I use dependency injection in Unity? [closed]

As learned about dependency injection on the internet, I found that it's something that can be done simply by the Singleton Pattern. But there are 2 completely different views on this issue: Some ...
0
votes
0answers
67 views

How create player controller like in “Overcooked” game?

Wanna to make player controller like in game "Overcooked". Trailer with gameplay. My current player controller. PlayerController.cs ...
1
vote
0answers
12 views

Incorrect placement of diacritics in Arabic fonts

I put AdobeNaskh font on my texts and use Arabic text support for unity and use show Tashkeel function then the text appears so what is the solution of this problem?
0
votes
1answer
27 views

Generate a HexMap where each tile has a different tile on each edge

I’m trying to generate a 7*13 hexmap, with 9 different types of tiles, numbered 0 through 8. I need the map to be randomly generated on each run and it has to be so that each tile has a different ...
0
votes
1answer
28 views

Does putting non power of 2 sprites in an atlas makes them a power of 2?

A lot of my UI sprites are not power of 2 so Unity might not compress them. However I put them inside a sprite atlas which is 1024x1024. So are they now considered a power of 2 and will Unity compress ...
0
votes
0answers
8 views

Blender rotation coordinates not exporting to Unity

I have an icosphere in blender where I split up each face into a separate object, so that they become separate game objects when imported in Unity. However, when I look in Unity, each face/game object ...
1
vote
0answers
33 views

Game running with fewer steps than desired (game created in GameMaker)

I tested my game on 4 different computers and got some results. PC 1 => AMD A4-6300 APU with Radeon HD Graphics / 2,0 GB RAM / AMD Radeon HD 8370D In this computer I tested a few stages and I ...
0
votes
0answers
27 views

Isometric character from 3D blender model

I am trying to make a character for an isometric game from a 3D model in Blender. I managed to create a simple humanoid model and implement an isometric camera, rotated by 60° on the x-axis and 45° on ...
1
vote
1answer
83 views

Should components in Entity Component System pattern have logic?

Is often read that in entity component system pattern we should treat components just as a passive data structure with no logic at all, this way we follow to a data oriented design approach with ...
0
votes
0answers
10 views

rayTest for cutted by stencil objects

I have red rectangle based on which I am cutting (using opengl stencil) all of the green rectangles, like shown in the following screenshots a) before cut b) after cut When I run rayTest(bullet ...
0
votes
0answers
17 views

Error modify bools from script1 iin script2 then get bools value frrom script2! [duplicate]

I have a GameObject called "emptyobject" with a FullOrFree component attached, containing several public boolean variables: ...
0
votes
1answer
19 views

Setting shader by script?

I make s shader file and drop it on object with material. I wrote this script to run shader when press Space button. All is good except that script not load shader when run the game !! I have to do it ...
0
votes
1answer
118 views

How to start a game with “3-2-1 go”?

I want my game to start after a "3-2-1 go" countdown. My Player Script : ...
0
votes
1answer
50 views

Server-side real time position calculation based on destination position - C#

What I want to achieve is to calculate the real object position based on its speed and a destination position. In my server, I have a MapInstance that have a list ...
1
vote
1answer
17 views

Inflating a balloon while the user touches & holds the screen

I'm trying to create a simple balloon which will enlarge as the user touches and holds the screen. So I wrote something like this: ...
0
votes
1answer
18 views

Access a clone of an instantiated object - not all the clones?

I am trying to access the object I instantiate - basically a prefab car instantiates cars (one after one) ..the problem that when try to move one .. they all move together ... what's the best way to ...
0
votes
1answer
12 views

Using Rigidbody.AddForce() twice seems to interfere with logic

So I created a magnetic effect, where objects are "sucked" into my player. It works great. Now I want those same objects to get a little Impulse force when they spawn. This has somehow reversed my ...
0
votes
1answer
17 views

Canvas Infinite Map: How to have reappearing objects at static X,Y even when looping

I made a html canvas example of an infinite scrolling map with objects in static places. As you can see in the Fiddle below, when you move left with the Arrow Keys, you can see that the map does not ...
1
vote
1answer
43 views

In Unity C#, how can I change weapon a few frames later?

I have this Input code to change weapon: ...
0
votes
0answers
25 views

Can somebody help me model stuff and make a cel shaded open world game? [closed]

i have so many plans for an open world game inspired from breath of the wild my game is called Legends of Aciria and i really need help plz i need a team. i can do the ideas and much more i just need ...
0
votes
0answers
17 views

Game was resized incorrectly for no apparent reason (GameMaker)

I exported the game with the following graphics settings: OBS - Interpolate colors between pixels would be like a Antiliasing. I do not think it is the cause of the problem, but I will test without ...
0
votes
0answers
21 views

Shortcut Not Found (installing game created in GameMaker)

I tested the game I created on 4 computers (ALL Windows 7) and had the following problem at installation time. The shortcut created by the installer itself came like this: When I click the following ...
0
votes
1answer
23 views

Sprite won't change with direction

I am making a top down Pacman game. I have two sprites: one for facing up and one for facing left. When I press W, the sprite showing is still the one for when Pacman is moving left, but I want to ...
0
votes
0answers
23 views

Calculating Damage from from object collision

I need to calculate the damage resulting from a crash of two objects. I found the formula of the resulting kinetic energy: E = m * v² / 2 I guess I also have to ...
0
votes
0answers
14 views

How to track/identify amorphous blobs in 2D or 3D space

In doing HTML/DOM work, you are working with concrete nodes which you can visibly touch and have a defined shape and boundary. What I'm wondering though is like with a cloud like structure, or like a ...
0
votes
1answer
38 views

If statements seem to act as though the condition is always true

I have other scripts in the same project using boolean if statements that work fine, but I've tried multiple methods of testing if the if statements below are working and none of them worked! I don't ...
0
votes
0answers
40 views

Setting up a game studio in the UK [closed]

Me and my friend are currently studying games development at uni. We're wanting to do a games studio start up in the next 6 months or so. In terms of a business plan we've got fairly good estimates ...
0
votes
0answers
16 views

Game design critique as a service [closed]

Are there any services or skilled game designers who could give initial feedback or recommendations for a game before it hits the market?
0
votes
1answer
16 views

XNA 4.0 How to change GraphicsDevice Default DepthStencilState Value

I want to change one of the deafult values of my GraphicsDevice to that: GraphicsDevice.DepthStencilState.DepthBufferEnable = true; But I know only to change it ...
-1
votes
0answers
14 views

Swift Score Function - Increment score every 0.25 seconds by 100

so I want to increment my score by 100 every 0.25 seconds, this is what I have so far and it's not working at all! ...
0
votes
1answer
28 views

How can I use the colours of a swatch in a script?

In Unity's editor I have set a swatch with some colours that are used throughout our game: This swatch is saved in a file in the project's Assets folder: ...
-1
votes
0answers
20 views

how to implement a trail in coco2dx -c++

I'd like to implement a trail of sprites following one another in a line, like the sprites circle in Zuma Deluxe: I already used CCMotionStreak. Editor's note: this is a great place to show us how ...
0
votes
1answer
25 views

Implementing score relative to total game time

How would one create score dependent on total time in game? I would like the score to count by 1000+ each second the game is running for. Later I am going to add some coins which will give my total ...
0
votes
1answer
21 views

Collisions in other sides on pong in python

Im trying to create pong in python, so far Ive set up correct collisions on the right paddle but upon just trying to reverse the code to work with the other side it refuses to work, simply glitching ...
0
votes
0answers
22 views

Unity - Game not running on android 8 and 9

Game is crashing with message "app has stoped" when i am opening it (it doesnt show splash screen) , everything is fine when I am creating new project with same unity version, build, player and sdk ...
0
votes
0answers
12 views

Godot - How to set the AudioStreamPlayer to switch between tracks

Conditional Music Playback What's important here is that I know how to switch the track that's being played back to another if some condition is met in the scene. If possible I also want to know ...
1
vote
1answer
17 views

What's the best practice to use the pbo to upload multi textures?

I have a basic model to upload textures as shown in the following picture. I design this for several reasons: Only the primary thread owns the OpenGL context, so I choose to create buffers, map ...
0
votes
0answers
13 views

ImGui: disable window move with drag event on image

I'm displaying an image with ImGUI like this: ...
1
vote
1answer
59 views

Frustum Culling bug in program

I did Frustum Culling in my engine, but it does not work correctly. All shown in the video: Video If the approximation is too close, the model disappears. On the right in the console you can see ...
0
votes
1answer
17 views

Unity animation tool doesn't save changes

I'm trying to create an animation inside Unity using the animator tool, however the record tool isn't recording my changes and I'm struggling to get this to create animations. I have created an ...
0
votes
0answers
26 views

How Can I Monetize With Startapp A Libgdx Game Made With Aide

I have created a libGDX game with the AIDE IDE Android app. The game is working fine so I will be uploading it to the Play Store to make money. I'd like to use Startapp ads, how would I integrate it? ...
0
votes
1answer
21 views

Interpreting focal length in units of pixels

I am working on a renderer of sorts and I have some fundamental questions. Let's say I have a vector in a 3D virtual world space which is unitless, and I want to project it onto a 2D screen, so I need ...
1
vote
1answer
42 views

UE4 - 2D puzzles in 3D game

I want to create a game where you walk around in 3D, and sometimes you can activate some kind of 2D puzzle. For example - you walk up to the door, and you can open it using lockpicks. The lockpick ...
0
votes
0answers
10 views

Can't enable script component on a prefab instance in Unity [duplicate]

Prefab structure: MainObject (parent; prefab instance in the scene) |-Child |-Child |-Triggers |-Trigger1 MainObject has: ScriptIWantToEnable (Script) ...
0
votes
0answers
20 views

Generating skeleton bind pose from vertex weights

Assuming that you know how many bones should be in the skeleton, and you have the bone hierarchy, is it possible to calculate the bind pose of the bones just based on the vertex weights? To elaborate ...
0
votes
0answers
20 views

DirectX 11 - Skybox Texture messed up

I'm attempting to create a skybox and I'm currently having some issues with the texture where it looks like this: It seems the textures are not really "sticking to their sides" correctly as it looks ...

15 30 50 per page