dop2000's Recent Forum Activity

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I usually add extra commas at start and end of the string. So it looks like this:

    ,1,2,3,4,5,6,7,10,11,12,21,101,102,202,1001,

    This way I can replace ",1," with "," and it will not ruin other numbers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I managed to build an app that works on TV and displays its icon in the Android TV Launcher. Google Play Store should allow this app to be installed on TVs, although I haven't tried it.

    Decided to leave the instructions here in case anyone else needs it. Not sure if my method is 100% correct, but hey, it works!

    1.

    Export your project for Android, choose "Cordova project" build type.

    2.

    Add this tag to the config.xml file:

    <preference name="AndroidXEnabled" value="true" />

    3.

    In Cordova CLI execute "cordova prepare" command.

    4.

    Make the following changes to \platforms\android\app\src\main\AndroidManifest.xml

    4.1.

    Add android:banner attribute to <application>:

    <application android:banner="@drawable/banner" ... >

    4.2.

    Replace android:theme attribute in <activity> tag:

    <activity .... android:theme="@style/Theme.Leanback" ... >

    4.3.

    Add a new intent-filter to the activity:

    <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> </intent-filter>

    4.4.

    Add these two keys to the root <manifest> tag:

    <uses-feature android:name="android.software.leanback" android:required="false" /> <uses-feature android:name="android.hardware.touchscreen" android:required="false" />

    Here is what the result should look like:

    5.

    Edit \platforms\android\app\build.gradle file and add this line into the root dependencies section (around line 350)

    implementation("androidx.leanback:leanback:1.2.0-alpha01")

    '1.2.0-alpha01' is the current version as of August 2021, you can lookup the latest version here.

    6.

    Create banner.png image (320x180 px) and copy it to this folder:

    \platforms\android\app\src\main\res\drawable-xhdpi

    and possibly to

    \platforms\android\app\src\main\res\drawable-land-xhdpi

    7.

    Continue building the app with Cordova CLI:

    cordova build android ...

    Please refer to the official guide for more info, and let me know if you notice any mistake in my post.

  • You have Jumpthru behavior on the red block. It works like solid, but you can't use solid tags for it. You need to remove this behavior.

  • It works for me.

    Must be some mistake in your project, but I can't download it. Make sure you allow access to everyone, to test try opening it in a private browser tab.

  • You need to use AJAX object -

    AJAX Request URL FileChooser.FileURLAt(0)
    System Wait for previous action to complete
    Set variable s to AJAX.LastData
    

    If you are making a game for desktop and exporting with NWJS, then you can use NWJS.ReadFile(path) expression

  • You need to add Mouse object to the project. The same way you add sprites and other objects.

  • Yeah, as brushfe mentioned, event 11 is executed on every tick while EnemyTurn is true, about 60 times per second. And because you have "Waits" inside of it, it created hundreds of delayed threads. You should avoid these things.

    Besides, "Trigger once" should not be used on its own. You need to move "Trigger once" from event 12 to event 11 (as a second condition).

  • Hi, everyone, we will be releasing new plugins soon!

    Mobile IDFA - IDFA (Advertisements) support for the Mobile IronSource Collection, Google Admob Collection and Mobile Appodeal.

    Hi Chadory,

    Any news about this IDFA plugin? Will it be available soon? If not, do you know if there is any other way to display the "App Tracking Transparency" dialog on iOS?

  • Just to clarify - the zip file should contain three items at the root level: WWW folder, config.json and config.xml

    I suggest creating it with Windows - select files, right-click and choose "Send to Compressed (zipped) folder"

    If this doesn't help, could you share your exported game (zip file)?

  • Here is my idea -

    When a car crosses a checkpoint (and checkpoint ID is greater than the previous one), save two instance variables for this car - checkpoint number and the time.

    So, for example, when there are two cars which both have crossed checkpoint #7, you can tell which one is ahead by picking the car with the lowest crossing time.

    To build a real-time leaderboard you can do something like this:

    For Each Car ordered by (Car.checkpoint*10000 - Car.crossingTime) Descending

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

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

30/44
How to earn trophies