Triforce's Forum Posts

  • Impressive, how is it with earnings from adsense ect when your app has over 100,000 downloads? Should be a monthly income?

  • It's in C2:

    I have sent you a pm

  • Intel changed it a while back, but they just started enforcing it. Try the check box first. I just exported the C2 default platformer, and it worked well, and even simulates in XDK (I can't get my own projects to simulate, for some reason).

    What checkbox?

  • All of the code needs to be in www, then the project lives one level up. You can try selecting the "Use new Intel XDK project format", or do it manually. I already had a project, so had to follow instructions on how to update it to the new format.

    https://software.intel.com/en-us/xdk/fa ... www-folder

    Here is all my files when I exported to android

    What exactly do I have to do?

  • All of the code needs to be in www, then the project lives one level up. You can try selecting the "Use new Intel XDK project format", or do it manually. I already had a project, so had to follow instructions on how to update it to the new format.

    https://software.intel.com/en-us/xdk/fa ... www-folder

    Since when?! This is so much more work.

    Im not sure if I understand how I can do it

  • It has always been working to "Export project to Android" -> "Import in Intel XDK".

    Now I am getting this error, all the time, what is wrong?

    I haven't done anything in the construct 2 code compared to before, I added a zoom in / zoom out. Now I can't import to intel xdk

    I also tried doing what it asked for.

    I moved the index.html to a new folder named "www" and I was able to import the project, but if I build it and open it, I will just get a black screen, what is going on

    In C2 I go to file -> Export project -> Android

    Intel XDK -> New project -> Error

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I use variables for this, on the button itself or global. You can toggle a boolean true or false if they are the only two button options.

    On button clicked, if variable = true, Set layout scale to 1.5. Else set layout scale to 1. And on button clicked, toggle boolean.

    Why didn't I think of this before! Thanks

    It works, thanks!

  • Edit #2. Solved thanks to plinkie, I leave this post as it is if any other users in future google and find this.

    So I have a button that will scale the game if the user wants a smaller / bigger layout size,

    I want to use the same button to change the scale again, so if the player presses on the button first time,

    The game will scale like this above,

    then if they press the button again, the game will scale back to 1.0

    So first time they press, the game will scale in making it smaller, then this gets disabled and the other one gets activated so if the player presses again, the game will scale back. over and over

    How do I do this?

    Extra note, I cannot use 2 different buttons (That change collision, it needs to be the same button)

    so an example how I want it to look (This dosent work)

    Edit #1.

    This code actually works, but only 1 time

    I guess it's because the signal has been called which makes it's perm active, is there a way to reset it so it waits to get called again?

    [quote:11mckudd]Signal

    Resume any events paused with a Wait for signal action with the given tag.

  • You mean after 10s, perform attack for x second then off then loop again?

    Try this one: https://dl.dropboxusercontent.com/u/659 ... _boss.capx

    Excellent.

    You're the best

  • Create instance variable and set it as boolean. The idea is toogle the boolean every 3 seconds by switching it on or off.

    showcase: https://dl.dropboxusercontent.com/u/659 ... ttack.capx

    Came across another problem.

    Is it possible to change this so for something like this?

    "For every 10 second, toggle "Angry" for X seconds?"

    the current example below does not work

    I also tried this with a timer but can't get it to work

  • Have you set the acceleration to increase / decrease properly?

  • Create instance variable and set it as boolean. The idea is toogle the boolean every 3 seconds by switching it on or off.

    showcase: https://dl.dropboxusercontent.com/u/659 ... ttack.capx

    Wow thats great, what a lovley example.

    Thank you

  • I currently have a boss, that I want this.

    "Every 3 seconds,

    Do this attack Everytick"

    But I dont know how to achieve this.

    I currently have this

    What am I doing wrong?

  • Do you need to use SINE movement?

    If it's always needing to be the same speed, but vary the distance it travels... it would be easier to create a custom movement for it.

    Use bullet behaviour with a set speed, and randomly pick a distance for it to move from it's starting point. Create two instance variables for it's starting spot (X and Y) then create two more for it's destination point (X and Y) and just add or subtract a random value from the destination points... then set the motion towards those destination points.

    It's probably easier than trying to mess with over-riding the sine behaviour.

    ~Sol

    I can use whatever works, how would the code look if I had bullet behavior that changed directions like Sine movement?

  • Bumping this thread.

    Is there maybe a other method?