Posted by MrG 207.231.75.202 using Mozilla/4.5 [en] (Win98; I) on March 21, 2000 at 21:00:08:
In Reply to: Re: help/ bugs/ whatever posted by Michael J. Hill on March 21, 2000 at 15:52:24:
: : Could you tell me how I would make a command for a simple animation( a tile, not a movie or charater animation) such as a river, or blowing grass, or a swaying tree, Excedra...
: --I'm not sure on this one. To make a command, the #Method is very useful (not to mention the only way to MAKE a command.)
Yeah.. Pixel perfect animation to do real *good* looking trees swaying in the wind would need a complicated set of #PutPixel commands and knowing exactly where to put them, what color, etc.
Unfortunetly, the TK doesn't have a lot of real good animation options right now, but Chris is working on that. An alternative is to make a bunch of tiles that have different states of grass and stuff..
Let's say you had this grass at 1,1:
:Top
#Put(1,1,"grass.gph")
#Put(1,1,"grass1.gph")
#Put(1,1,"grass2.gph")
#Branch(:Top)
This would be a simple, multitasking way to do it. You can also put in #Delays to perfect it more if you want.. I think you see my point,
though..:)
: : Also, is it possible to substitute an item for an enemy( have it use the wander program and if it comes in contact with a player the player would loss energy/hp , or the player could choose to use a program asigned to the run time key to produce a anmation and use the destryoy item at the same time, or customize a program to it to do all of the above.
: --It is possible but to use animation, that would get hard. To do just an attack, that would be easy. You'd just make a program that would carry out a few functions. [I am beginning to confuse myself in thoughts, so I'll let somebody else help with this]
The gallant MrG to the rescue! (Remind me to tell you about my Helper Horsey one day.. On the item menu in the board editor, set a program to run when you step on the item (or #EraseItem(slot!) This would erase and destroy the item, as well as intiating a fight with "MrG's Helpful Horse & Crew" : : Oh yeah, why does it always leave little lines Yes it's a grid, not a grid, or a grid! Mike
whatever it is).. The program would look something like this:
#DestroyItem(slot!)
#FightEnemy("horsey.ene","MrG.ene","trigbook.ene","poor_confused_Chris.ene","Trig_class.bkg")
(you may have heard of us, we're making a movie called "Dances with Horsies"?).. The four enemies are to show
you can use up to four enemies in a #FightEnemey command...
: : or marks on the board when i scroll using the
: : board editer?
: --The board editor? This is because the board editor is set up like a grid.