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

3 framed animation movement


Ariel
 Share

Recommended Posts

What engine? Hmm, actually all eclipse engines have same code for movement.(mostly)

So its in here:

```

' Check if completed walking over to the next tile
If Player(Index).Moving > 0 Then
If GetPlayerDir(Index) = DIR_RIGHT Or GetPlayerDir(Index) = DIR_DOWN Then
If (Player(Index).XOffset >= 0) And (Player(Index).YOffset >= 0) Then
Player(Index).Moving = 0
If Player(Index).Step = 1 Then
Player(Index).Step = 2
Else
Player(Index).Step = 1
End If
End If
Else
If (Player(Index).XOffset <= 0) And (Player(Index).YOffset <= 0) Then
Player(Index).Moving = 0
If Player(Index).Step = 1 Then
Player(Index).Step = 2
Else
Player(Index).Step = 1
End If
End If
End If
End If

```
took it from one of my posts in OtherWorld project.

link to post: [http://www.eclipseorigins.com/community/index.php?/topic/120251-otherworld-edit-204/page-10?hl=otherworld](http://www.eclipseorigins.com/community/index.php?/topic/120251-otherworld-edit-204/page-10?hl=otherworld)
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...