All Questions

0
votes
0answers
15 views

Minecraft Optifine - where is the zoom class?

I'm working on a mod where I want to have a zoom feature like Optifine. To start out, I want to try messing around with the zoom in the actual Optifine mod. There are a lot of .class files, and I don'...
0
votes
1answer
27 views

How to create post-processing effects in Slick2D?

As I get closer and closer to the end of the feature development for my game and the beginning of the graphical overhaul, I keep thinking of ideas for graphical effects that would make my game even ...
-1
votes
1answer
33 views

How can I change the direction of movement each time a key is pressed?

I would like change randomly the movement of an object every time I press Q. It seems like the code should be like this, but it does not change the direction of movement as expected: ...
0
votes
0answers
46 views

Cyclist detecting player

I'm working on a game and I have a my player with the tag "Player". I have a cyclist spawning system, and each cyclist has the tag "cyclist", they are all prefabs. I have a script on the cyclists ...
0
votes
0answers
14 views

Unity: How to receive input events on a RectTransform that does not contain any image/text/…?

In Unity 2018.3: Imagine a GameObject with only a RectTransform component and a custom script attached to it - otherwise ...
1
vote
0answers
38 views

Preventing Unity from writing to the registry?

I see that Unity automatically writes some info to registry when it launches the game. Several people have this problem too: Preventing Unity from writing to the registry. How to disable writing to ...
1
vote
1answer
35 views

issues about combo attack system animation

i have some issues about my attack animations right now, i'm doing my light attack which has 3 separate attacks and animations. the scripting and trigger works(without animation), but my animation ...
-1
votes
0answers
18 views
0
votes
0answers
27 views

How do i update opengl lightning equation in my fragment shader to make my texture less glossy and more like a fabric

I built a model in blender, and am currently trying to import it into my android app using assimp together with opengl, i dont have any issues with the importing but my goal is to make the object look ...
0
votes
1answer
17 views

Raycasting from an object to the center of the screen (crosshair) without clipping through objects

Am trying to learn about Raycasting, and I thought I would start with something simple, and that was a laser that would come out of an object (think laser pointer in your hand) and always go to the ...
1
vote
2answers
23 views

Unity 2D rigging parts order

Hello I have some 2d character in sprite I've rigged to use in Unity 2D.Something like this, with separate body parts. Although I've used weights and geometry, these body parts are supposed to move ...
1
vote
1answer
52 views

Finding a path with minimal number of turns on a grid?

There is a path, generated by my implementation of A*, where diagonals aren't allowed, and the heuristics is the Manhattan distance. Is there a way to always or nearly always find a path with the ...
0
votes
1answer
25 views

Attaching a swinging object to a rolling object?

I am new to Unity and attempting to create a platform that hangs down under a roller that runs on rails. I've gathered my objects and come so far but I can't for the life of me work out how to attach ...
1
vote
2answers
85 views

How can I sync billiard balls in network?

I'm developing a billiard game my problem is I don't know how can I sync balls in network I use forge for networking but feel free to answer photon or unet because I know them. What I tried 1....
0
votes
0answers
10 views

Instantiate an object by translating it randomly

My goal through this code in C # is with each support of a key to create a cube, to a fixed position given by another object, but taking a random direction translation support 1> translation 1 ...
2
votes
2answers
63 views

Is it feasible to create a game in godot using little to no GDScript [closed]

I am trying to get more into game development, I have very little experience with it. I've been messing around a bit with the Godot engine and am slowly starting to understand it more. I have some ...
0
votes
0answers
33 views

How to apply toastr notifications when user get leveled up? [duplicate]

This question is about when user get leveled up the toastr will pop up. What I want to do is i want to put the toastr.js inside my script but I don't have idea how to implement. ** Link and Script **...
0
votes
1answer
37 views

What is more efficient: Excessive Multithreading or Event-Handling through one Class?

I am recently working on a server for a game (1 vs 1 with observers) that shall support parallel games and I wonder whether it is more efficient to create 1 extra thread per game/lobby or to let one ...
0
votes
0answers
25 views

Value returned is different to the value of the original object

I was wondering if someone could help me resolve a small roadblock I encountered aha... Essentially, in my Pickup.cpp file you can see that I'm trying to establish a behaviour wherein the object being ...
0
votes
0answers
18 views

“Namespace cannot directly contain members” error

Here is my code that could not be compiled because of this: in the first line of this code is indicated: a namespace can not directly contain members such as fields or methods ...
0
votes
1answer
22 views

Unity point light baking into lightmap

I'm developing a puzzle with a ball with cracks on it. Inside the ball there's a point light. Its light rays come out of the cracks and hit some platforms (walls/ceiling/floor). To solve the puzzle ...
0
votes
2answers
31 views

WaitForSeconds error

I'm new to c# and coding, sorry if I sound like a noob... I don't know how to fix the waitforseconds error, and I don't know what's wrong. ...
0
votes
1answer
30 views

Amazon FreeTime Unlimited Monetization [closed]

So I've recently noticed how great FreeTime Unlimited is for my daughter. There's no ads, no in-app purchases, etc. She can just play the games/apps and I don't have to worry about it. As a develop I ...
0
votes
1answer
41 views

OpenGL Fragment Shader simulate LCD slow response time

I have a very simple OpenGL view rendering 2 triangles with a single texture applied. The minimum setup for rendering a 2d game. What i do is redraw the texture for every frame and easily get 60fps. ...
0
votes
1answer
36 views

Developing addons for xbox one controller

I want to develop an addon that plugs to the bottom of the controller for the xbox one. Can I legally make addons to the xbox one controllers without Microsoft's blessing? If so, has anyone done ...
0
votes
1answer
40 views

My Unity project does communicate with MongoDB on the Editor but not on compiled build

I was trying to implement MongoDB with my Unity WebGL and everything is working fine so that I managed to insert and retrieve documents from my mongo database with no issues, so everything was perfect ...
0
votes
0answers
45 views

Algorithm for Circle with fixed radius to cover most points

I'm in need of an algorithm to find the best spot for a circle with a fixed radius r to cover as many points as possible on a 2D grid, preferably O(n). Currently I tried 2 different approaches: The ...
1
vote
1answer
557 views

How do I implement bullet spread in three-dimensional space?

How can I shoot a bullet in three-dimensional space in such a way that its path diverges a bit, randomly, from the direction in which the gun is pointed? I know I have to use the Quaternions, but I ...
0
votes
0answers
8 views

Using Unity Editor via RDP : First-person-controller not work. Is there any workaround?

Good day. I'm trying to use Unity Editor on a remote server using RDP. All works well except the First Person Controller: there's no way to move player view using mouse (instead, keyboard commands ...
0
votes
0answers
15 views

I Can't spawn buttons in my Grid. why?

Today i was following a tutorial about making a shop, but i got a problem. and i've followed the scripting tutorial, but it seems i can't spawn a button inside the grid when i pressed GetItemButton. ...
0
votes
1answer
18 views

Why does iOS packaging fail when I activate Apple ARKit plugins in Unreal Engine?

Steps, Using Unreal Engine 4.21.2 1 - I created new Third Person game from the Unreal Engine template and named it FaceARSample 2 - I imported a skeletal mesh with blend shapes 3 - I added this to ...
0
votes
0answers
19 views

Implement an “xprevious” in LibGDX

I have used Gamemaker Studio 2 before, briefly, and found that the xprevious and yprevious variables are extremely useful. ...
0
votes
0answers
19 views

How to get gravity to change with mobile tilt in Unity

Let's say I was making a mobile unity game and I retrieved the tilt variable and put it into a vector3 to apply forces to a cube, this works for one cube but not for every game object. I want the ...
1
vote
2answers
60 views

OnMouseDown() execute only once

I have the following OnMouseDown() function: ...
0
votes
1answer
10 views

Culling mask don't work

I have the following setup: MainCamera render everything except ImageTurret layer. TurretCamera render only ImageTurret layer on a RawImage My problem is: MainCamera render everything and ...
0
votes
0answers
12 views

Tron type game AI algorithm [duplicate]

Im looking for a tron AI algorithm on snap!/scratch. If not can you help me develop an AI for this game?
2
votes
1answer
39 views

Level design - modular vs single project

I'm working in Blender and UE4 for a while now... I always have the dillema of how to create my levels. My two ideas are: a) modular - like lego blocks. Create a wall, a floor, wall with hole for a ...
0
votes
0answers
25 views

Placing tile on second layer results in wrong tile, or changes nearby tiles

So I am working on a 2d game and running into strange behavior when trying to add tiles to a tile map. The first layer seems to work fine but if I add a new layer it will always place the same tile ...
0
votes
1answer
30 views

Public variable changed in script isn't stored in playmode

I have a public variable float x in script Foo.cs. I have a Bar.cs script with a function ...
0
votes
0answers
14 views

Unity 3d (gamename) has stopped- logcat included

I have created a game and ran it successfully on my phone multiple times. But once, when i tried to run the app after exporting it, it threw this error. Unfortunately, Birdy has stopped. The name of ...
1
vote
0answers
20 views

Implementing an Asset Lifecycle

I'm currently developing a game using Kotlin and LibGDX. But this Question should be Framework/Engine agnostic. Given I have a Screen class like this: ...
0
votes
1answer
16 views

Unity: how to hide touch-screen joysticks in the main menu?

I am a Unity beginner trying to make an app/game. How do I hide the touch-screen joysticks from showing on-screen in the main menu before the game/app actually starts?
3
votes
1answer
39 views

How to invert a Tilemap's coordinate system?

The Tilemap object in Unity uses a coordinate system that grows up-right from (0,0). (ie. with the Origin at the bottom-left of the screen.) I'm trying to represent a mapping system that has the ...
0
votes
1answer
21 views

Destroying copy of DontDestroyOnLoad GameObject?

I have a Main Menu with level selecter up to 5 different scenes on one Map. I also have a MenuManager which doesn't get destroyed between the scenes to gather the bool information of level finished or ...
2
votes
1answer
58 views

Occupation groups for a country simulation game

I'm trying to create citizen occupation groups or job classes for a country-management game I'm developing. I want it to be inclusionary but also very basic. I did some research but all job lists I ...
1
vote
1answer
41 views

Godot: How do I asign movement cost to tiles in a Tilemap?

Pathfinding I am trying to apply godot's Navigation to create a pahtfinding enemy in a Platformer game. I've read about a method to allow for pathfinding to take into account gravity. My issue is ...
0
votes
0answers
18 views

Libgdx: black screen when setting screen and font pixelated

I have a problem with black screen when switching back to main menu and when opening a screen. When the game starts, the screen is set to MainMenuScreen. That works. When I select the first menu ...
0
votes
0answers
32 views

Particle system and 3D scene not getting rendered together

I have been following this lesson for implementing a particle system inside a 3D scene whose code is here in github. My entry point and initialization looks like : ...

15 30 50 per page