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

[Eclipse Reborn] Animated Tiles

Recommended Posts

Ladies, Gents...
My game is based on Eclipse Reborn. I'm too invested by now to turn to a new engine so I'm working on fixes on my own.

![Reference Image](https://i.ibb.co/CbXSXQD/animated.png)

My current issue is with animated tiles. When the animated feature is selected in the map editor, it displays a 192wide by 96tall red frame it uses to animate. I have numerous issues with this feature but I'll save everyone time.

I want to change it to only use 2-3 tiles, and doesn't split tiles in half. In VB6 I was able to open the source and narrow the selection block to 64wide by 32tall. However this doesn't change how it animates the tiles. The client is still selecting 18 tiles, utilizing only the bottom 12, and splitting those tiles in half.

Is anyone able to help point me in the right direction of modifying the source, so that an animated tile simply cycles between 2, maybe 3 tiles?
Link to post
Share on other sites
For the actual animation, look for `' animate autotiles` in `GameLoop`
I would recommend changing the code to have a constant for the max frames, then check if autoTileFrame = the const, if so, set it to 0, otherwise add 1 (I don't know why they used a select case...)

As for the selection box, look for `' change selected shape for autotiles` in `EditorMap_DrawTileset`
Link to post
Share on other sites
Mohenjo! Thank you for getting up with me. I'm digging further into the Autotile system, I can see how it operates, but I think it's a little over my head to modify it or swap it for another system on my own without possibly jacking up the source. I think I may have to hire someone for it.
Link to post
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
  • Create New...