dop2000's Recent Forum Activity

  • Do you have "Use loader layout=Yes" option set in your project?

    If this is your loader layout, then you can't just wait a few seconds and switch layouts! You need to wait for "On loader layout complete" event to be triggered, or check loadingprogress expression.

    Loading time for an application may be different even on the same device, so 5 seconds may simply not be enough.

    See this tutorial:

    construct.net/en/tutorials/how-to-use-loader-layouts-to-make-custom-loading-screens-179

  • The only way to do this with particles is to set a small sprite in "Object" field in particles properties. This way particles will actually be made of sprites, and you can check for their collisions with other objects.

    Another solution is to use an invisible "Blast" sprite with Sine or Tween behavior which increases its size over time. On explosion spawn the Blast and when it collides with other objects, destroy that object.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you using a Loader layout? If you are, please post a screenshot of its event sheet.

  • Rex's CSV is a great plugin, but you can easily do the same with events. Parse comma-separate values with tokenat, load them into an array. And create a couple of helper functions to lookup data for a particular row/column from the array.

    It's also possible to load data directly from Google Sheets in runtime:

    construct.net/en/tutorials/create-online-database-with-google-spreadsheet-1373

  • Mouse on clicked Sprite
    	Sprite Rotate set speed to -(Self.Rotate.Speed)
    
  • Or you can use "Pick by Unique ID" as a second condition in the event:

    Ball on collision with Object
    Object pick by Unique ID=123
    
  • This is how I often do this - I add sets of objects somewhere off-screen on the layout. Each set is in a yellow block:

    Then on start of the layout I generate level by picking a random block and adding all objects from it:

    I'm using a family "Objects" with just one member "Object" to simplify picking, but you can do this in a different way - by calling a function for example.

    After that I delete all original object instances and blocks.

    If you game is an infinite runner, generating a very long level in advance is probably not a good idea. You can use the same method to add blocks as players progress through the level.

  • You can create two variables - SoundsVolume and MusicVolume. When starting playing any sound, set its volume to SoundsVolume. When starting playing music - set its volume to MusicVolume.

    So when the sliders are changed, you save new sound/music volume in these variables, and can also set music volume for currently playing music.

    If you don't need to play several music tracks at once, it's OK to have one tag for all music in the game. But of course for different sounds it's recommended to have different tags.

  • Have you tried searching for an addon that supports facebook ads? Check out Enhance:

    enhance.co

    Also, here is a Facebook Instant Games addon, but it looks like the developer abandoned it:

    construct.net/en/forum/extending-construct-2/addons-29/facebook-instant-games-for-con-135414

  • You can copy/paste multiple objects from one project to another. Just select a bunch of objects on the layout, press Ctrl-C, and then paste them into another project. They will be transferred with all behaviors, effects, instance variables, properties etc. Just make sure that you don't already have objects with the same names.

    Once you've copied objects over, you can copy/paste events.

  • SDK is mostly used for writing plugins. If you want to execute some JS code, use "Browser Execute Javascript" action or ExecJS expression. Here is a little demo:

    dropbox.com/s/odcvl711o1b8ilj/JS_DataExchange.capx

  • As far as I know, this is not possible. You need to create instance variables and change them together with effect properties. For example, create instance variables r, g, b and when you change properties for setColor effect, set the same values to the variables.

dop2000's avatar

dop2000

Member since 26 May, 2016

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