All Questions
0
votes
0answers
7 views
Best practice for RTS accuracy/aim
As I'm developing a RTS game set during the Napoleonic Campaign, I've got a question about the best method to implement 'bad aim' for the AI, as the accuracy of muskets were quite terrible back then.
...
-1
votes
0answers
24 views
Learning to code games
I have learnt to make some simple games using Unity, but now I would like to learn how to code them. After some research I have decided that I will learn Java game development. However, I don't know ...
0
votes
0answers
9 views
When should new threads be created in a game or how should time consuming task be handled?
This has been a question that has always troubled me while thinking about the code and logic behind gaming, I was wondering when and when not, is it appropriate to create new threads for different ...
0
votes
2answers
15 views
Actor in Stage Does Not Update the MoveTo XY Location
I am creating a game wherein an apple is being shot with an arrow. The apple's location is the XY location of the user input and the arrow actor has to move to that location using the code actor....
1
vote
1answer
12 views
How can I do something after an audio has finished
How can I enable the SetActive() property of a game object after the audio has finished?
0
votes
1answer
16 views
Unity 2d coordinates
I'm trying to get a 2d tilemap rendering but somethings not clicking with me about the 2d coordinates...
Here's my basic tilemap class -
public class Map : MonoBehaviour {
public Transform ...
-1
votes
0answers
13 views
Simple turn-based game with Xamarin.Forms
I'd like to make a simple, turn-based game, like chess or Tic Tac Toe. Not an action game. I have 0 experience in gaming so I'm not sure which way to choose. Xamarin.Forms or Unity.
I was really ...
0
votes
1answer
12 views
How to directly set a value to an UI Image's alpha channel(not the percentage of rendering)
When you write the code bellow, it renders a percentage of an image's predefined alpha value (which you define in unity's inspector - for example if you define the alpha value of an image to 100, the ...
0
votes
0answers
16 views
Game Object will NOT stretch across entire content area
I'm loading prefabs into a content area using a content size fitter and vertical layout group. I've tried multiple things to get the loaded prefabs to stretch across the entire content size (including ...
0
votes
0answers
20 views
How do you develop your own NES game? [on hold]
I am extremely interested in learning how to make my own NES game that I could play on the actual system. I have a friend that has all of the stuff to transfer the data onto the EPROMs because we were ...
0
votes
0answers
9 views
Normal map seams from certain angles, blends in at other angles. Can't fix?
I was having a problem in Unreal after making a rock along with some textures. I created the rock solely in ZBrush and after importing it to UE4, I realized there was a huge pinch shaped crease along ...
1
vote
1answer
34 views
Barter system data type
My game has 4 supplies, Gold Wheat Iron Fuel, a player is allowed to select a supply to trade and what supply to receive from merchant NPCs.
Currently, when the user trades an item I have the ...
-1
votes
0answers
32 views
Interesting Shader Problems
I've just started using shaders in my program and I'm taking a large portion from this tutorial. I'm using the same shaders as he is, but I'm having a bit of trouble.
This is my drawing code at the ...
-1
votes
0answers
10 views
Unable to start program error: ZombieGame.lib is not a valid win32 application [on hold]
On run time this error arises in visual studio 2015:
Error:.lib is not a valid win 32 application in visual studio 2015
I've made my own game engine then i am making a basic 2 d zombie game I've ...
1
vote
1answer
50 views
Create a game with free icons
We want to program a small minigame where we need a lot of icons for all kind of things (like in "Alchemy"). We looked through some free vector graphics pages, like http://www.freepik.com/, but they ...
0
votes
0answers
13 views
LibGDX - problem with LoadingScreen
I have problem with my LoadingScreen. When I run the game I have a black screen for about 5 seconds, and after that I have my LoadingScreen but for a split second. It's almost unnoticeable.
13
votes
2answers
734 views
How can I rotate an object based on another's offset to it?
I have a 3D model of a turret that con rotate around the Y-axis. This turret has a cannon that is significantly off the center of the object. I want the cannon, not the turret, to aim at a specified ...
0
votes
1answer
29 views
Using sprites in pygame without classes and objects
Relevant information
I'm in a grade 11 computer science class that uses Python & Pygame. We're aloud to use sprites and images though we're never taught it, just drawing graphics like squares and ...
0
votes
1answer
46 views
Data flow: Game design balancing data to game
I'm thinking about how to get the game design balancing data (unit values, quest conditions etc.) to a game. I wonder how you would solve/have solved it?
Conditions:
Java server
Unity mobile client ...
1
vote
2answers
26 views
Triggering an animation on a gameobject with a collider2D
I'm creating platforms that break on trigger. The animation works and the colliders are set like they should, but I can't seem to figure out how to trigger the "stepBreak" animation I have.
This is ...
0
votes
2answers
44 views
What are some basic zoning guidelines for designing game cities?
I am planning out a fictional game city. Based on the gameplay and story I have decided on several locations which will need to exist. I'm wondering though to what extent I need to take zoning into ...
0
votes
0answers
11 views
How to make a cylindrical collider for a cylindrical mesh in UE4
When I am importing Axis Alligend cylindrical mesh in UE4 here is what I get as an automatically generated collider:
But if I rotate the mesh in Maya and again exprot FBX to improt in UE4 here is ...
4
votes
1answer
73 views
How do game makers (without coding) work?
How do game makers/engines like Buildbox, GameSalad, Construct, GameMaker, etc work? What technologies (programming languages, APIs, etc) are used to build the and how does the program convert the ...
0
votes
1answer
21 views
Creating Multiple Render System to Draw Different Entities in Entity-Component-System
When creating ECS based game engine, do you (or can I) create multiple rendering systems?
Let's say I have an Entity class which is the basic unit in my engine, all it can do is add, remove and get ...
0
votes
0answers
18 views
how to deal with huge isometric maps in libgdx?
I'm trying to find a solution dealing with really huge isometric tiled maps.
My game has an top down world view that's rather big, 10.000 x 10.000 tiles of 200 x 100 pixels.
When I try to create ...
-1
votes
0answers
33 views
Please help me to understand Joystick code
I'm facing a problem on how to link my current code of character movement with Joystick code as I want my game to be able to export it as Android game apps. However I not really understand how the ...
0
votes
0answers
14 views
ARToolkit for Unity - Screen goes for black for a long time before starting the video
I have an issue with our AR iOS app. After the app is loaded screen stays black for a good 1 minute before it starts the video. we really want this issue to be fixed as it is not a good experience for ...
0
votes
0answers
24 views
Why monodevelop is not opening in Unity 5?
As I know, I installed MonoDevelop tools i.e: NET Framework 4.5 and GTK#. Still, it is not opening when I double clink on C# script. It shows me to choose which app you want to open it with.
As well ...
1
vote
1answer
37 views
What do sandbox games usually do when generating new terrains?
I am trying to make a minecraft. In my game, when the player moves to the boundary, new chunks will be generated.
What I do is creating new chunks in my main thread and generating a new VBO to store ...
-1
votes
0answers
18 views
Paylines in Unity Slot Machine
So I have all most finished creating my first slot machine in Unity and Im still getting use to it. I'm making a slot machine with 3 wheels and 22 spaces on each wheel. My question is how do I go ...
0
votes
0answers
27 views
My game keeps loading the same scene, the variable I use to determine it doesn't change no matter what I try [duplicate]
On the first scene the curLevel is set to 1. After I collect 6 pickups curLevel stays at 1, but the next scene is loaded. Then I collect 6 more and it just reloads that same scene over and over.
...
-6
votes
0answers
47 views
How can I improve our chance to get Greenlit on Steam? [on hold]
We are new developers trying to get our first game greenlit and looking for forums and opportunities to make that happen. any help would be greatly appreciated.
0
votes
0answers
7 views
How do I calculate how much the animation with root motion moves in each axis?
I have made an animation in Unity that moves an object 8 units in x-axis, 25 units in y-axis and zero units in z-axis, and I need to offset the object position according to how much it moves in each ...
0
votes
1answer
20 views
SDL_Mixer functions Mix_Quit versus Mix_CloseAudio
Could someone please explain me the differences between the SDL_Mixer functions Mix_Quit and Mix_CloseAudio? I've read the documentation but couldn't really understand it clearly. When to use them and ...
1
vote
2answers
62 views
How to optimize collision detection in a lane-defense game?
Somebody told me that don't use the physical collision detection(don't use Collider,Rigidbody,Raycasting) because performance loss.instead of it use the mathematical way for collision detection.
...
0
votes
1answer
36 views
Sticking things to Walls in 3D
I'm trying to leave the second dimension and finally make a 3d game, but I'm having a hard time coming up with a way to implement a certain concept. I am trying to make a flat object which would "...
0
votes
0answers
12 views
UE4 C++ Level Gen Collision not working
I'm using UE4.13.2
And seem to be having a problem with Level Generation.
for some reason i'm getting overlapping occure and i can't work out why.
Some Variables you need to know about
roomtoSpawn ...
-1
votes
1answer
30 views
General game programming career advice? [on hold]
I've seen this site alot but never thought to ask a question here until now. I'll be blunt: I want the advice of other programmers as to what to do in my future career, and I feel this site is the ...
0
votes
0answers
33 views
is it a good idea to implement game states as member variables of a previous state?
I don't want to use a state machine because reasons.
I have a menu class and a game class.
The menu class has a variable of type game inside it.
Calling a function start() in the game will launch ...
0
votes
0answers
19 views
How make my player dead with collision with tiles?
What I want is that when my player collides with my Tiles(which are solid) they'll be sent to the menustate(kind of like a death). I already did collision detection for my solid tiles. So how to make ...
1
vote
0answers
23 views
Stitching multiple meshes and aligning vertices
I am generating a map in unity, and i am stuck with a specific issue.
Due to the 64xxxk vertices restriction on unity I need to generate a map in sections.
I generate a noisemap of x times the ...
3
votes
1answer
34 views
Handling multiple controllers in a single player game
Currently implementing input support for a single player game and I'm unsure how best to handle the (admittedly odd) situation where the user plugs in 2 or more controllers. Should only one be active, ...
0
votes
0answers
44 views
Light 2D and Performance issues
I want to make a 2D game that will use 2 kinds of lights (Spotlight and Point Light). I need the game to be completly dark unless there is a light in the area and the light to not pass through walls. ...
1
vote
1answer
35 views
Prevent Unity click go trough Canvas
I'm currently facing this problem: If I click on a Button on my Canvas, the currently selected Unit moves towards the location under the Button.
Is is there any option to solve this? I'm using the A* ...
0
votes
0answers
20 views
Incremental and endless games theory
Is there any good tutorial/blog/book about endless and incremental games from theoretical point of view?
Sometimes it looks to me that they use basic incremental formulas like x = x + 0.1x (to add 10%...
1
vote
0answers
27 views
How to bring my game written in Graalonline engine to Facebook/iOS/Android?
I have a video game that I made before on a game engine called Graalonline. I hosted the game with their engine and servers and recently they stopped hosting my game. Now I have a game on my desktop ...
-3
votes
1answer
16 views
Unity 2D UI Scrollview Stretch settings not staying
So I'm trying to make a Scrollviewer and inside that will be aload of boxes stacked on top of each other (the boxes have information in them - like the boxes in this screenshot here but they will ...
0
votes
0answers
9 views
Any working variant for crossplatform gamepad events handling
I want to create a program that works with gamepad and has gui written on Qt. Program should run on Linux and Windows It is for my own purposes but it will be published as open source software.
I ...
0
votes
0answers
9 views
gainput and gamepads
Did anybody use gainput for working with gamepads? I haven't yet understand its API for write code, but I tried to launch samples that ship with the library. And listenersample doesn't react on ...
-1
votes
1answer
37 views
Monogame - How do I make a moving game such as terraria or stardew valley?
Alright so after some long hours and a lot of work I finally understand the basics of Monogame and am able to create a simple game with menu, sounds, the whole lot. But now I want to create a map game,...