hackinc2000's Recent Forum Activity

  • It would be much easier to help you if you posted a screenshot of events (instead of text, which is very difficult to read).

    I'll take that in mind for the next time. Thanks. Old coder, old habits. LOL! :)

  • Well found the problem!

    Set a global Variable to check for mouse click did the job!

    For future reference here's the code:

    | Global boolean MouseClicked‎ = false

    + Mouse: On Left button Clicked on keyBlade

    -> System: Set MouseClicked to True

    ----+ keyBlade: Is dragged

    ----+ System: Is MouseClicked

    -----> System: Set MouseClicked to False

    -----> keyBlade: Tween "slide-back" property Position to Self.initialX, Self.InitialY in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to False

    -----> Run JavaScript: console.log("is Not Dragged so play slide")

    ----+ keyBlade: [X] Is dragged

    ----+ System: Is MouseClicked

    -----> System: Set MouseClicked to False

    -----> keyBlade: Set initialX to Self.ImagePointX("start")

    -----> keyBlade: Set InitialY to Self.ImagePointY("start")

    -----> keyBlade: Tween "pos" property Position to Self.ImagePointX("end"), Self.ImagePointY("end") in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to True

  • Hi guys, I can't figure this out, any help would be grateful.

    The situation:

    I have a sprite with 3 instance variables:

    -a is a Boolean and false as default

    -b and -c are numeric

    When an action is performed, in this case A Mouse click on the sprite with two conditions, when -a=false, a tween its going to be played, when -a=true, I'm playing another tween based on -b and -c. The problem I'm having its that when I click on the sprite, I set -a, -b and -c, but -a never sets the value. So I cannot run the second tween when I click back the sprite.

    Thanks for any help.

    My code goes like this:

    + Mouse: On Left button Clicked on keyBlade

    ----+ keyBlade: [X] Is dragged

    -----> keyBlade: Set initialX to Self.ImagePointX("start")

    -----> keyBlade: Set InitialY to Self.ImagePointY("start")

    -----> keyBlade: Tween "pos" property Position to Self.ImagePointX("end"), Self.ImagePointY("end") in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to True

    ----+ keyBlade: Is dragged

    -----> keyBlade: Tween "slide-back" property Position to Self.initialX, Self.InitialY in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to False

    If I invert the comparative Its being set only the first time but never gets the other condition.

    + Mouse: On Left button Clicked on keyBlade

    ----+ keyBlade: Is dragged

    -----> keyBlade: Tween "slide-back" property Position to Self.initialX, Self.InitialY in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to False

    ----+ keyBlade: [X] Is dragged

    -----> keyBlade: Set initialX to Self.ImagePointX("start")

    -----> keyBlade: Set InitialY to Self.ImagePointY("start")

    -----> keyBlade: Tween "pos" property Position to Self.ImagePointX("end"), Self.ImagePointY("end") in 0.5 seconds (Linear, destroy: No)

    -----> keyBlade: Set dragged to True

  • Hello hackinc2000

    I see you've finished the plug-in for C3, do you plan to make a plug-in for C2?

    [quote:yabrmwmd]I see you've finished the plug-in for C3, do you plan to make a plug-in for C2?

    Hi

    Weird my previews post, did not appear, hum probably I wasn't log in when posting!

    Anyways, Yes the addon for construct 3 its has been publish on the addon repository seen Sunday night. And Yes , I have planned for the C2 version, a bunch of projects on my own that will be not converted to C3 depends on it! . As soon as I finish a client project in the next weeks, maybe sooner, I'll be working on that.

    So yes stay tuned!

  • Hello hackinc2000

    Your plugin will be work with ios WKWebview?

    The last version 2.2.0 of the UnityAds SDK already implements WKWebview. So based on that, yes may work. I said may cause I haven't test on version any 8.0 device or simulator. But thanks for bring that, I'm already fixing some bugs on the ios part of the plugin before the release, so its a good time to test that.

  • Just to keep inform anyone interested on this, that after a month, My UnityAds addon for Construct 3 its almost ready!

    • Cordova plugin - Ready, but still not publish. and still not dropped the bug report to Napeo. So at the moment of the release, problably your app build has to be made manually.
    • Construct 3 add on: Android part: Ready, iOS part: Ready
    • I'm working on documentation, addon area, created.
    • Hopefully I can have everything ready to release for the next week!
  • Hi to all that

    I'm currently working on the plugin for that, implementing UnityAds 2.1.2 (latest version). 3 weeks already on the project, working a couple of hours only, and it goes wonderful! First time for a cordova plugin and construct 2 or 3 plug in. So lets see how it goes! . As soon as I have something solid I will be opening an official post for this on the forums. So stay tuned. And finally thanks to sfane, that open this post. If any one whats to give ideas, they are welcome!

    Release Date:

    • Not a clue, I'm doing this on my spare time, so it could take some time

    cordova plugin:

    • Already shows video ads
    • This week: Implementing ads stages like, video loaded, showing, video finish, etc

    construct 3 plugin:

    • Not Started Yet
  • [quote:2a8x43d9]On C3 plugins for mobile devices(IAP,Admob,Google play services etc. etc..) is currently not working.

    I was going to ask the same question!!! When I read this!!!

  • Im having the same problem! Did anyone has resolve this in the pass!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm facing the same problem. If some one can get us on the right direction would be wonderful!!!

  • Hi I just want to share my latest two finished game and app made with C2:

    Artemis Useless Machine: https://play.google.com/store/apps/details?id=com.artemisoftnian.uselessmachine

    Infinite Loop: https://play.google.com/store/apps/details?id=com.artemisoftnian.infinteloop

    I can say, It has been very interesting working with C2. I love it!!!

    Enjoy the game and app!!!

  • Great clarification indeed!!!

hackinc2000's avatar

hackinc2000

Early Adopter

Member since 9 Feb, 2011

Twitter
hackinc2000 has 12 followers

Connect with hackinc2000

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies