dop2000's Recent Forum Activity

  • Check out this example I made for another post:

    dropbox.com/s/gk1w7g9njs5gwj7/RotatingKnob.capx

  • I'm telling you again - your conditions in events 2 and 3 are the same! It means that when you do the hold gesture over L1, both events are triggered.

    And also, why did you put dt*-1 in lerp? Your sprite will move in the opposite direction! The third parameter in lerp function here is the speed. "dt" is the duration of one tick, if you want your sprite to move slower, change it to dt*0.5, or dt*0.1, but don't use zero or negative values!

    .

    It looks like you are changing things randomly hoping it will start working miraculously. Don't do this. Remove everything else except event #1 from your code, set SCROLL_Y variable to 1000 and see how it works. And then move from there.

  • I'm guessing the problem is with Owner and/or Waypoint_index instance variables. In events 4 and 7 you are picking waypoints based on these variables. So maybe when a new enemy is spawned, these variables are not set to correct values. Run your game in debug mode and check.

  • Your events 2 and 3 are the same, they are probably triggered both at the same time and SCROLL_Y variable doesn't change because you subtract 500 and then add 500.

  • You can easily do this with lerp.

    To scroll up - set variable targetY to sprite.Y-500

    To scroll down - set variable targetY to sprite.Y+500

    On every tick: set Sprite Y to lerp(self.Y, targetY, dt*8)

  • I don't really understand your code, but I think events from both groups are triggering at the same time and messing things up. You need to activate/deactivate groups, making sure that only one group is active at a time. When scrolling up - activate first group, deactivate the second. When scrolling down - deactivate first group, activate the second.

  • C2 has no future, move to C3.

    Cordova CLI and PhoneGap, cocoon.io seems to be dead.

    For Admob integration you can try Enhance service:

    enhance.co

  • Yep, I had this bug too, ended with the same workaround - destroy and re-create the file chooser object.

    By the way, you can keep the file chooser button hidden off-screen and use the following code to trigger it:

    Browser Execute Javascript "myFileChooser.click()"

    where myFileChooser is the ID of FileChooser object.

  • The gif you posted doesn't work.

    You need to share your capx. Also, take a look at the Spriter plugin:

    construct.net/en/blogs/construct-official-blog-1/spriter-support-in-construct-2-803

  • See these two capx:

    1 Smooth angle change:

    dropbox.com/s/6l3nvjbu9w45lpr/8DirectionAngle.capx

    2 Mirroring the fish depending on the movement direction:

    dropbox.com/s/4orl802xp8rk5eo/FishyMovement.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • They are not hacking the leaderboard. They are posting fake http-requests with fake scores to the leaderboard. You can't do anything to prevent this. The only solution I know of is to encrypt/hash the scores, but this can still be hacked.

    .

    I remembered a story I witnessed a few years ago. A big international travel organization held a contest on their Facebook page. Every day they posted a video clip filled with small clues about some place anywhere on Earth, and you had to find and tag this place on Google Maps. They were giving $1000 to the fastest winner every day and a grand prize of $10.000 on the final day.

    I tried my luck a couple of times and it took me about 1-2 hours to find the place. The winning times were under 1 minute! It was impossible to even watch the entire video in 1 minute! So people were obviously cheating. The organizers ignored these accusations until someone posted detailed instructions describing how their contest was hacked. Needless to say, thousands of people who spent days trying to win money were furious..

  • You can generate a hashed string from the score value and send it together with the score. Then validate this hash to check if the score is valid. I don't know if EasyLeaderboard allow this though. Still, this will not protect from an experienced hacker.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 259 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies