Zebbi's Recent Forum Activity

  • Or does GooglePlay plugin in C2 do that same job?

  • First you need to have an .apk online. Doesn't have to be live but you need your signature/footprint to link you rgame service to the app. If you have an apk uploaded you can go to google game service and link it to an existing app. It will show you all your possible apps.

    The you should integrate cranberry's game plugin. That gives you simple events like "submit score" and "open leaderboard". If you set this up you need to give it the "highscore id" shown in your google games setup. When you export it to intel xdk you need to add your google app id to that.

    It works very well.

    Is this still the preferred way of loading the google games leaderboard? It seems easy enough to follow, just wanted to make sure there wasn't a built-in way of doing this now like there is with AdMob?

  • I sent mine a month ago, hopefully it got to the HQ okay

  • OMG...this plugin is absolutely *amazing* ... thx soooo much, Rex, this will spare me several headaches.

    I think this plugin should be a standard in C2, it's that useful!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • >

    > > Construct 2, properties, and you can set Orientation Lanscape or Potrait only (default "any") it's help?

    > >

    >

    > > You need to select portrait in the build settings of XDK.

    > >

    > I tried both these and added the screen orientation plugin, but it still twists the screen so there's black bars either side (I'm mentioning this so you know it's not turning my game widescreen, it's just not locking the orientation).

    >

    If you built it for Crosswalk, did you make sure you changed the tab of build settings to 'Android (crosswalk)' and didn't accidentally set things up for normal Android build? That tab is open by default and I sometimes accidentally set things up there.

    If you still can't get it to work, you should probably ask about it at the XDK forums as well:

    https://software.intel.com/en-us/forums/intel-xdk

    Yeah, performance is a lot better disabling standard Android and just using Crosswalk, but no luck fixing it to portrait even when the phone is on it's side. The emulator also doesn't lock the orientation :/

  • Construct 2, properties, and you can set Orientation Lanscape or Potrait only (default "any") it's help?

    You need to select portrait in the build settings of XDK.

    I tried both these and added the screen orientation plugin, but it still twists the screen so there's black bars either side (I'm mentioning this so you know it's not turning my game widescreen, it's just not locking the orientation).

  • I did that but the screen still rotates, I can confirm that other apps from the store can lock my screen, but XDK isn't doing it right :/

  • Sorry, I missed a load of search articles, just put in the right keyword

  • I have an object with a custom movement. I'm having it accelerate towards another objects position (which is moving in a fixed path), except by the time it arrives, the other object has already moved, and it misses it's mark. I want to somehow calculate predicatively where it should arrive by adding some distance pixels onto the mark in the direction/speed that target object is moving. What sort of expression might I use for this?

  • Zebbi

    See my new LOOP.capx :

    Add "system condition: Is with in angle" --

    CarF.Angle within 3 degrees of CarF.LJ.ForceAngle

    before angle checking, you could try to increase (insensitive) the "within" degrees or decrease (more sensitive) it to see the result.

    Ahh, I understand that! It looks perfect on your example, have you got magicam? I'm using that plugin to sort out zooms and such, and I'm getting shaking but I can't tell if it's my implementation or not? If you don't, I can try and use scrolling to see if it help the issue: https://www.dropbox.com/s/s5xb1deue5spe ... .capx?dl=0

  • Zebbi

    The car AI is described in event 1~ 6 in your LOOP.capx.

    - event 1 : when to update the command of the car

    - event 3, 4 : turn left or turn right the car

    - event 5, 6 : slow down or speed up the car

    You might change these conditions.

    ( The leading angle is CarF.LJ.ForceAngle )

    rexrainbow I'm not sure how to still have the car move properly whilst not adjusting left/right in increments, I'm sure if I was good at math I might be able to figure it out, but playing with these figures and it's not helping or changing anything. I'm not really sure what I'm supposed to be doing to be honest, I think I want the left/right steer to update less frequently?

  • I'm using XDK and I can force portrait, but I can't figure out how to disable auto-rotate. If it rotates with the force portrait setting (via C2 layout properties, browser plugin and even third-party plugin for XDK) the game rotates to landscape with the game in the centre with huge bars either side. Any ideas how to disable auto-rotate?

Zebbi's avatar

Zebbi

Member since 20 Jan, 2014

None one is following Zebbi yet!

Connect with Zebbi

Trophy Case

  • 10-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies