Questions tagged as 'jogos'

1
answer

Hangman Game in Python

I'm doing a hangman game in Python. Every loop the program asks the letter or the word: #Jogo perguntarNovamente = True game_on = True while game_on: palavra_secreta = palavra() senha_list = [l for l in palavra_secreta] chances =...
asked by 17.09.2016 / 05:03
1
answer

Script to leave my site (game) mute

I have a project in localhost (game in HTML 5, JS and CSS), in the background of the game plays a song, I can not make the button to turn off the sound works, someone knows some article that teaches or method of doing This? I'm sorry I missed...
asked by 16.06.2015 / 15:12
1
answer

Countdown timer

I'm creating a mini-game with many questions and want you to have time, or want an accountant who go to x to scratch . The counter only needs to have seconds and minutes. Does anyone know of some function C ++ or some "workaround" for a cou...
asked by 14.06.2016 / 04:04
1
answer

Use 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'll split the question into two parts, basically what I did and what the problem...
asked by 23.12.2014 / 23:36
1
answer

TiledMap Scrolling

I'm trying to build a camera system for a game that I plan to do in pure javascript, but I can not produce the effect correctly. If anyone can see and fix it or guide me to read some tutorial I would appreciate it very much! Images used:...
asked by 24.11.2015 / 03:52
1
answer

Ball movement in volleyball game is too fast

I've been developing a volleyball game in Java with Slick2D for some time now, but I'm having a pretty annoying problem with the movement of the ball: I can not get the ball to perform a parabola move draws, the ball goes up, descends into the...
asked by 13.03.2016 / 04:59
1
answer

sudoku problem with repeated rows / columns

Well I'm doing a college job which is to make a sudoku in which the PC plays, first I'm creating the rules of the game which is no number can be repeated on the line nor in the row where it is .. . As everyone knows sudoku starts with some...
asked by 05.11.2014 / 01:18
1
answer

How to adjust the gun so it always shoots where the sight 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 shoot, the bullet will reach the point where the target is targeting, which in this case is the coordinate of the half of the screen....
asked by 26.07.2016 / 16:07
1
answer

What kind of project do you use to create a multiplayer game in Construct 2?

My version of Construct 2 is r146, and in it the Multiplayer plugin is not appearing in the insert new object. What type of project does Multiplayer support?     
asked by 07.02.2016 / 21:59
1
answer

Coordinates 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 right out of an enemy. Here is the code: # -*- coding: cp1252 -*- import sys import random import pygame print pygame.init() #ini...
asked by 25.09.2015 / 21:31