Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Game Programming Physics & AI Solutions: 1 - 25 of 66
 
I'm developing my first game containing player controlled cars, and therefore ofcourse I need proper car physics. I've got basic car accelleration and turning done, however, no skidding is cur...
I'm hoping my question ends up being very simple to answer, yet it troubles me a lot. I have two 2D direction vectors A and B. All I want to do is calculate the a new direction for vec...
I urgently need great websites which can guide me to learn A Star algorithm in deep. I also need to learn : - how to avoid enemy along the way and - how to implement predetermined places to ...
Hey,       I am developing a 2d game with pixel-perfect collision detection. The problem is that if something is moving very fast (a bullet), it may never touch the other object (ie a charact...
Hey all I'm looking for some examples of AI learning using C#.   Basically any tutorials that can give the likes of an object hitting another object and eventually learning not to take that...
Hi! I'm currently working on a 3D car racing game in C adn DirectX but having trouble with the collision detection. I am using OOBs to detect collisions between the cars but cannot determine ...
I am new to actionscript, and am trying to get a collision between two cars,  I have the movement of the cars working, and am trying to detect if they collide, I would then like to have the ca...
Dear all , I am having trouble understanding why 8 puzzle with manhattan distance A* is optimal? 1. if A* is optimal , why we sitll used closed list in A* ?     because in my understandin...
I need some example source code to figure out how to make a intelligent computer move using backtracking.  I want to make a tic tac toe problem only use a larger (5x5) grid so its not always g...
Anyone know any resources for implementing the A* search algorithm in Java?  I'm also looking for resources that are good at explaining the algorithm in detail. Thanks
I am a beginner using SWI-Prolog to write an animal expert system that can learn new animals as you use the program. I have downloaded many other copies of Prolog including Prolog2 which I t...
I'm trying to write a card game in c++. The game is pitch (hi-lo-jack). I'd like some sort of kick start to the ai portion of the program. Like how to represent the cards and how to tell the...
I heard that A-Star can be used to solve 15 Puzzle. Can anyone show me how to do this in details!?
Hello, I'm tring to make a realistic 2d game engine. Right now, it's just 4 squars that fly around the screen and bounce off the borders. I've finished the collision detection function, and...
I'd like to simulate a rolling ball system on a website. By rolling ball systems I mean things like:    http://g42.org/tiki/tiki-index.php?page=RollingBallSystems&PHPSESSID=e382fb8cad9719ac23...
Hello, This is a math / geometry question really. I am trying to find out if a given coordinate (x0,y0) is on the left or right of a line formed by two other points (x1,y1) and (x2, y2). ...
CAn anyone tell me how to search a 3X3,4X4,5X5 and a 6X6 Tic tac toe state space using best-first or breadth first or depth first search or even minimax, and the computer is playing against it...
On recommendation form a fellow coder, I'm reposting this question here. I can never seem to get backpropagation right, and every time I ask for help, noone seems to be able to answer or th...
I have asked in the previous question the data structure I will follow for solving the N Queens problem. Here is my previous question about N -queens  algorithm. http://www.experts-exchang...
Hello. I have now come to the second part of my problem. I earlier asked about how to detect collisions between two rectangles, a problem I now have solved. Now, I'd like someone to try to ...
Hello experts, I know that A* and Dijkstra are both algorithms for find paths on maps/graphs. I examine their processes and find them quite similar. I read some articles that mention tha...
Hi I am currently implementing a car physics engine and have bumped into a couple of problems. I have been trying to figure out how to handle engine speed in RPM. My question is what is the...
4 of us are helping to design a AI pyramid game. We can't seem to get the program to compile and run. No error messages popup. Here are the rules of the game. There are 3 rows of stones. In...
Given that I know the coordinates of the points A, B, C which form vectors AB and AC in a 2 dimensional plane. I would like to find the Vector AD such that AC bisects AD and AB, meaning the an...
Hi! I'm writing a game(c#) based on the old one called "Jezzball". My problem is the ball physics. I have a class for the balls class Ball {      Point pos;      Vector speed;      int diamet...