All Questions

0
votes
0answers
3 views

How to create GUI for all resolutions

I'd like to create a GUI in my first Unity-game (2D). I want my GUI appear sharp in all resolutions (e.g. 1920x1200 or 3840x2160). The problem I am facing now is that I don't know if I should save my ...
1
vote
1answer
15 views

Do industry professionals building games using UE4 use blueprints at all, or do they use C++ exclusively?

As a teacher on a game development module I have usually insisted that users use C++ because it is a more sought-after skill in industry, but online support and information on C++ in Unreal Engine 4 ...
0
votes
0answers
6 views

Using single Triggers on multiple controllers in Unity

After trying out a lot of stuff I finally need to surrender. Im having a project where I want to use the triggers of the Xbox Controllers seperately. To do so I added them as axis 9 and 10 in the ...
0
votes
1answer
8 views

Meshes exported from blender as .obj does not map correctly

I am having some problems with developing my game in OpenGL with java (Using LWJGL3). I have been following a guide for the more complex steps of the process, like loading meshes. When using the ...
-1
votes
0answers
20 views

OpenGL 3.x: How to make smooth transition between lo-res and hi-res tiles?

So, I have some tails (his position and texture) and I want to make effect like smooth transition (seems like animation) of this tiles, so, when I'm zooming I want to new tiles didn't load with a ...
1
vote
0answers
13 views

Object pooling in Multiplayer Game. Physics not synchronizing well

I implemented object pooling for my multiplayer project. Following Unity Manual I used custom spawn handler for shooting bullets. Bullets game object has rigidbody so selected Sync Rigibody 3D in ...
0
votes
0answers
9 views

Modding sprites in New Super Mario Bros. DS

I'm a New Super Mario Bros. DS modder. My goal is to create a custom sprite over an existing unused sprite. I checked in on fellow modders and they said theoretically, I could copy another sprite's ...
0
votes
0answers
15 views

How would I swap a character when a player touches a collider?

I wrote a simple script to attempt to do this and I created an empty game object and applied the script to it and dragged both of my sprites into my script and I receive no errors but nothing happens ...
0
votes
0answers
5 views

Tangent and Binormal direction if FBX file format

What is the consensus on tangent and binormal direction in FBX file format? Where does the binormal and tangent pointing to in uv coordinate system? Is tangent pointing along U axis and binormal ...
0
votes
1answer
13 views

GMS2 How to check if all switch objects in a room are set to true?

I'm trying to implement a puzzle mechanic in Game Maker Studio 2. Where you need to activate multiple switches for an event to happen (like opening a door) However, I'm currently stuck in trying to ...
0
votes
0answers
11 views

Roblox, custom chat filter

So, I would like to add my own chat filter to my game, how would I do this? eg: Player says: "DIE" Goes through chat filter and comes out as: "###" or any other string I specify.
0
votes
0answers
29 views

C++ text based football — lookup table and AI logic help

I am trying to develop a one-player text based football game in C++ strictly in the console without graphics. I am developing the game logic here below vs the CPU and I also need to do the vice versa (...
0
votes
0answers
10 views

Unity Physics Simulation - Limitations / Inaccuracies? Bounciness of a ball (pool/snooker balls etc)

I am playing with Unity physics engine. I have a pool table and a cue ball. Both have Physic Materials. If I start the game, with the ball floating about 1m above the table, it falls and bounces (...
0
votes
0answers
25 views

how can this random scene code run well when it is reloaded?

I have a code for random scenes, the scenes that I have are 10 randomized scenes, but when I reload the scene there is only one scene. ...
-2
votes
0answers
34 views

Which are the best free 3D Game Frameworks? [on hold]

I am looking to design a game for android, However, I am not sure on what 3D game frameworks are available to use. I am not looking to use a game engine. I just want to use a game framework for ...
0
votes
0answers
10 views

Making first person animations for multiple hands

I'm a bit stuck in how to achieve a basic FPS Controller/System. What I want to achieve is the following: Rig and animate first person hands with gun attached in Blender (got that) Export ...
0
votes
1answer
25 views

Animate some tiles of tile map

I have a game where each "tile" of the terrain is a triangle (Settlers 2). Those are placed next to each other and in way creating an infinite world (right/bottom jumps back to left/top). There is a ...
0
votes
0answers
41 views

How to sell games I design [on hold]

I built some little computer games and have no idea how to sell them. What do I do?
0
votes
1answer
25 views

Does it make sense to export and use skeletal animation as sprites?

As tools like Dragonbones, Spine lets you export animations as both sprite atlas and skeleton data (JSON/binary), I'm not sure which format to use when importing to Unity. I have few concerns: Will ...
0
votes
1answer
29 views

How to reset the score to 0 when reloading the game?

My scoring system uses DontDestroyOnLoad to persist between scenes: ...
0
votes
1answer
44 views

How to use arrow keys to navigate between cells in a crossword puzzle

I am making a crossword puzzle, using a canvas. How do you get the keyboard arrows to interact with the screen so that when the user presses any of the arrow keys, the cursor will advance to the next ...
0
votes
0answers
25 views

Rickrolling Players in commercial game

Not sure if this question is too stupid but, theoretically speaking... Could you get into trouble for using something like Application.OpenURL in a commercial game to rickroll a player or would that ...
0
votes
1answer
19 views

Unity FPS style turning

I have this code: ...
0
votes
0answers
14 views

openGL resource utilization pipeline [on hold]

How does openGL rendering pipeline works from RAM/VRAM, CPU/GPU communication point of view ? ps I've tried to search on web, but nothing concrete there so far....
0
votes
1answer
37 views

How Frustum Culling and Sky Box Working Together ? The skybox appears where it should not appear

When i did frustum culling, far parts of land not rendering. It is good like i want. But after I see sky box instead of these parts. My question is, is this normal ? Or what i need to see or what i ...
0
votes
0answers
12 views

Initialize an object in property drawer based on an int variable in Unity

I have created following classes for my game in unity: ...
1
vote
1answer
18 views

Unity right mouse drag turn

How would I use my right mouse button to turn a player character in unity, while only turning in the direction and speed of the drag? Not sure if I'm meant to post this here or stackoverflow. EDIT: ...
1
vote
1answer
66 views

How do I get a Metal texture ID to render to it with Ogre?

I looked in the documentation, but I don't know how to get the texture ID. ...
0
votes
0answers
6 views

OnInspectorGUI Never called

The following code doesn't work, "What" is never logged out. ...
0
votes
0answers
18 views

nvidia SSAO visible errors

I am trying to add ssao effect to a visualization application but there are errors in resulting image. I am using code from https://github.com/nvpro-samples/gl_ssao . Errors occur in rapidly changing ...
0
votes
1answer
8 views

Transparency problem, phong model

It's the first time I'm trying to implement the Phong lighting model. I'm pretty sure everything is working fine. I was experimenting using different materials, meaning I played with Kd,Ks,Ka and Ns ...
0
votes
1answer
23 views

Python: I have a python statement which should work but it doesn't

The error in the picture is highlighted in red. So, I have used this code on another computer and it worked, why wont it work now? I may have made a really small and stupid error and if I have I'm ...
0
votes
0answers
9 views

How to make pygame file executable?

How can I make one executable pygame file if it imports other files and loads images and music in it? I have a folder called MyGame. It contains a file Game.py (the main file) and folders: Tracks (...
0
votes
0answers
55 views

3D Rendering c++

I'm trying to make a rendering scene with camera but I'm clearly missing something as, it displays well, but when i want to rotate my camera, it rotates my object instead. Could you check and tell me ...
0
votes
1answer
36 views

Press f to interact with NPCs or objects

How do I change the method used for initiating the interaction. Instead of clicking object, check if within a certain radius of an object when you hit a key on your keyboard. If within 1 unit, the ...
0
votes
0answers
9 views

Help with Enemy pursuit script or follow player, endless runner type

Someone Should help me with a Script or code to integrate enemy to pursue player and then lag behind in speed, and if player speed reduces, it will catch up, like the normal enemy purse mechanics ...
0
votes
3answers
42 views

How to add collision to this script in Unity

I Want to be able to have collision were my player can't go through objects with colliders un Unity but I don't know how to make that happen, can you please help? ...
0
votes
0answers
7 views

How to use individual Fonts for Witched Instances in LIBGDX

I have an Actor that acts as an GUI Element on the screen. In this Actor I will draw with a font on the screen. I would like to draw several instances of this Actor on screen, but with individual ...
-1
votes
0answers
28 views

All meshes I'm rendering seem to start at the same point

I'm learning OpenGL via LearnOpenGL.com I'm stuck at the model renderer. I'm writing everything from scratch in C, and this is what I have: I feel like I'm missing a flag or something and this ...
0
votes
1answer
23 views

Is it ok to return a call to itself inside a method that has a return type?

Hello all I am making a little blackjack game in Unity. Although these classes don't actually use Monobehaviour or anything just yet. I have this method and I'm not sure it will work like this or not....
0
votes
1answer
14 views

Drawing each sprite at different location

I can draw multiple sprites but they are all on top of each other at (0,0). How would I make each sprite appear after one another in a row? My Rect class and Draw function: ...
0
votes
0answers
4 views

Which code do I have to add to make characters turn based on key pressed? [on hold]

body{background:url('https://www.dreamincode.net/forums/uploads/post-242958-1246321970.jpg'); background-size } function myChangeImage01(){ } {document.body.style.backgroundRepeat = "no-...
2
votes
0answers
21 views

How to properly write “stick to surface” character logic that handles unexpected large time deltas?

I've been trying to wrap my head around this issue: in a 2D platformer game (but this may as well apply to 3D games) I want the character to "stick" to the surface that it's moving along and at the ...
0
votes
0answers
18 views

Use SVG or bitmap images?

currently I'm creating a GUI for my first game in Unity and I'd like to know if I should use SVG-files instead of bitmap images. The reason why I ask is Unity seems to have some kind of SVG importer (...
0
votes
0answers
8 views

How to give and remove authority of an object between multiple clients (Or how to let the client controller push a rigidbody)

Just a little script to help anybody searching how to pass authority from a client to another when colliding with an object. I used it to let the player push a rigidbody cube with his rigidbody ...
0
votes
1answer
15 views

How do I draw a rectangle in Pygame?

I am getting the error "AttributeError: 'Rect' object has no attribute 'draw'" with this code: ...
0
votes
3answers
53 views

How can you tell if you are a large player on a large map or a small player on a small map?

If everything is scaled by a constant factor, can you tell that the world is smaller or larger? I think you could look down at the ground and see that it's "closer". But how do you know what ...
0
votes
0answers
7 views

Export GameObject to IFC file fomat

I have some max model (fbx) object and some unity primitive objects. A user can view it in a unity player. Now i want to provide a feature to end user that they can export the unity game object to ...
1
vote
1answer
50 views

OpenGL draw functions and multi-threading. How they work together?

I want to apply multi-thread in a simple way to control and draw 4000 objects. I am using SDL and OpenGL. control : locations, collisions, calculations ... etc draw : OpenGL draw functions ...

15 30 50 per page