ID:166618
Jul 13 2006, 6:26 pm
|
|
Alright, I'm coding a DBZ game and I'm trying to figure out how to code the Power-Up verb. At first I figure I should use a for() loop to check and see when the characters powerlevel meets or exeeds it's max powerlevel and then end the procedure. But now I'm starting to realize that it will keep looping and once I reach full powerlevel i'll get spammed with the message "You have reached full power." Then I considered a while() loop but by this time I became so confused I had to go watch TV for a couple hours to clear my head. Could someone give a little prod in the right direction please?
|
In response to Mecha Destroyer JD
|
|
You don't need the break in there. This is the politically correct code:
src<<"<i>You start powering up.</i>" Also, I'd like to warn you that on your days as a DBZ game developer, you may face the horrible fact that DBZ on BYOND has been raped so many times that it's become impossible to create a good DBZ game. Even the good DBZ games are being suppressed, because you can't distinguish between the hub entries anymore (EVERYONE has fancy icons, EVERYONE says that they're not ripping, MOST spell correctly, and MOST of the people have correct key names; there is nothing to see a good game from a bad game anymore just by eyesight) |
In response to Android Data
|
|
The worse the others are, the better mine will look as far as I'm concerned. I've always liked DBZ but I never really wanted to make a game for it until I saw the mutated injustices that people were publishing. Some of them are all the same, I know. So I feel it's my duty to set the standard now. I know thats hard to trust because there are so many games out there that say the same thing, which is also the reason I'm afraid to recruit a staff in Classified adds, so I'm stuck doing this one all by myself. In fact it's kind of an oxymoron because I'm using ripped icons because I can't find an iconer. My idea was to publish a trial version of my game(yes with ripped icons which I WOULD give credit for) and then advertise my game in the classified so that people could see the idea's I have and the originality(other than the icons) and hopefully an iconer will come forth. Sorry to ramble. My point? Anything is possible, as cliche as it sounds.
|
In response to Teris
|
|
Teris wrote:
The worse the others are, the better mine will look as far as I'm concerned. That's so cliché. Even I, leader of the hidden "RABAGDBZGG" (Revolt Against BYOND And Get Dragon Ball Zeta Games Gone =P), formost hater of the hub spam (I even counter-spammed and got myself banned once!) was like that once. Yeah, all those other games suck so let's set things right. Ah well, have your fun. You seem like an OK coder and possibly iconmaker, so I'm sure yours won't turn out as a rip and can be ignored safely. Now if you'll excuse me, I need to lead a crusade to the BYOND HQ, if I can manage to find it. Now how do we get someone with Instant Transmission to take us to Tom? |
In response to Android Data
|
|
Think of it this way. If my game is good enough the Zeta/Rebirth/Elysium rips WILL go away.
|
In response to Teris
|
|
Teris wrote:
If my game is good enough the Zeta/Rebirth/Elysium rips WILL go away. Ha! Ambitious as you may be, I once thought like you, young grasshoppa'. They won't go away. Multiple reasons: 1) People are too stupid to understand that the DBZ game they're in is yet another rip. 2) Players want to gain lots of PL. They want power. The rips provide them with power, as the owners of them will make their buddies "GMs". 3) There are so many DBZ rips that yours will barely get noticed by some people. 4) The players dislike change. They'll stay in the same game. There will always be rips around here. Even if DBZ gets killed (which I doubt, as it would take an armada of Chuck Norris-type humans to kick the asses of the owners of such games), there will still be Naruto (DBZ for girls) to battle with. The best we can hope for is that the filter system gets implemented, and we'll be able to filter out the smut. |
In response to Android Data
|
|
Okay here is my code now:
mob/verb The problem is in the first part. In the if statement that checks if the src is already powering. If they are, it returns them back to normal. My question is how do I terminate the while loop? |
In response to Teris
|
|
mob/verb |
In response to Android Data
|
|
Now this is my code, once again:
mob/verb |
In response to Teris
|
|
Oops! I didn't realise that when I skimmed over your code earlier.
alert("What would you like to power up?","Power Up","Powerlevel","Ki") That's the problem. You're alerting the player, but you aren't getting anything back. switch(alert("What would you like to power up?","Power Up","Powerlevel","Ki")) That is the correct code. |
In response to Teris
|
|
You don't have an if statement for "Power Up"
if("Power Up") |
In response to Digital Stompy
|
|
Digital Stompy wrote:
You don't have an if statement for "Power Up" That's because "Power Up" is the title of the alertbox, not a selection. |
In response to Android Data
|
|
Sorry, I usually use those input boxes. o.o
|
In response to Android Data
|
|
Okay another problem:
Power_Up() This is my most recent power up code but it neither stops the usr if they are busy nor stops the power up when the click it when they are powering up. Whats wrong now? Does it have something to do with how I used the variables? |
I almost got a lil confused while making that(XD), but that should do it..