Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Animating Map Objects - Character walking BEHIND the item


nneader
 Share

Recommended Posts

Thanks!

I scripted before using GM8 so I am totally off with my abilities to program in VB6.  BUT, I am willing to learn.

Here is what I am trying to accomplish….animated "tiles" (simulated) on the map.  Here is a really quick sketch of how I think it could work using animated items.

[![](http://hostmypicture.com/thumbs/birdy.jpg)](http://hostmypicture.com/?v=birdy.jpg)

For example, I have a tree.  The upper part of the tree (leaves) is on the fringe layer (map editor), part A.
A 32 x 32 px tile is cut out.  This is where my "floating item" will come into play.  Part B is my floating item, which animates, in this case a little birdy popping his head of the leaves.
The player's character will walk behind the "floating item"and the tree.  This will look seamless to the player and they will never know the animated bird is a truly an item.

This lead me to my other question located here:
[http://www.touchofdeathforums.com/smf2/index.php/topic,81018.0.html](http://www.touchofdeathforums.com/smf2/index.php/topic,81018.0.html)

How to make an item that cannot be picked up by anyone except an admin.

One other idea concerning the subject…..
make another type of animated item that is below the player's character.  For example a campfire...
Again, the key to this is scripting it so that no one can pick up the item except for the admin.

I may be WAY off on this subject, however, I really like the engine AND I really wanted to use animated sprites on my map.

Thanks for letting me ramble....    :cheesy:
Link to comment
Share on other sites

@nneader:

> How to make an item that cannot be picked up by anyone except an admin.
>
> One other idea concerning the subject…..
> make another type of animated item that is below the player's character.  For example a campfire...
> Again, the key to this is scripting it so that no one can pick up the item except for the admin.

Find when a user pick-ups an item and make a check for that TYPE of item involving the Player.Access thing.

@nneader:

> **"sub render_graphics and swap player and item blting (drawing if u have CS:DE)"**
>
> Is this server side? Client side?  both?
>
> Thanks!

Client-side is where graphics are displayed.
Link to comment
Share on other sites

> just go to sub render_graphics and swap player and item blting (drawing if u have CS:DE)

~~I did a Find for these and came up with **nothing**….  any other suggestions?

I am on EO2.0~~

nevermind…found it  :embarrassed:
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...