0
votes
2answers
137 views

Problem with moving player through a secript by a set distance

I am currently trying to add a sort of "dash"-ability to my sidescroller. What I try to do, is to let the player press a key where a simple key-press causes the player to move quickly into one ...
1
vote
0answers
73 views

The input doesn't recognize that I release the key? [closed]

I'm creating a window (JOptionPane), in response to a collision. However, if the player is holding a key down when the window pops up, the input doesn't trigger a key release when the key is released. ...
1
vote
1answer
135 views

Brief pause after keypress

After i press and hold the key it goes forward once then pauses for a second or less then goes forward on forever. My problem is the brief pause I cant locate the issue. Thanks for your help. ...
1
vote
2answers
167 views

Correct way/How to think to plan out “control/animation flow”?

So basically, a problem I've had in past attempt at making games (little playing around with stuff): how to do a correct, non-sloppy way of planning the flow of animations/control? Let's take an ...
2
votes
1answer
316 views

Translating a terrains position using input in Unity 3D C#

I am trying to make a terrain in Unity move, but im having trouble. Here's the code i have. using UnityEngine; using System.Collections; public class NewScript : MonoBehaviour { Camera camera; ...
5
votes
1answer
467 views

Character Movement in 3D games

I'm either not searching correctly or there is really not a lot of material on Character Movement in 3D games. I'm mostly interested in how people usually implement character movement in games like ...
1
vote
2answers
321 views

Controlling player and camera movement in a 3rd person game with keyboard and mouse

In many action games with a third person view, joystick controls typically map the left joystick for player movement and the right joystick for camera movement (or more precisely camera's direction ...
3
votes
2answers
416 views

Is this aiming mechanic usable in a third-person top-down game?

Long story short: I've switched to a third person - top down perspective. The camera is fixed and looks down at the player. How can I implement 3d aiming ? The player needs to aim left and right as ...
2
votes
2answers
440 views

How do I handle user input with good class structure/architecture for an Android game?

How do I handle user input having "good" class structure and following normal game architecture*?(see below). At first I didn't think this question was Android specific, although, after seeing a great ...
0
votes
2answers
283 views

how can I move an actor in opposit direction of mouse's position in GameSalad?

I have a moving actor named ball and I want to move it in the opposite direction of my mouse's position. In my code in Move To behaviour for X-axis location I write -game.mouse.position.X and ...
1
vote
2answers
504 views

Improve mouse movement in first person game

In my current FPS game, I have the mouse setup in a way, that it always forces the position of the mouse to be centered at the screen. This gets the job done, but also gets very annoying, since the ...