1
Game Ideas / Re: Zooming and Rotating camera
« on: April 23, 2017, 04:55:28 am »
Any update on this code? Can we see what it looks like?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
There you go =)
http://www.rigzsoft.co.uk/download-timelinefx/
What size would you make a scene if it's a metroidvania style game.
What is this "follow path" behaviour you speak of? The only block I have is one that makes a region follow a player. I'm currently writing up A* to do the pathfinding. It is taking me ages but I've now almost got it.
It's one of the default behaviors. If you click "Add Behavior", it's under "motion". The behavior lets you specify a list of coordinates for the actor to follow. It also includes a few custom blocks to let you modify the coordinates in-game.
There is an A* extension that seems to be broken. It doesn't look like it would be hard to fix, but the original author appears to have not been online in a while. I'm not sure it's being maintained, and I don't see it on the list of extensions in the extensions market. There have been a number of other A* implementations over the years. It's pretty tediousI just finished one myself, but it's designed to solve a different problem.
The simplest solution I can think of would be to just use the "Follow Path" behavior that comes with Stencyl. Each time your main actor enters a new tile, add a new node to the following actor.
An alternative solution if you have more time would be to use some kind of pathfinding (A*, etc.). You would need something like this to handle scenarios where an obstacle (like another NPC) intercepts the path between the main and following actors.