Ok...


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]

Posted by MrG 207.231.67.78 using Mozilla/4.5 [en] (Win98; I) on April 08, 2000 at 21:28:48:

In Reply to: elaberation posted by eddy on April 08, 2000 at 14:11:25:

: um... i realy dont know exactly what i am talkin about, but i will try again.
: I guess I didnt make it very clear what I was talking about(sorry). I am trying to create a runtime # to use ont the board to destroy idems(like a player hitting a bush, then the bush idem would be destroyed or run a destory prg that would show it being hit or something( any suggestions on how i would do that. I Think i could use the stance command in place of the #put one ( or could i, please help me out.) but i am not so sure. Mabie i should use handle to tarrget the player ? Any way, The reason I mentioned stance is because I need to have 4 directional
: grafics with the runtime command. Sorry if I confused you even more, but i am a beginer.
: If you can help me in any way, please do so. Thank
: You.

Ok, I think I understand more clearly now.. Take a look at this:

#Method KillItem(x!,y!,itemslot!,blowup_graph$,done_graph$)
{
#For(count!=1;count!<=4;count!=count! + 1)
*The above says, in English: Run this loop while
*count, which starts as one, is less than or equal to
*4. If it every gets to be more than four, stop. Count
*increases by one every time the loop runs.
{
#Posture(count!)
*This will display custom posture 1-4 of the main
*character. If you want it to be another, simply
*put it their handle after count! like: #Posture(count!,"Triuken")
*where Triuken isn't the main character
}
#EraseItem(itemslot!)
*This erases the graphic on the screen of the
*item in the slot you send to this method. It
*does not remove the item from memory
#Put(x!,y!,blowup_graph$)
*This puts an animation of a fire or something
*on the same spot as the now erased item.
#Delay(0.3)
#Put(x!,y!,done_graph$)
*This puts a normal graphic back on the screen, so
*it's not just white.
*This also delays the program for about 1/3 of a
*second
#DestroyItem(itemslot!)
*This destroys the item in that slot
*Voila!
}

That help? :) Now, be sure you understand it all before you
go plugging it into the program. You can tweak it of course to include
stuff like multiple tiles of "blow up" animation, but I'll leave that to
you..:)

Mike





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]