dop2000's Recent Forum Activity

  • Yeah, you really should use an array or a dictionary.

    If you absolutely need to do this with variables, here is a compact way to check them all:

    local text variable s
    Set s to (str(Title1="alert") & str(Title2="alert") & str(Title3="alert")...
    
    Compare two values find(s, "1")= -1 -> Acquire_Tile set invisible
    Else -> Acquire_Tile set animation frame to find(s, "1")
    
  • Please read this tutorial about the difference in scale modes.

    scirra.com/tutorials/73/supporting-multiple-screen-sizes

  • The best solution would be to add an instance variable ID to the Bar sprite and set it to 1,2,3,4,5 for your five instances.

    Then you can change your event to:

    Mouse on clicked Bar 
     Bar ID = 1 -> set fire to 1
     Bar ID = 2 -> set fire to 2
     Bar ID = 3 -> set fire to 3
    ...
    

    Or even easier:

    Mouse on clicked Bar -> set fire to Bar.ID
    

    You can also use UIDs or IIDs

  • Let's say you have progress variable, changing from 0 to 1. When you press a key, you add 0.2 to progress and calculate the destination point:

    On any key pressed:
     Add 0.2 to progress 
     Set destinationX to lerp(B.x, C.x, progress)
    

    Then you can move your A sprite to this destination point using some behavior like MoveTo, or with another lerp:

    On every tick: 
     A set X to lerp(A.x, destinationX, dt)
    
  • The file size is 21Mb! You probably need to use some external tool to remove all definitions from the file and then edit it to make it compatible with C2 JSON format:

    {"c2array":true,"size":[3],"data":["apple","banana","coconut"]}

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • more and more publishers and developers are adding those links or the privacy policy file directly in the app so u can read it, while using the app, without being redirected, like a credits page... but for tos and privacy.

    Are there any advantages in embedding them into the app? Why can't I have them published on my website?

  • In "Set volume" action you need to use the tag name, not the audio file name.

    If it still doesn't work, please post your capx or a screenshot of events.

  • Lots of useful information in this topic, thanks guys!

    If I publish my game on Google Play or App Store, do I need to include the privacy policy and T&C into the app? Or can I just put the link "For Privacy Policy click here" that redirects to my website?

  • Does this happen with any project? This could be caused by a mistake in your code or in one of the addons you are using. Just a few days ago I found a bug in a popular Spline plugin by rexrainbow, where it can go into an infinite loop and freeze.

  • Audio system uses tags to distinguish between different sounds played at the same time. When you play a sound, assign a tag to it, and then you should be able to change its volume, pause, stop, etc.

  • Just set looping in animation properties.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 7 Feb, 2025

Twitter
dop2000 has 257 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