Ariel Posted November 9, 2013 Author Share Posted November 9, 2013 How can I change so the sprite will be 3 framed movement instead of the regular 4 framed?when i use the 3 framed sprite its like its missing a sprite and blink.cant find where in the code to edit :Z Link to comment Share on other sites More sharing options...
Domino_ Posted November 9, 2013 Share Posted November 9, 2013 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 More sharing options...
Ariel Posted November 9, 2013 Author Share Posted November 9, 2013 Thanks! cant believe i was that stupid XDSOLVED. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now