dop2000's Forum Posts

  • Did you set animation speed to 0?

    Also, why webstorage?? This plugin was deprecated years ago! Use Local Storage instead.

    If something doesn't work, try debugging - run the project in debug mode, print the filename to a temporary text object, check browser console for errors etc.

  • If you need to temporary switch orientation to show something simple (like a splashcreen), you can fake it - rotate all graphics on the layout or the layout itself by 90 degrees.

  • I would probably make two separate variables:

    MusicVolume - a number from -100 to 0, changing with the slider.

    VolumeFade - a number from 0 to 1, changing with lerp or some other method.

    During the crossfade, set music volume to (MusicVolume/VolumeFade)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • What photo? I don't see any photo.

  • One option that can help is protecting your sensitive variables with a hash. For example, every time you change Health variable, calculate a new hash for it. Every time you need to check if player has enough health, also check if the hash is correct. If the hash is wrong - you know that the player is trying to cheat.

    This, of course, will not make your game completely unhackable, but I believe people will not be able to cheat using automated software like Cheat Engine.

  • Don't know how to make 1 and 2, but #3 looks pretty straightforward.

    Simply add Platform behavior to the Japanese teenage schoolgirl sprite, Walrus behavior to Sgt. Tusk, Bird behavior to Clock-a-Doodle, and finally Physics behavior to the cat.

    Normally I wouldn't recommend mixing Physics with other behaviors as it can cause weird bugs, but I have a feeling this game will only benefit from it!

  • Did you purchase the plugin?

    It's pretty simple, you need to set the correct App Id and name in plugin properties. All essential events like "application launch" will be logged automatically.

    To log a custom event, add something like this when your level starts:

    MobileFacebook Add Log Data Parameter "level", value: levelVar
    MobileFacebook Add Log Data Parameter "lives", value: livesVar
    MobileFacebook Log Event "level_start"
    
  • I did it before posting and it worked for me.

    Try again. If still doesn't work, share your project file.

  • Thanks! I was worried that in some rare circumstances it may not be shown at all.

  • Each image needs to be loaded in a separate frame.

    Add 4 empty frames into the sprite, set animation speed=0

    Edit your event like this:

    System create pic
    pic Set animation frame to n
    pic Load image from .....
    
  • Ashley

    Sorry to summon you again, but you are probably the only person who can answer this question.

  • I think the problem is in the second event: Blast on collision with SpriteEvil.

    Remove "Wait 0.2s" action, or move "Add 1 to hits" before the wait.

    Currently if you win with the last shot, shots counter goes to 0, but the hits counter increases only after a delay, which is why you get "Lose" message.

  • Search this forum on how to fix CORS issues, this is a very common problem.

  • user5487 Big SpriteFonts may increase memory usage, but if you need to update text often, they are better for performance.

  • Have you tried searching? There are lots of topics about this. Try links from this post:

    construct.net/en/forum/construct-3/how-do-i-8/radial-thumb-control-mobile-148503