dop2000's Recent Forum Activity

  • See the first link Kyatric posted. You should create 1 sprite object and add 100 instances (copies) of it to the layout. Not 100 different sprite objects!

  • Yeah, LiteTween or Tween is probably the easiest way, plus you can select a nice easing effect. On click pick all sprites above, set tween target to self.y-1000, pick all sprites below, set tween target to self.y+1000. On second click bring them back (in LiteTween you can use "reverse" action).

    100 objects with tween should not be a problem even on mobile.

  • You can use the family exactly the same way as you use objects - "For each Enemies", Enemies.UID, pick Enemies instances etc.

    One specific expression useful when dealing with families is ObjectTypeName, it returns the object name, for example you can use it in conditions like Enemies.ObjectTypeName="Zombie"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, I don't have any experience with this service. But if this a browser game, try pressing F12 and see if there are any errors in Console log.

  • 10 separate sprites will use more memory, but not much, maybe a couple of kilobytes.

    Lots of different objects make your project more cluttered, so it's generally a good idea to re-use and optimize them when possible.

  • 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..

  • 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.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-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

29/44
How to earn trophies