dop2000's Recent Forum Activity

  • If you apply a distortion effect like Crystal ball, you will need to account for it when determining which tile was clicked. There's probably a formula, but I don't know it.

    Also, I don't think it's possible to change image offset in runtime, this property is only available in editor. I guess it's not really needed, you can use two copies of the tilemap, or put two maps on one tilemap, and move the entire tilemap. But, you'll still need to prepare the array of all tiles and their corresponding countries. With 198 countries I imagine the tiles need to be quite small and this array will be really big...

    .

    As for my first suggestion - distinguishing 198 countries by color may not be very accurate. You need to put a small Drawing Canvas object in the position where the map was clicked, paste the map onto it, then do "Drawing canvas save snapshot", and after that you'll be able to read RGB values of the pixel.

  • El Constructorr I believe the questions was about new C3 functions, you can't call them like that.

  • If you don't have too many countries you can paint them in different colors and read pixel color under mouse cursor (using Drawing Canvas). Or maybe define lots of image points and find the nearest image point to mouse click, but this is a huge job as you'll need to do this for every animation frame..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct is a 2D engine, I don't know if there is a way to rotate 3D object.

    The only solution is to add lots of frames like this:

    dropbox.com/s/7rrjq240qvwsykq/slider-pulsar2.capx

  • Yeah, it's not helping.. Your event 35 is nested under 6 levels of other events, must be something there. I give up. It's good that it's working, but I wouldn't trust this solution too much.

  • Can you please post the screenshot? I am curious how "Wait for previous action" could have fixed it.

  • Yeah, but the solution may be wrong. "Wait for previous action" is only used after asynchronous actions. Putting it as the first action in event doesn't make much sense.

  • What actions do you have above it?? If you'd posted the screenshot of the entire event, we could have solved it much sooner!

  • Something like this:

  • I thought I already explained it multiple times.. Put Browser Log Player.angle into parent event. Put other log messages into each condition. Run the project, you should be able to see the angle value and which of the conditions is triggered (if any).

  • So you haven't tried it yet? Then how do you know that conditions don't work?

    Press F12, select Console tab, you should be able to see messages which you output with "Browser Log" action.

  • No, I'm sure the problem is in your code. Browser Log can help to find which events are triggering and which not, and why are they not triggered.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 16 Jun, 2026

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies