Search found 9 matches
- Mon Oct 24, 2011 6:38 am
- Forum: Programming Discussion
- Topic: [Enemy AI] Need some advice
- Replies: 11
- Views: 3365
Re: [Enemy AI] Need some advice
One technique I've found that can help, is detecting if another zombie is in front of each zombie - and those zombies then move at a slower rate, or backwards, or if the zombie in front is moving slowly, sidestep. When I did this, the zombies would behave more intelligently, moving out of the way o...
- Sun Oct 23, 2011 2:26 pm
- Forum: Programming Discussion
- Topic: [Enemy AI] Need some advice
- Replies: 11
- Views: 3365
[Enemy AI] Need some advice
I'm currently making AI for zombies in an overhead shooter. The zombie's task is to come into close combat with the player, and this works, so my question is if there is any possible way to improve this walking path, because I'm afraid if I add multiple zombies into a map they will walk in unison di...
- Fri Oct 21, 2011 6:47 am
- Forum: Game Development
- Topic: My first Side-Scroller RPG
- Replies: 3
- Views: 1695
My first Side-Scroller RPG
Hi! You guys may or may not know me from the forums, as I do not post very often. I recently picked up a book for C++ and started making 2D Games using Allegro. After consistently making small games using primitive shapes, I considered myself ready to start a full game. Currently, there are only bas...
- Sat Sep 10, 2011 11:50 pm
- Forum: Programming Discussion
- Topic: Collision Detection Question
- Replies: 4
- Views: 953
Re: Collision Detection Question
I see a lot of people do simple level design with an array (or vector or whatever it is in c) with level data like this map1[0][0][0][0][0] map2[0][0][1][0][0] map3[0][0][1][0][0] map4[0][0][1][0][0] So make a txt file somewhat similar structure, and load it into the array when during your initLeve...
- Sat Sep 10, 2011 3:53 pm
- Forum: Programming Discussion
- Topic: Collision Detection Question
- Replies: 4
- Views: 953
Collision Detection Question
I'm currently making a 2D game using Allegro (not tile based), and I've created this collision function: void player::setPreviousLocation() { if(facingUp) y = y + speed; if(facingDown) y = y - speed; if(facingLeft) x = x + speed; if(facingRight) x = x - speed; } void player::applyCollision(int a, in...
- Sat Sep 03, 2011 9:01 am
- Forum: General/Off-Topic
- Topic: Advice on upgrading a computer
- Replies: 5
- Views: 1976
Re: Advice on upgrading a computer
Your motherboard seems to have a socket AM2+ which would not work with the AM3 processor you linked. Find another AM2+. For any gaming build I'd recommend 500W minimum for the power supply. The Earthwatts is probably still the standard in that range (been a long time since I've had anything less th...
- Fri Sep 02, 2011 9:09 pm
- Forum: General/Off-Topic
- Topic: Advice on upgrading a computer
- Replies: 5
- Views: 1976
Advice on upgrading a computer
I currently have a Gateway GT5662 Desktop computer, and I have decided to upgrade it into a gaming computer. I am buying a new video card and power supply this weekend, and I am also buying myself a new processor as a christmas gift during December :P. The video card I am looking at is the Radeon 68...
- Sat Aug 06, 2011 11:18 pm
- Forum: Programming Discussion
- Topic: C++ Question with classes [SOLVED]
- Replies: 10
- Views: 1659
Re: C++ Question with classes
Thank you so much for your help!
Also, I've noticed something that I've run into a lot online, where people place in arguments with their functions with things such as:
Could that have anything to do with my issue in any way?
Also, I've noticed something that I've run into a lot online, where people place in arguments with their functions with things such as:
Code: Select all
void example1(example2& ex1){ }
- Sat Aug 06, 2011 10:04 pm
- Forum: Programming Discussion
- Topic: C++ Question with classes [SOLVED]
- Replies: 10
- Views: 1659
C++ Question with classes [SOLVED]
Hello, I've been working on learning C++ and have been making my own small projects recently. I'm currently trying to make a small text based RPG using C++. In the process, I've been trying to use multiple files and classes for experience. So far, I've been doing things such as making a player file ...