Publishing Issues

penny.morin19penny.morin19 Member, PRO Posts: 6

I am having issues with game performance after publishing.

I built my game in the GameSalad Arcade Platform and everything works perfectly fine in the preview. However, after I publish the game only one of my sound clips plays and instead of my actor following my mouse it shoots down the the (0,0) location. Any thoughts?

Comments

  • ArmellineArmelline Member, PRO Posts: 5,397

    The HTML5 engine is a little different to the native engine which Preview uses. The sound issue is likely to do with sound formats. I don't do much HTML5 stuff so I can't be certain of the formats that work best. OGG maybe? GS publishing should be converting them, though.

    For the shooting, we'll need to see what logic you use to control the shooting direction.

  • penny.morin19penny.morin19 Member, PRO Posts: 6

    I will check my sound files.

    This is the logic that I am using to move my actors. I am trying to accomplish a drag and drop.

  • penny.morin19penny.morin19 Member, PRO Posts: 6
  • ArmellineArmelline Member, PRO Posts: 5,397
    edited March 2022

    That should be working. Weird. Perhaps try changing Mouse to Touch 1.

  • penny.morin19penny.morin19 Member, PRO Posts: 6

    nox1399 I was able to figure out my problem. Instead of having game.Mouse.rawPosition I changed it to game.Mouse.Position and it worked.

Sign In or Register to comment.