dop2000's Recent Forum Activity

  • Many events in Construct pick instances.

    For example, "Icon is visible" event will pick all instances that are visible.

    Or "On clicked icon" will pick one clicked icon instance. Everywhere inside this event "icon" will refer to that one picked instance.

    If you want to pick another instance or instances in the same event, and work with both picked scopes independently, use the trick with a family:

    Pick Icon
     Pick IconFamily 
    	.... do something with icon instances
    	.... do something with IconFamily instances
    
  • From the documentation:

    You can leave it at 0 if you don't need it.

  • You can use a family to pick another instance of the same object in one event. Add icon sprite to a family and you can do this:

    Pick Icon
     Pick IconFamily where IconFamily.IID=(Icon.IID-1)
    	Set Icon scale to 1.2
    	Set IconFamily scale to 0.8
    

    Picking by IID will only work correctly if you created icons in the correct order. It may be easier to use an instance variable, e.g. "Pick IconFamily where IconFamily.Day=(Icon.Day-1)"

  • Sure.

  • This is either a bug, or you are doing something wrong. Please post your code or the project file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When players die in my game, I want to give them an option to watch a rewarded video and continue playing. What is the correct way to do this?

    Do I need to preload the rewarded video in advance? If yes, when is the best time to preload - at the moment the player dies, or earlier? Maybe even at the beginning of the level?

    If I choose to always preload rewarded videos on every level, but my players rarely agree to watch them - can it cause problems with AdMob or other ad networks?

    If I don't preload them, will there be a long delay before the video starts playing?

  • This is strange.. Press F12 in preview and see if there are any errors in browser Console log.

    If this doesn't help, can you post your C3 code or project file?

  • Are you sure it doesn't return any data? Check the contents of hunt_return in Debug Mode, or output AJAX.LastData to browser console (use Browser -> Log action).

    You can also open php script manually from the browser address bar to make sure it echo'es the data correctly.

  • You can try adding more points to collision polygons on the wall corners, to make them more rounded. And also to the player sprite to make it more circle shaped (ignore the warning about too many points).

    If this doesn't help, I would suggest switching to Physics. Set collision shape="Circle" for the player sprite and apply force in the direction you want it to move. It should go through corners much smoother.

  • You can add an array the same size as your tilemap and store the values for each tile there. If you only need 1 value (mining time remaining), you can use 2D array. For multiple values use 3D array.

  • You can probably make something like this with multiplayer plugin. You'll need two applications - one running on the phone and one (NWJS) running on PC. NWJS app can launch programs and manage files, but it will not give you full remote access to the PC.

  • You can resize the sprite in "On image URL loaded" event:

    Sprite set size to circle.width, circle.width
    

    Or, if you want to keep aspect ratio:

    set variable n to max(Sprite.width, Sprite.height)/circle.width
    Sprite Set size to self.width/n, self.height/n
    
dop2000's avatar

dop2000

Member since 26 May, 2016

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