Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Ben

Pages: 1 2 [3] 4 5 ... 14
41
Coding / Re: Help:Pokemon type system[C++]
« on: July 18, 2006, 01:41:40 pm »
A class or structure would be the best type of way to do it.
Arrays would work, but you cannot store different types of data in them (though you may only need integers, then again you may need doubles for something, but structures make it easier to read).

Do you know how to set up a structure?

I think (god I'm out of the C++ loop) it's something like this:

Code: [Select]
struct pocketMonster{
    char * nickName;
    char pokemonType;  //Only use a character if you're obnly gonna have a max of 255 pokemon
    int attack;
    int defense;
};

You'd then create a "pocketMonster" like this:

Code: [Select]
pocketMonster pikachu;

And then set their details later by doing stuff like this:

Code: [Select]
    pikachu.attack = 10;

Classes are more useful than structures because you can have functions in them (though in C++ you can in both, but you want to use a class anyway). But you only wanted data storage.

You should google a tutorial on Classes and Structure in C++.
Google is your friend.

42
Debates / Re: Caffiene: Good or bad?
« on: July 16, 2006, 03:16:09 pm »
Everything is linked to genetics. So that's just silly. Heart disease is genetic. Glaucoma is genetic. Baldness is genetic. But you can still offset them with a healthy diet (at least in the cause of heart disease).

43
Debates / Re: ADHD
« on: July 16, 2006, 02:45:14 pm »
I think that it's to do with metabolism, so that they get too much energy out of their food.
I think it exists, but not to the extent that it's popularised. Hell I'd like to think I had it, but that's just cause I can never concentrate on one thing in a conversation, lol.

44
Debates / Re: Caffiene: Good or bad?
« on: July 16, 2006, 02:43:50 pm »
You don't just get diabetes... Diabetes is a genetic disease. It isn't like drinking a ton of pop (soda) or eating a bunch of candy will suddenly give anyone diabetes. Sometimes that will trigger the gene and make diabetes surface, but it isn't like it wouldn't have surfaced eventually anyway.



Unfortunately you're wrong. There's type 1 diabetes and type 2 diabetes.
I'm not sure which one is which, but one is expressed early on because it's genetic, but the other is caused by the bashing to death of the liver with sugar so that it actually becomes resistant to insulin, so it's effects are lessened and so you get diabetes.

45
Other Discussion / Re: Jesus reveals cure for cancer! :o
« on: July 14, 2006, 08:19:37 am »
So therefore by that guys cure for cancer we will probably all get it....
That's just stupid.

46
Graphics / Re: howw do i....
« on: July 13, 2006, 06:07:10 pm »
A combination of GM and Animget often rocks.
In Gameboy roms, and many others I do believe, you have layers. And when it comes to things like character sprites seeing as they are moving sprites as opposed to tiles, they are quite often the only thing displayed on a certain layer.
Turn off all of the other layers, run link around a bit with animget on and import into GM wiping out the hearts etc. Then crop, and figure out where the animation begins and ends (repeat frames). Probably the fastest way to do it.

47
Coding / Re: I need help to find a bug in my mario and luigi engine.
« on: July 11, 2006, 10:56:28 am »
I couldn't find it.
:D

48
Debates / Re: :(
« on: July 04, 2006, 02:58:23 pm »
Tabby, it might be bad that it's going on, but there's nothing you can do about it.
There is a brand called "freedom food" in britain that is supposed to be better "harvested" and more nice to the animals, so maybe you could find something like that?

49
Discussion / Re: What is taking Mark so long?
« on: July 03, 2006, 12:33:45 pm »
Jesus you people (last 3) need to learn to reply properly >_>.

My point is not that Mark is taking so long. My point is that all previous versions came out months after their predecessors. Yet here we are 1 year, 1 month on and there's nothing. So I'm asking for your speculation on what he's doing, not why it's taking time.

The book though, I can accept :-p.

50
You might wanna teach people to indent if you're gonna teach them at all.
I hate no indentation :(.

51
Other Discussion / Re: Eon8 : What is it?
« on: June 30, 2006, 01:56:46 pm »
So why bother telling everyone that you know?

52
Other Discussion / Re: Eon8 : What is it?
« on: June 30, 2006, 11:31:24 am »
Quote
Just for poos and giggles, go to http://www.eon8.com/security
Click Edit on the toolbar and Find (On This Page, for Mozilla) and type in zfgc.
Why are we on the serverlist?

It seems pretty obvious to me.
BECAUSE YOU LINKED TO IT.

It remembers where everyone came from.

53
Coding / Re: [Blitz Max] Bool's, anyone?
« on: June 28, 2006, 10:38:59 am »
It quite surprised me when I found out that a boolean covered an entire byte instead of just a bit. But then nothing can cover anything in bits, only bytes...

Yeh anyway.

If you have the "char" or single byte thing in Blitz, use that.

54
file_get_contents()?

55
Entertainment / Re: Questions... [DS Lite]
« on: June 26, 2006, 06:33:02 pm »
*is British*

Here's a tip though, if you're gonna get one just get a store guy to give you a demonstration of why it rocks.

56
Entertainment / Re: Questions... [DS Lite]
« on: June 26, 2006, 05:22:28 pm »
From the America's I think you can only buy white, definitely not black.

57
Entertainment / Re: Who thinks Link dies in TP?
« on: June 26, 2006, 04:10:44 pm »
I thought TP was set after WW, but oh well.
As for example the legend goes on about how the hero didn't appear, if he did in this game that doesn't make sense. Therefore it's a link to ocarina oftime where link got stuck in Termina and didn't appear and the world was flooded, and then some time after WW this happened..
I think.

I dunno, lol.

58
Entertainment / Re: Rumors wii's memory
« on: June 25, 2006, 07:01:13 pm »
Well it's not like I produce the controller, but I would have figured that quite a lot of the calculations for what position the Wiimote is at will take place on board the Wiimote. I know this might be power consuming, but sending that raw data over the airwaves rather than just about 6 doubles makes no sense.
(Making this up :-p)

But it's gonna have low latency memory, or high :s, whichever one is faster, lol.

59
Discussion / What is taking Mark so long?
« on: June 25, 2006, 06:58:52 pm »
Game Maker 6.1 has been out since May 29th 2005, so it's been over a year. What do you reckon Mark is actually doing with all this time?
Massive holiday perhaps?
Or, dare I say it, working on compiling the code?

We've had quite a long wait, so I'm quite perplexed as to what is taking so long.

60
Other Discussion / Re: did anyone named aftershock6783 ever come her?
« on: June 24, 2006, 01:21:30 pm »
Dude, don't crucify me for a typo, my wireless keyboard often misses out characters >_>.

Pages: 1 2 [3] 4 5 ... 14

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.02 seconds with 32 queries.