dop2000's Forum Posts

  • You can rename the project to .zip extension, unpack into a folder and manually check files in the Images and Icons folders. If you find a corrupted image, replace it.

  • I still think the problem may actually be with the saving step. Have you tried to add a "Save" button (just for testing), instead of automatically saving after the video has finished? I would also try to test without the MobileAdvert plugin. Also, add "No save" behavior to everything you don't need to save.

    I'm out of ideas. If you manage to reproduce this problem in a small demo project, you can submit it as a bug:

    github.com/Scirra/Construct-3-bugs/issues

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is this what you are after?

    dropbox.com/s/cvkgnldw9dv2qja/SineBullet.capx

  • It could be.. Seems like the error is happening on the next tick.

    Are you sure you don't have another "Load" action elsewhere in the events? Also, make sure to use "On tap" event and not "Is touching" condition for the button.

  • 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.

  • 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.

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