dop2000's Recent Forum Activity

  • What you described is possible with Chadori's plugin for push notifications, part of the Construct Collection.

    constructcollection.com

  • If this doesn't help, please post a screenshot of your events, or your project file.

  • You need a server which will store the scores. It may be your own server with MySQL database, or some service like Firebase.

    Search the tutorials section, there are plenty of examples.

    construct.net/en/tutorials/search

  • Try downloading the plugin from this post:

    construct.net/en/forum/construct-3/plugin-sdk-10/erens-ported-plugins-modules-159391

    You can parse CSV files without the plugin, use tokencount() and tokenat() expressions.

  • Laurent So while one instance is moving, all other instances should wait? And only when the first instance reached the target position, then the next instance should begin moving, is this correct?

    Then your plan looks good, although instead of X counter I suggest using an instance variable on the sprite. For example, "isArrived". Pick a random instance with "isArrived=0" (see my previous comment), and when it arrives, change its value to 1.

  • winstreak It's better to put "Every X seconds" as the first condition for better performance. Also, since you are picking one random instance, you don't need the "for each" loop anymore. So here is the easiest way to do this:

    Every 0.5s
    Sprite Bullet is NOT enabled
    Pick random Sprite
    ....... Sprite set Bullet enabled.
    
  • winstreak There are quite a few mistakes in your video.

    Trigger Once condition should never be used with multiple instances. It also makes little sense using it inside loops. And in any case it should come as the last condition in an event.

    Also, For Each loop already picks instances one by one, so picking nearest in a sub-event is unnecessary, it will have no effect.

    Finally, you should put "Every 0.5s" and "Is not activated" condition before "For each", to improve performance and filter the picked scope of instances, before iterating them.

    .

    If you need to pick a random instance, there is a System condition for that.

  • How do you create the House sprite, with an event? When you create an instance in runtime, "On created" is triggered immediately, even before you select a different animation for the newly created sprite. So in the "On created" event the sprite will have the default animation, which I suppose is "Trailer".

    You need to initialize the tween values in the same event where you are creating the house. Or make a function, which you can call after you've created a new house and set the right animation for it.

  • Here is how you do this with a local variable:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Drawing Canvas is not a good choice for animations. You need to make a snapshot after every frame and save it in an array, then restore it from the array - these are very slow operations. You can also save the canvas image in BinaryData, but there is no way to load it back into the canvas.

    Have you tried Game Recorder object?

  • I think it's a very bad idea to make user to change date on their device. This may cause many issues with other apps - reminders, scheduled tasks, automatic backups, antivirus software etc.

    Besides, I checked on my phone and it doesn't allow me to set the date earlier than 01/01/2007

  • You can use a loop with Wait, for example:

    For each Sprite 
    .. Wait 0.2*loopindex
    .. Sprite set invisible
    

    A problem with wait is that once it's running, you can't stop it. So a better solution may be using Timer behavior.

    For each Sprite 
    .. Sprite start timer "make_invisible" for (0.2*loopindex) seconds
    
    Sprite On Timer "make_invisible" 
    .. Sprite set invisible
    
    
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