dop2000's Recent Forum Activity

  • It would be easier to help if you could post a demo capx (preferably without any third-party plugins).

    If you need to use OR-condition with While, you can do this with a boolean variable. Something like this:

    variable b=1
    
    While (b=1 AND loopindex<1000)
    
    		: set b=0
    
    
    	NOT Overlapping a platform 
    		: set b=1
    
    
    	Overlapping platform
    	AND platform's Zlane is not equal to shadow Zlane
    		: set b=1
    
    
    	if b=1 
    		: Set shadow.y to shadow.y+1 
    
    
  • 77 kilobytes is nothing. You can also try to get a log from Android phone, maybe you'll see the error message there. Google "android logcat".

  • Yes, it works:

    dropbox.com/s/p3oh85prhrc70n2/Camera%20input%20test%20multi.c3p

    You need to wait several seconds before making each shot to allow time to save them.

    Also, if you need to save images between sessions, you might want to save the value of PhotoIdCounter too.

  • Change your code like this:

  • I'm sorry, I don't know. Maybe the ads are somehow corrupting the save. Or the amount of saved data is too big. If you run the game in preview and open console, you should be able to see the size of save file. I would also try saving after a small delay, or try disabling/removing ads and videos and see if this helps.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you set "Use loader layout=No" in project properties?

    Does this problem happen in preview, or only in apk? If you can reproduce it in preview, press F12 to see if there are any error messages in console.

    If this only happens on mobile, try adding a small wait before "Load" action. Or add a "Continue" button to the layout and request players to press it.

  • I don't think this with work with Tilemap. Large tilemap with small tiles will always be very slow if you fill it randomly. If you don't need collisions with the generated terrain, try using Drawing Canvas instead.

  • You need to post a screenshot of your code.

    Where did you put "Load" action? Is it in the Loader layout?

  • You can do this with 2 Sine behaviors, one Horizontal, another Vertical. Set random period, offset and magnitude values.

  • There is no such condition or expression.

    If the series of numbers is always the same, you can do this:

    Compare two values (a=1 | a=2 | a=5 | a=10 | ...) = 1
    

    Or you can put all numbers in a text variable numbersList=",1,2,5,10," and search this string:

    Compare two values find(numbersList, "," & str(a) & ",") >=0
    

    Or put all numbers into an array and loop through the array comparing each index.

    Если что-то непонятно, могу на русском объяснить.

  • The easiest way to avoid infinite loop is to include a condition like "loopindex<100" to the While loop.

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