Boulder Dash Forum Forum Index Boulder Dash Forum
The only Boulder Dash discussion board in English language!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with smooth movement in my remake.

 
Post new topic   Reply to topic    Boulder Dash Forum Forum Index -> Games: Remakes
View previous topic :: View next topic  
Author Message
Elven
Member


Joined: 21 Apr 2015
Posts: 1

PostPosted: Tue May 05, 2015 10:08 pm    Post subject: Problems with smooth movement in my remake. Reply with quote

Hi. I'm making my own Boulder Dash remake in Pico-8 (http://www.lexaloffle.com/bbs/?pid=10211#p10211).

I've added smooth movement animation (the "physics" behind it are regular, scanline updates). In general it works fine, but there are some issues I have no idea how to solve.

The animation works in a way, that after the update, all objects immediately move to their proper new cells, but since I have 5 frames before the next update I use them to show the smooth animation on top of the cells (the objects are actually drawn underneath at their final position, with the animation covering them).

The probem I have is for example with the player dying from enemies. If I touch the enemy from the right or bottom - everything is fine, as the player will explode on the next update (when the enemy will check for player before it moves), so there is time to play the smooth movement animation. But if we touch the enemy from left or top, the explosion will take place in the exact same update, as the enemy will be updated after the player moved to the adjecent cell.

Any ideas how to solve this? From what I've read, there were remakes before that used smooth movement. Anyone knows how they solved the issue?[/url]
Back to top
View user's profile Send private message
zaphod77
Member


Joined: 18 Aug 2018
Posts: 6

PostPosted: Sat Aug 25, 2018 12:23 am    Post subject: Reply with quote

I don't think any remakes have really solved it.

NES boulder dash has smooth movement for just rockford, and it totally messes with the physics interactions. with both enemies AND boulders.

if you approach from the left or top, you go boom before you are visibly in the square. the enemy explodes in it's square, and it doesn't look like the explosion will hit you, but it does.

And changing the motion to true simultaneous totally messes with the physics.

The only real solution is to make fireflies and butterflies explode on contact with rockford at the END of the scan. but this breaks many physics behaviors that are relied upon to make caves even possible.

It's boulder/diamond animation that there are no issues with it being smooth.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Boulder Dash Forum Forum Index -> Games: Remakes All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group