dop2000's Recent Forum Activity

  • Like AlanR explained, loops in Construct are actually performed in one tick. If there is a Wait inside the loop, it doesn't pause loop execution, it creates a delayed thread. So a loop like this becomes infinite and will freeze the browser:

    While
    stop=0
    	Wait 0
    	Set stop=1
    
  • You need "Wait loopindex*0.016" if you want the loop to iterate 1 tick at a time. But this won't work with While loop, you should use Repeat or For:

    Repeat 100 times
    	Wait loopindex*0.016
    	ProgressText append text "."
    	// do some cpu-intensive stuff here, 1/100 portion of it.
    	// For example, if you need to fill a million array records, fill 10000 here
    
  • I don't understand you. If you want to spawn only 1 bullet for every 1 touch, then you should use "On any touch start" or "On touched object" event only.

    Do not use "Is touching" event! If you have "Is touching" or "Is in touch" event, delete it.

  • Instance variables is exactly what you need here. For example, you can create instance variable platformUID on the Lever sprite, set correct values for each Lever. When Lever is touched, pick Platform with UID=Level.platformUID and activate it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use "On touch start" event, not "Is in touch".

  • Ashley I always wanted to ask - why rgb() expression inverts the result? For example, rgb(0,10,255)=16714240 , which is #FF0A00 in hex. It should be #000AFF, why R and B values are swapped?

  • Yes, search this forum for "virtual joystick" or "virtual gamepad" or "thumbstick", there are lots of examples. Here is one I made for another post:

    dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx

  • Then you shouldn't have posted this in C3 forum :)

    Here is a version that doesn't use bullet stepping.

    dropbox.com/s/7tfobtbs6vqwoud/BulletTrail3.c3p

    It's not so nice looking, may require additional tweaks.

  • It's not that bad, on my laptop the trail adds about 5-10% to cpu utilization, gpu is at 0%. On a very old phone it adds 15-25% to cpu.

    .

    You can decrease fade out time, this will make the trail shorter, reduce the number of trail sprites and improve performance. You can also spawn trail sprite not on every step, for example skipping 2 in 3 steps.

    Another solution is to use just one object for each trail line, changing its width on every tick instead of fading, but this may be a bit more complicated.

  • You need to post a bug report here:

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

  • Ashley I listed what my phone is showing me when I install the app.

    Read and write USB storage are related to WRITE_EXTERNAL_STORAGE permission.

    Full network access = INTERNET permission.

    Not sure what "Charges: Send MMS messages" is about, it's shown after the app is installed.

    Anyway, both WRITE_EXTERNAL_STORAGE and INTERNET permissions should not be added. I built an app with just one text object and nothing else and these permissions are still there! So they definitely don't come from any plugins.

  • A vanilla export shouldn't request anything more than network access

    Ashley Unfortunately it does. Here is a super-simple project with just Browser and Text objects and one event:

    dropbox.com/s/ywur7e1kzqjx8qj/PermissionTest.c3p

    And this is the AndroidManifest after building an apk with C3:

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

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

29/44
How to earn trophies