Forum: Game Development Aug 30th, 2009 |
| Replies: 0 Views: 424 I am working on a 2-d scrolling map RPG ala final fantasy. Anyway the question I wanted to ask you is how do you go about tile based collision? Let's say I got my scroll map made up and I don't want... |
Forum: C++ Aug 30th, 2009 |
| Replies: 2 Views: 307 Thanx for your advice! UGP_BUTTON_DOWN isn't anything special, just the name of a case option. Anyway I didn't really need a mouse flag I just had to make another enum with some state options and a... |
Forum: C++ Aug 20th, 2009 |
| Replies: 2 Views: 307 For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so... |
Forum: Game Development Aug 11th, 2009 |
| Replies: 2 Views: 387 Thanks I didn't think of that before. But I would still like a method of deleting font. For now I am just changing Game states to get rid of the font. But I would like a way to actually deleting the... |
Forum: Game Development Aug 3rd, 2009 |
| Replies: 2 Views: 387 How do I erase the font once it's done it's purpose? I've checked the web and it only shows how to put up font but not how to erase it so I can put up new font in it's place. Also if you have an... |
Forum: Game Development Jun 18th, 2009 |
| Replies: 2 Views: 648 The problem was I took out the first RECT function. So when I put it back in I didn't have that problem anymore. Anyway I got the program fixed. I needed to use static ints to make the sphere move... |
Forum: Game Development Jun 11th, 2009 |
| Replies: 3 Views: 393 Sounds like you need a bit more experience with C++ before you start messing around with graphics. Seriously though, there's is a whole process you have to do just to set up OpenGL with C++. Are you... |
Forum: Game Development Jun 11th, 2009 |
| Replies: 2 Views: 648 ok I am almost done doing what I need to do and that is getting a portion of a bitmap to appear on the screen and have it move around using directional controls. My problem is that while I get the... |
Forum: C# Mar 5th, 2009 |
| Replies: 5 Views: 523 Ok that explains quite a bit for me. Thank you Liz. I will get to working on the code right.
I believe this bit of code here is the heart of what I want to do.
for(int i=0; i< nFrames; i++)... |
Forum: C# Mar 5th, 2009 |
| Replies: 5 Views: 523 Yeah I saved it in 24-bit bmp format. All a straight line of 8 individual animations. So what do I do? I know I'm supposed to make a private int for the frame variable.
so should I have something... |
Forum: C# Mar 4th, 2009 |
| Replies: 5 Views: 523 What I want to do is take my rpg man sprite and understand how I can access each of his eight animations with methods. I've looked at code that does something like this but I'm not quite getting it.... |
Forum: C# Mar 4th, 2009 |
| Replies: 2 Views: 479 Thanks for the advice but I already tried that. I did manage to solve the problem by making use of the MakeTransparent(); method. YAY!!!
It works something like this:
if (HeroImage == null)
... |
Forum: C# Mar 3rd, 2009 |
| Replies: 2 Views: 479 I have a hero sprite which I have implemented in in my game. He walks around in a grass field. Unfortunately, he is surrounded by a white border that is also in the btmap(or JPG in this case). Any... |
Forum: C# Aug 29th, 2008 |
| Replies: 5 Views: 959 That is what I am trying to do. My assignment is to make the Calcpoints method abstract and I want to know how I can access it from my child class Ultimate Warrior, Dragoon and KarateWizard. By the I... |
Forum: C# Aug 28th, 2008 |
| Replies: 5 Views: 959 I am making a character generator for school. What I have to do is make my CalcPoints method abstract. Unfortunately I keep getting These three error for each of my derived character classes and I... |
Forum: C# Aug 28th, 2008 |
| Replies: 3 Views: 386 Well We aren't going to write the code for you! What have you got so far? |
Forum: C# Aug 20th, 2008 |
| Replies: 1 Views: 456 Never mind, I fixed it. This is how I did it.
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{ |
Forum: C# Aug 20th, 2008 |
| Replies: 1 Views: 456 I was hoping you guys could help me out as you have in the past. I am kind of new to C# coming from C++.
I get two of each of these errors.
C:\Users\Hector Rosario\Documents\Visual Studio... |
Forum: C# Aug 11th, 2008 |
| Replies: 4 Views: 643 You are going to have to do this the hard and just learn by buying books on C# or taking a class on it at your local college. Also youtube offers some interesting tutorials on C# |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,771 I'm sorry if I made it seem I was here to copy and paste... THat surely wasn't the case. If it was like that what am I doing trying to become a programmer in the first place? If I don't understand... |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,771 Ok here is what I want to do. "Hello world" is on my list of objects by default. When I type in "list" Hello world should come up. Now I type in "add" and it aks what object would you like to add. So... |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,771 Thanks ArkM and Vernon, your posts have helped me alot!
But I have one more point of contention.
Here it is.
else if (input == SEARCH)
{
cout << "What object do you want?";
string... |
Forum: C++ Jul 23rd, 2008 |
| Replies: 7 Views: 2,687 You could use the Beep command...
Beep(523,500); // 523 hertz (C5) for 500 milliseconds
Beep(587,500);
Beep(659,500);
Beep(698,500);
Beep(784,500);
but you probably didn't want to hear... |
Forum: C++ Jul 23rd, 2008 |
| Replies: 10 Views: 1,771 |
Forum: C++ Jul 23rd, 2008 |
| Replies: 10 Views: 1,771 I'm not quite clear on how to do that...
This is what I got so far.
else if (input == SEARCH)
{
cout << "What object do you want?";
std::vector - scan::iterator iter=vect.begin();iter... |
Forum: C++ Jul 22nd, 2008 |
| Replies: 10 Views: 1,771 Ok here is what I got so far.
When you type add, it asks what object would you like to add
When you type list, it lists those objects
When you type exit, you leave the program
What I would like... |
Forum: C++ Jul 16th, 2008 |
| Replies: 6 Views: 1,141 I know this a long dead subject but... if anyone else has this problem like I did!
here is the solution
#include <iostream>
using namespace std;
void spaces(int x) //I'm thinking, everybody... |
Forum: Game Development Jun 29th, 2008 |
| Replies: 3 Views: 1,288 I have the this fight in a function that is in the main file. Now I know I can just as easily put the Life variable in the main cpp and it's problem solved but I want to learn how to do it from a... |
Forum: Game Development Jun 28th, 2008 |
| Replies: 3 Views: 1,288 I keep getting a logic error when I go to fight a monster.
It says the life must be initialized and then I get a runtime error. So I put a value to it and it runs fine. But the question is, what... |
Forum: C++ Jun 27th, 2008 |
| Replies: 2 Views: 891 Ok, let's put it this way. I need to know how to set it up for my project without it interfering with OpenGL. I have a good idea which folder but don't know what DLL to put in. So far the manual has... |
Forum: C++ Jun 26th, 2008 |
| Replies: 2 Views: 891 For Visual Studio 2008. I am not sure if this is the right place for it, but maybe someone here can help me. I have my program set up for Open GL, I also want to put Open AL in there too. Now I... |
Forum: C++ Jun 23rd, 2008 |
| Replies: 4 Views: 1,006 Thanx a lot Ancient Dragon! Here is my solution in case anyone else ever runs into this type of problem.
void continueGame()// My problem is here...
{
//open save file for previous matrix... |
Forum: C++ Jun 23rd, 2008 |
| Replies: 4 Views: 1,006 GetHealth() returns the persons life and places it on the screen. Originally, (nit sure if you remember) I had put the health variable called int life; in the main cpp. I believe I have the save... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 4 Views: 1,006 Can anyone give me a hint on how to save my heroes health that is in a PLAYER class that would be GetHealth() because it inherited that from the base class entity.
SetHealth() is in the base class... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 6 Views: 674 I believe you got to declare what today is. |
Forum: C++ Jun 19th, 2008 |
| Replies: 3 Views: 2,737 Thanx it it worked! Now if I could figure out the composition thing... Thanks a lot man u r awesome! |
Forum: C++ Jun 19th, 2008 |
| Replies: 3 Views: 2,737 First off, this is homework and I do my classes online and the teacher doesn't respond to my e-mails in the fastest fashion. I've been getting linker errors all day and I'd like at least an... |
Forum: C++ Jun 15th, 2008 |
| Replies: 5 Views: 2,108 For unions. Unions cannot have base classes, and unions can not be used as base classes.
Did I get it right? |
Forum: C++ Jun 12th, 2008 |
| Replies: 7 Views: 772 Thank you very much!! I post the cpp file so if anyone else needs help like I did they can get it here! You can consider this thread solved! |
Forum: C++ Jun 8th, 2008 |
| Replies: 7 Views: 772 Thanx for the code optimization Ancient Dragon. Now if I could just figure out how to get the program to recognize the difference between saving and continuing in the first room and saving and... |