Most voted "games" questions
A game or video game, also called a video game, is a form of entertainment in which the player interacts with a program through peripherals, such as controls (joysticks) and/or keyboard, where the program performs certain events through player actions.
Learn more…112 questions
Sort by count of
-
62
votes4
answers2243
viewsHow do I implement wind in a trajectory equation?
Has a game of tank 2D, using the Unityengine in C#, in which it is played on the side of the screen, seeing only the sides of the tanks, in which has the green and red tank. The green need to shoot…
-
23
votes3
answers478
viewsCan Garbage Collector language be used for games?
I started learning C# and even Java for interest in game development. But I know that many are developed with C++, mainly because I don’t have one Garbage Collector. Of course I know that several…
-
21
votes4
answers4816
viewsCheck Old Play Winner
The algorithm teacher asked us to write a code to make a simple old game in Java. And I already have everything ready only I’m not very happy with the solution I found to validate who won the game.…
-
17
votes1
answer616
viewsDesigning the Top Gear
I’m trying to make a game like Top Gear (SNES) to acquire some knowledge about 2D games, only I came to a question about the tracks: they are straight, curved or images? I am using Javafx. If I try…
-
14
votes1
answer3265
viewsHow to program Artificial Intelligence with Minimax
My first question here, I recently started a "Jogo Da Velha" in Java and it is already ready, however I want to implement the decision-making capacity, or artificial intelligence. I’ve found that…
-
13
votes1
answer2964
viewsCalculate force to reach point B from point A
I have the value of the starting point, the end point (target) and the initial angle of the object. I would like to know the strength to reach the end point, as in the image below. Is there a…
-
13
votes2
answers1435
viewsA game-specific programming language
Is there any programming language specific for the development of video games? A language that is high-performance optimized to use media processing instructions, which is linked to GPU? I know a…
-
11
votes1
answer756
viewsHow does terrain generation work in a game?
The game No Man’s Sky has not yet released but I’m curious about the technique they used to generate the terrain of the planet. I believe that processing a planet on real scales would be very…
-
11
votes1
answer3160
viewsExcept Print Screen C#
There is a game called Tibia (In same window mode) that when trying to take a print screen the game ends up obscuring the image leaving only the whole black game screen independent if the print…
-
10
votes2
answers2117
viewsProcedural generation
In games such as Minecraft, Cube world and Starbound there is the term "procedurally generated map". As you walk through the game, the map is created, but with a "Seed" that will always generate the…
gamesasked 10 years, 5 months ago Weslley C X Sardinha 1,427 -
8
votes3
answers330
viewsDoubt game two players, half screen upside down
I am creating a program to practice what I have learned so far and learn more, but I have reached a halt. The doubt is as follows: I’m creating a question and answer game for two players, each one…
-
8
votes1
answer276
viewsCHALLENGE: Algorithm for updating rectilinear motion uniformly varied aiming inertia at a certain end point
Question I want an algorithm that updates (from an instant to another, with a certain time interval between the two) a uniformly varied movement aiming at a final value making the fastest possible…
-
7
votes1
answer1825
viewsHow to Identify and Count Prefabs Collision in Unity
I am developing a game for android on the platform Unity that is similar to the game Tetris, the difference that is geared to chemistry, and instead of descending the tetrominos will descend the…
-
7
votes1
answer392
viewsCreate algorithm for fluid simulation?
I want to create a simulation game with Unity and I need to simulate the movement of 2D fluids, I can’t think of a way to create an algorithm with enough performance to simulate a thousand particles…
-
7
votes2
answers118
viewsMany "if" in an old game for android
When checking if someone won, I need to use the IF several times. I wonder if there’s a way to simplify the code a little bit and maybe even replace the IFs. //left, top, right, bottom are int…
-
6
votes2
answers396
viewsLicensing of Indie Games
I can sell games made in Blender without worrying about licenses?
-
6
votes1
answer2747
viewsRaw Strength Algorithm for Sudoku Game Resolution in C
I have the following code written in C: #include <stdio.h> #include <stdlib.h> #include <time.h> // Variáveis globais int jogo_tabuleiro[9][9] = {0}; int func_quadrante(int…
-
5
votes1
answer305
viewsMonetize Unity 5 games on Windows Phone 8.X
How do I display ads in my game made on Unity 5 to the platform of Windows Phone 8.X?
-
5
votes2
answers818
viewsPixel distribution algorithm
Well, lately I’ve been thinking about algorithms to create random maps/ images and I came up with a question that I’m going to post here for you to clarify. Suppose I have green and yellow pixels.…
-
5
votes1
answer8320
viewsPython Hangman Game
I’m doing a Python hangman game. Every loop the program asks the letter or word: #Jogo perguntarNovamente = True game_on = True while game_on: palavra_secreta = palavra() senha_list = [l for l in…
-
5
votes1
answer92
viewsWhy are certain domains easier to model than others?
I have heard about certain domains, such as Guis and games, which are more "abstracted", or are already abstractions, or are "mechanisms", in short, have a distinction in relation to other domains.…
-
4
votes1
answer202
viewsScript to mute my site (game)
I have a project in localhost (little game in HTML 5, JS and CSS), at the bottom of the game plays a song, I can’t make the button to turn off the sound work, anyone knows any article teaching or…
-
4
votes1
answer243
viewsUse of bitmap font in Haxeflixel
I’m working on a game using the framework Haxeflixel 2D and I’m having some difficulties using bitmap fonts to render accented characters. But to make it easier I’m going to divide the question into…
-
4
votes1
answer727
viewsCountdown time
I’m creating a mini-game with several questions and I want you to have time, x until zero. The counter only needs to have seconds and minutes. Does anyone know of any function in C++ or some…
-
3
votes1
answer267
viewssudoku problem with rows/columns repeated
Well I am doing a college job which is to do a sudoku in which the PC plays, first I am creating the rules of the game which is no number can be repeated in the row nor in the row where it is... As…
-
3
votes1
answer206
viewsWhat type of project do you use to create a multiplayer game in Construct 2?
My version of Construct 2 is the r146, and in it the Multiplayer plugin is not appearing in the "Insert new Object'. What type of project supports Multiplayer?
-
3
votes2
answers70
viewsLimit motion copy on specific axes
I’m developing a game in Blender and programming in Python. I had to develop solutions to work with Oculus Rift. Where my character follows the movement of user vision. I am using the following…
-
3
votes1
answer2229
viewsCoordinates of a Pygame image
How can I get the x and y coordinates of an image in Pygame? I need this for a game where I have to get the shot out right below an enemy. This is the code: # -*- coding: cp1252 -*- import sys…
-
3
votes1
answer827
viewsHow to adjust the gun so it always shoots where the aim is
I have a gun that is positioned on the screen manually and I need to create a script in such a way that when I fire, the bullet will reach the point where the sight is aiming, which in this case is…
-
3
votes1
answer164
viewsScrolling of Tiledmap
I’m trying to build a camera system for a game that I intend to do in pure javascript, but I can’t produce the effect correctly. If anyone can see and fix it or guide me to read some tutorial would…
-
3
votes1
answer127
viewsBall movement in Volleyball game is too fast
For some time I’ve been developing a game of Volleyball in Java with Slick2d, but I’m having a very boring problem with the ball’s movement: I can’t get the ball to perform a parabola move (draw…
-
3
votes2
answers12290
viewspython - covery game/college project
I need to create a program that simulates a kind of "cover game" using only boolean variables, basic functions and repeaters. So far my program finds itself like this: print()…
-
3
votes1
answer170
viewsHow to send keyboard commands to emulator?
Eai Galera, I’m trying to make a program to make an automatic combo in a fighting game (The King of Fighters 2002), I’ve tried to use libraries like pyautogui, Keyboard, ctypes and etc, but I can’t…
-
2
votes1
answer786
viewsMake Animated Screen Loading - Unity 5.1
I’m having problems to make a Loading Screen for my game, the game is a little big so it takes some time to load, even more because it is a mobile game. At the moment I’m trying to do so: public…
-
2
votes1
answer1142
viewsWhat is the function to see the tank distance to the wall in the robocode?
I’m trying to implement on robocode sourcecode (for those who don’t know, follow the link: http://robocode.sourceforge.net/) a means to make the tank continue walking and, from a certain distance…
-
2
votes1
answer77
viewsAndroid: How to get username in Google Play Games
I’m developing a game and after the player does the sign in is redirected to another in-game activity. My problem is that I don’t know how to get the username of him in that activity in which he…
-
2
votes2
answers552
viewsHow best to craft AI for a simple game
Based on this little game, I started the first generation completely Andom, storing in an array all sides that the bar moved (right - 1, left - 0) and finally (at the last position of the array) how…
-
2
votes1
answer58
viewsGravity with "Physics" Corona SKD library (ERROR)
I am solving a college exercise in Orona SDK in the realization of a small game, but I have a small problem in the hour when the ball will fall from "top" for the second time. The point is that I…
-
1
votes1
answer749
viewsWhat I create in Blender, can I sell?
What I create in Blender, can I sell or use without worrying about licenses? (example creates models, animations, videos and use in Unity 3D)
-
1
votes2
answers584
viewsIs it possible to create a communication between a Tkinter application and a pygame?
I know that tkinter is not thread-safe, but honestly I’m not quite sure what that means yet. We’re creating a game with pygame, and would like to integrate a menu initial and a console written with…
-
1
votes1
answer1225
views -
1
votes1
answer962
viewsUnity 3D - Cinematographic scenes (cutscenes)
I am studying Unity3d for a little while, and I would like to know the best way to make "cinematic scenes" (cutscenes)... For example, in RPG Maker it could create events in such a position, which…
-
1
votes1
answer85
viewsProblem with flash games cache
I’m monitoring a site in a college project and I realized that, the moment I open a certain game, it gives an error, varying the error from game to game, some do not load, some take too long to…
-
1
votes0
answers1271
viewsWhat languages to use to create a Tibia/Spout(2D) style game
Hi, I’ve always wanted to do a "little game" in 2D in the kind of Tibia or Spout (but for the PC), nothing so complex, just the basic (map, make the character move, motion animation, etc) and I…
gamesasked 9 years, 6 months ago Lucas Caresia 2,663 -
1
votes1
answer198
viewsChar Playermoviment Script Problem in Unity 5
Char Playermoviment Script Problem in Unity 5 Alleged problem on line 70 in "Quaternion" using UnityEngine; using System.Collections; public class PlayerMoviment : MonoBehaviour { //velocidade do…
-
1
votes1
answer193
viewsHow to create a commercial game using ready-made models in Unity without violating copyright?
I will create a paid game using Unity 5, but I will use ready and free templates for this. I will have to pay or put the name of the models developers in the game or I can use without copyright…
-
1
votes1
answer319
viewsHow to compile c++ with SFML library within the project itself
Hello people who like to program. I have a problem that so far searching on the father of donkeys (Google) I could not solve. I’m doing a little game as part of the evaluation of the programming…
-
1
votes1
answer378
viewsHow to view images with a proportional screen size with libgdx?
How do I display my game images in the size proportional to the device screen size, so that if an image is 1/3 wide of the screen on a 480x800 screen it should also be 1/3 wide on the 320x480 or…
-
1
votes2
answers442
viewsIs it possible to create mobile games with just c#?
Is it possible to create mobile apps as much as Android or IOS using only C# in the visual studio? the app in question is a game
-
1
votes0
answers414
viewsDOUBT GAME 2048 IN C
Eai Galera, I have a job for college in which I must make the game 2048 in C. I’m killing myself with this ja, the teacher asked that the user could choose the size of the board and with what value…