The z-space problem of displaying sprites
#5
(02-18-2023, 08:23 AM)icogil Wrote: I wanted to make a sprite that follows a character like a visual equipment script without size restrictions, so I made the script below while studying and putting together several scripts for the past few days.

Your statement is a bit... mixed up, sounding like a visual equipment script forces characters to follow the player.  It doesn't.

A script known as a caterpillar (or party follow) script is one that has party members following the player.  And visual equipment (or paperdoll) is a system that applies sprites upon the player.  The two are actually quite different. 

* There are a variety of both types in the forum.

We have a demo by a scripter named Rataime that includes 'both'.  Below is the link:
Rataime's Visual Scripts: Visual Equipment

I would recommend downloading the demo itself.  (I doublechecked the link.... right click to get to the box.com screen for the demo.  Then click Download at the top-right.).  The demo not only includes Rataime's Visual Equipment script which is the oldest and simplest I've seen. But it includes a caterpillar script with the name "Train Actor" by fukuyama, also the oldest one that existed. Both work fine together. And the demo has other features including sprite reflections for mirror effects and shadow creation. 

And neither system required editing of the Z-axis.

In the demo, you will find I performed some edits... to give the end user (like you) more flexibility.

[Image: attachment.php?aid=1756]
In the Train Actor script by Fukuyama, it mattered not the size of the sprite.  I replaced the third party member with a larger skeleton shown here.  But if I were to apply items to the skeleton, the gear would need to be the same size as the skeleton's sprite.  That is possible, but would require an edit of the visual equipment to recognize WHO gets the armor or weapon.


Attached Files
.png   FollowMe.png (Size: 15.29 KB / Downloads: 52)
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: The z-space problem of displaying sprites - by DerVVulfman - 02-18-2023, 03:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Problem with drain script form the ATOA ACBS Djigit 2 5,547 07-12-2015, 09:17 PM
Last Post: Djigit
   Event collision problem with FPLE script ThePrinceofMars 2 5,772 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
  Custom meter problem daylights 13 16,146 08-12-2013, 03:34 AM
Last Post: daylights
   [RUBY] Depack Thread Problem Narzew 1 4,389 07-20-2012, 01:16 PM
Last Post: Narzew
   Advantages & Charlie Fleed CTB problem Yin 7 11,972 12-12-2011, 03:45 PM
Last Post: Yin
   Charlie Fleed's CTB - Problem with dual wielding characters MegaPowerNinja 2 5,858 04-25-2011, 09:51 AM
Last Post: Charlie Fleed
   Slight problem with Omega Quest script. Boot 4 8,651 03-08-2011, 02:53 AM
Last Post: BlackDragon 31
   Help on an old problem. Yin 5 9,353 12-07-2010, 02:55 AM
Last Post: Yin
   AMS script problem Thehero 2 6,562 05-18-2010, 07:30 AM
Last Post: Jaberwocky
   Window Visibility Problem computerwizoo7 7 11,295 05-10-2010, 05:53 PM
Last Post: deValdr



Users browsing this thread: 7 Guest(s)