Tagged Questions
0
votes
1answer
119 views
Pong horizontal movement algorithm
I was just wondering about the horizontal movement of a pong ball? What is the general algorithm used with this? The ball in my pong game just move vertically and I don't know about the algorithms ...
-1
votes
1answer
151 views
simple escape algorithm: enemy escapes when hero approches
I need some clues on a "escape" algorithm.
My scene a 2D rectangle (0,0,1000,1000)
I have enemy sprites on this scene. They are immobile until distance from hero <100.
If distance<100, enemy ...
-1
votes
1answer
404 views
Hover Craft Algorithm
I have a hover craft and I would like to implement it but I don't know what the algorithm or equation of how the physics work is. The variables I think would be the falling speed, the aircraft ...
0
votes
2answers
381 views
What algorithms can I use for bullet movement toward the enemy?
I'm developing 2D strategy game. There are weapons that shoot at enemies.
From what I've read in this, this, this and this post I think that I need linear algebra, but I don't really understand what ...
0
votes
2answers
605 views
3D: First Person Movement
I've searched and searched for a solution today but haven't found one.
I have a Camera with Vector3 and also the camera has an angle.
If I use this:
hero.position.x += speedX;
hero.position.z += ...
5
votes
3answers
442 views
Random monsters move in-sync instead of individually
I am making a game in which monsters spawn randomly and begin to move around randomly. I am fairly new at programming but not at game development. Through using a few tutorials I was able to make 1 ...
4
votes
2answers
356 views
Enemy mathematical behavior
I'm really trying to up my game in game mathematics and now I'm working on enemy movement and a bit of AI. I have an enemy with two modes attack and avoid, based on an integer avoid variable that's ...
2
votes
2answers
147 views
Resources on expected behaviour when manipulating 3D objects with the mouse
In my animation editor, I have a 3D gizmo that sits on the origin of a bone; the user drags the mesh around to rotate the bone.
I've found that translating the 2D movements of the mouse into sensible ...
13
votes
2answers
569 views
AI to move custom-shaped spaceships (shape affecting movement behaviour)
I'm designing a networked turn based 3D-6DOF space fleet combat strategy game which relies heavily on ship customization. Let me explain the game a bit, since you need to know a bit about it to set ...
1
vote
2answers
486 views
XNA: How to make the Vaus Spacecraft move left and right on directional keys pressed?
I'm currently learning XNA per suggestion from this question's accepted answer:
Where to start writing games, any tutorials or the like?
I have then installed everything to get ready to work with XNA ...