Movement ala Bomberman ( also known als Dyna Blaster )

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Dear all,
    is there any pre-defined movement I can use to move a sprite like in the mentioned game ? I'm trying with 8 direction movement, but I wonder if is there is an other way or an extension in order to achieve that, just to avoid to reinvent the wheel..

    Thanks for your attention,
    Sergio

  • Haven't played those in YEARS lol so my input may not be valid. Is it something that moves more freely or grid based? Meaning like, when you press a direction to move in, does he move until he clears the blocks or only moves while a button is held down?

    If it's grid based movement, you wouldn't have to use an array. You could do that using alterable values. Something like XCooldown, YCooldown. Say you have 16x16 backdrops for collision, you could set something like;
    + Down Arrow is pressed
    : YCooldown = 0 > Set Player "YCooldown" to 16

    + YCooldown >0 > Subtract 1 from value "YCooldown", and also add Y Position of Player to Y Position of Player -1

    without trying this out right at the moment, it should just set the counter to let you continue moving in that direction until you clear the block, then once you've cleared it, the counter will be back at zero and you wont be moving anymore until you press the Down arrow again.

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • Thanks for the answers so far.

    Warmachine ,
    the movement, while being simple - only 4 directions - involves curved moves around the blocks. This happens for example when the sprite is near the edge of a block. Say for example, the sprite is near to the top right edge. In the original (Amiga) bomberman, if you now press the down arrow key, the sprite goes right and down, circumnavigating the block with a nice smooth curve, and then continues to go down.

    Ikko,
    the 8 directions movement works for a basic movement, however in the case explained above, moving the sprite in the classical way gives me more control.

    Thanks for the suggestions so far.

    Take care,
    Sergio

  • Hey Danjo !
    It's not sooo an easy grid movement, I tell you ! ;)

    Anyway, I have already done it.

    Furthermore, years ago I have coded a remake of DynaBlaster on WIndow-O.S. using Blitz3D. Now I'm doing it again using Fusion 2.5+. It works like a charm.

    Have a nice day,
    Sergio

    Sneak peek:
    Please login to see this attachment.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!