pwrs's Recent Forum Activity

  • I peaked at your code and did a quick run. Based on the point of view being more from the side than above, do you need pathfinding?

    You could use a hidden sprite to detect when they are in range, and move them to appropriate locations, having them battle there.

    You could also probably use a function to handle moving/battling and simply have them continue moving after toward their target, and when they overlap with say a spawnpoint/base, have them perform a different action (aka attack a base).

    Otherwise I would check debug mode and see what's taking the most cpu cycles.

    Also, regarding improving AI, the event -overlapping another object- can trigger a bunch of different options, maybe with a random function to perform a different attack, like something stronger than a basic attack, or using an ability. If you don't prefer random, you could add an instance variable that adds up over time/attacks performed that then executes the other actions you want to add.

    Smarter AI can be anything from extra actions, and performing actions based on state, so for example, low hp, or when another unit dies.

  • I think only notifications are possible, but not auto-launching an app/game based on a predetermined trigger.

    Perhaps a toast notification in Android as a reminder of some sort, but without a tie-in to something like IFTT or another app to automate the handling of the trigger and taking the appropriate response/action, I don't think it's possible for virtually any app/game. Hence why notifications for some apps/games come up when tasks are completed (or w/e timer based thing has completed).

  • You can still do something locally right? Just not with the Xbox login, making the second player essentially a guest.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your post title is a bit misleading; it does in fact work, on both Android and iOS.

    Make sure you set up your ad in Admob properly and simply add to your project:

    -> MobileAdvert: Create interstitial advert "(your advert id here)" show: true

    I also separated the OS by using the - On Platform to sort by iOS and Android to prevent the wrong ad showing on the wrong platform (I don't think it's required by Admob, but I would rather just follow their guidelines than not).

  • I think there is still an ongoing issue from June regarding this: https://github.com/Scirra/Construct-3-bugs/issues/452

    I noticed you also opened a github request and it was linked to issue 452; so I think we just need to wait, since MartDSam couldn't get it to work via Web Secret either.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Ashley

    I know you mentioned they use the same runtime, but I have noticed some difference in performance, for the better too. In fact, I had old instances of games that I couldn't add effects to simply because it would cause fps drops, but now have been able to add the effects I previously wanted to and see much better performance overall.

    It could be the new compiler or perhaps just Android optimizations, but it runs as smoothly as iOS now (which ran great on C2 and now C3). Either way, I have noticed increased performance since using C3 regarding Android usage.

    -For the record, I am talking about Intel XDK performance vs the built in compiler for Android in C3

  • I've had that happen several times since swapping to an Android phone, and I found a decent fix is to 'uninstall C3' and close Chrome, then relaunch and go back to the editor. Not sure why it happens, but it has lead to really inconsistent instances that gave no warning before just doing nothing.

    Hopefully r60 will resolve that like mentioned (maybe AdMob too, who knows)

  • I can't see why not.

    If I had to take a crack at this, I would do the whole thing in SQL on the backend and have a table with a bunch of columns of who is friends with who (if the DB isn't on a dedicated host, I would limit the friend feature to 200 or less to start), and last time checked in (something not really 'live' but with constant check-ins while the app is in focus to show 'online').

    You could have an 'every X time' send a token-code to the server, add the data to keep the 'online' status valid, and also check for pending friend requests and their statuses as friends (online/offline). The token could be something random, or based off a name during a registration (simple encryption) and when they 'login' it'll check to make sure the user is who they say they are, and fetch the data as necessary.

  • Phoenixbowman

    It does, and they give you a few options between debug and prod ready (unsigned).

    I haven't had any issues with the compiler from C3 and think it's 100% better compared to the Intel XDK and Cocoon IO.

  • mammoth

    I also noticed the simulator runs differently than any iPhone I have tested on. I honestly think it's just the way the simulator calls on resources similar to a vm vs native when compiled and installed via testflight.

    You can also connect your phone to the Mac and push it that way too, since it'll show up in the list of devices to test against (the simulators vs actual connected phones).

pwrs's avatar

pwrs

Early Adopter

Member since 18 Mar, 2014

Twitter
pwrs has 1 followers

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies