dop2000's Recent Forum Activity

  • Wow!!! Great game, looks incredibly fun!

    May I ask how did you make those 200 levels? Did you manually create 200 different layouts, or did you use some kind of level builder, or are these levels randomly generated?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pretty cool idea and nice graphics! It takes some time to realize that you can draw the line anywhere, even underwater, and that it doesn't need to be horizontal.

    I think this game will work better on mobile with touch controls rather than with mouse.

    ?????!

  • Avengium, you can do it with 2D array, store [object type, instance ID, pointX, pointY].

    Set Global=Yes and you can convert your array to JSON string and save/load with local storage.

  • Did you solution fix the problem?

    If it did, I think the "Attack" variable gets modified somewhere else in the Movement group.

    I still need the capx. It's hard to troubleshoot this issue with screenshots.

  • Your overlapping check for sensor1 will only happen if sensor2 overlapping check was successful.

    You should add local variables s1 and s2 to fix this and to make the code easier to read:

    s1=0

    s2=0

    Pick sensor1-> if it's overlapping obstacles-> set s1=1

    Pick sensor2-> if it's overlapping obstacles-> set s2=1

    after that you can do all those different checks with s1 and s2

    By the way, if you add sensors and crawler to the same container, you'll not need their "parent" variable, sensors will be picked automatically for each crawler.

  • beohs, Are you adding 1 or "1"?

    There is a type mismatch somewhere, either in one of the variables or the DB field. Make sure they are all integer/numeric.

    You can add (int) before the variable in php to convert string to integer: (int)$x

  • Are you sure there are no problems with your animation?

    If you move "Set animation" event like this, will it play correctly when you press Q?

    Also check if you update the Main.Attack instance variable anywhere else in your event sheet.

    To share your project, save it as a single file, upload it to dropbox or similar service. Share the link here.

  • FabianB, Could you share you capx?

  • You need to add "Trigger once" condition.

    As it was pointed to you in the previous post, your "Attack" animation starts from the beginning again and again every tick. So it will always be stuck on frame 0 and will never end.

  • Could you tell what did you do?

  • Unless I misunderstood the question, I think it should not be much different from making a custom online leaderboard. But instead of high scores the DB will keep only one number - the hit counter.

    Here is the tutorial:

    https://www.scirra.com/tutorials/346/on ... -php-mysql

    Also see the AJAX section in the FAQ:

    viewtopic.php?t=63692&start=0

  • So you currently have this:

    Planet1 On click -> SpaceShip -> Bullet -> set angle towards Planet1.X, Planet1.Y

    Change it to this:

    Planet1 On click -> SpaceShip -> Bullet -> set speed X 
                        SpaceShip -> Bullet -> set angle towards Planet1.X, Planet1.Y
    
    [/code:1mykf871]
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 247 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
  • x4
    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