Mystic Software Forums
Miscellaneous => Archives => Archive => Topic started by: Anonymous on March 25, 2004, 10:14:34 PM
-
How do I make it so that in the fight, when I use a combo attack, the player's graphic disappear and preform an combo attack animation on the enemy then the player's graphic reappear?
The new way for RPG Code in TK3 is confusing me.
-
I have no idea. Propably by same method as in tk2 - refer to Xorlak for his transformation/sword techs in DA1.
-
You can use #scan and #mem to pick up tiles near to the character and put them over him, "erasing" him from the screen. Then do #TargetLocation(x!,y!) to get the location of the enemy (you'll have to multiply the values by something to get the positon right, because that will give you tile coordinants and you need pixel coordinants), then a normal animation of the character performing the move.
If you have the original Dark Age downloaded, take a look at "slash.prg" and "wyvern.prg" for some examples. I'm not sure how well this method will work in TK3, though.
-
ive found #getboardtile and #layerput to work easier then scan and mem
-
Heh...
I've heard a lot about this "new way" of doing RPGCode. Heh... A number of years ago I asked CBM for something similar to VB's functions in RPGCode. I provided these examples...
#a!=5
#b$=CastLit(a!)
And...
#MWin("Hello, " + Prompt("What is your name?") + ".")
A considerable time later (a year and a bit) the front page of the site was updated to show that the second example now worked (yah!)... (heh...)
-
You can use #scan and #mem to pick up tiles near to the character and put them over him, "erasing" him from the screen. Then do #TargetLocation(x!,y!) to get the location of the enemy (you'll have to multiply the values by something to get the positon right, because that will give you tile coordinants and you need pixel coordinants), then a normal animation of the character performing the move.
If you have the original Dark Age downloaded, take a look at "slash.prg" and "wyvern.prg" for some examples. I'm not sure how well this method will work in TK3, though.
Really...Now this will be useful! And it will make my games a whole lot better! Very Happy