Login
Community
DARK THEME

Ghosting

Well, I've made something and I think it is pretty good. You can check out Ghosting on microStudio here -https://microstudio.dev/i/MrBoi/ghosting/

I hope you guy like it and maybe give me feedback:). That is always appreciated.

It's pretty good, although I think the controls are a bit buggy.

Who doesn't love a little ghost :)

About the controls, would be great if the diagonal movement would work in all directions. At the moment it only works when you go up/down first and then sideways (or the other way around? On mobile now and can't double check).

But otherwise I like hungry ghosts ;)

Had a quick look, it happens because all keys checks are in one loop. So who comes first wins :)

You get nice diagonal movement (if you want it) if you split it into two separate comparisons like this:

    //Movement
    if keyboard.LEFT then
      player.vx = -speed
    elsif keyboard.RIGHT then
      player.vx = speed
    else 
      player.vx = 0      
    end 
    
    if keyboard.UP then
      player.vy = speed
    elsif keyboard.DOWN then
      player.vy = -speed
    else 
      player.vy = 0
    end

Ok, that increased my score from 27 to 45 .. and I still missed a few, HAHA

Nice, thank you for the feedback. The inisial idea for the game was that the controlls of the character is phisics based, but I changed it to the movement that is now. I am going to ajust the movement to your feedback. Thank you all again

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community