PixelPower's Forum Posts

  • Hi, what are you trying to do? Just use fb login, or...?

    Theres a lot of stuff involved for fb to work, not just within C2 but also on fb developer site.

    I just wanted to share a link from googleplay to facebook. I done it before when I just made games in pure HTML + Javascript , I didn't need to do anything in Facebooks end just code it in my game. But you don't have that type of editor with Construct 2 so I have to use plugin.

    Straight Code is like this

    <body>

    <!-- Load Facebook SDK for JavaScript -->

    <div id="fb-root"></div>

    <script>(function(d, s, id) {

    var js, fjs = d.getElementsByTagName(s)[0];

    if (d.getElementById(id)) return;

    js = d.createElement(s); js.id = id;

    js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1";

    fjs.parentNode.insertBefore(js, fjs);

    }(document, 'script', 'facebook-jssdk'));</script>

    <!-- Your share button code -->

    <div class="fb-share-button"

    data-href="www.scirra.com"

    data-layout="button_count">

    </div>

    </body>

  • It was just fixed in the latest beta, so I assume it works there.

    Thanks!! Do you happen to know if the beta is stable ?

  • you could do set X at a constant rate and then set Y at the object Y ?

    If you want a bottom too just do the same except reverse. ? would that help ?

    That would help alot but I don't think the OP would understand that. The 1st capx file I sent gave the basic principle and yet the OP said it wasn't even close to what they wanted. That means the OP doesn't understand events fully yet. All the OP had to do was use the same logic to accomplish what they wanted to do.

  • > www28.zippyshare.com/v/r1Zzy8jE/file.html

    >

    > Done!!

    >

    Thanks for replying PixelPower

    But this is no were close to what I was talking about, anyway, I've uploaded a picture to make it clearer.

    so in the picture red objects are the missiles coming towards the player(green) and the red triangles are the indicating objects that will inform the player that something is coming from that direction.

    Hope you understand it this time. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    http://postimg.org/image/863l9o9z1/

    Ok this is a variation that looks like your photo. You wait 2 seconds, indicator comes on and 1 second later enemy comes on the screen.

    http://www92.zippyshare.com/v/OuSQROhI/file.html

  • Hi guys I was trying out the facebook object but when I ran the layout and click the button , nothing happened. Its a very basic event code and I see no reason for it not to work. If anyone can confirm its working, then I will try again with other methods to see if I can get it working.

    My code is Touch / on touched Facebookbutton / Facebook / Prompt to share link "the link is in here"

  • The point of Construct 2 is to have events and drag and drop. If it did what Game Maker does then people would have chosen to use game maker over Construct 2. I have actually made really simple games with just HTML,Javascript, and CSS. It takes a ton of code and is not worth it.

    Phaser is easy to code framework, that migh be what your looking for. Its coding but reduced.

  • Hi guys I know most of you have had many problems with NW.js and are getting fustrated. I was wondering if anyone has used alternatives like this Electron

    http://electron.atom.io/

    or

    Decsoft

    https://www.davidesperalta.com/htmlcompiler

    I heard about these on Reddit and it seems developers are making a move towards them. I am not a windows developer, android is more my style. But if your looking for an alternative than these look pretty solid.

  • Thanks to reply plinkie

    how is differrent between "key is down" and "on key press " ?

    Key down = means its going continuously

    Key press = means you press it and quickly lifter your finger up.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I could do it another way with variables but wouldn't have time to explain it. There seems to be a nasty little bug on the touch event, causes both sprites to receive the touch event. I located the bug and put the wait command . You can change the wait command to .5 so it will be faster.

    I could bypass the bug with a variable but wouldn't have time to explain it. I am working on something now, Let me know if it works for you.

  • Just saw your reply ,Ok I will fix it give me a minute.

  • DOne with only one event

    http://www12.zippyshare.com/v/KDvjBvHF/file.html

  • > I get the idea that it is more of a language barrier. Are there tutorials in your language on youtube ?

    >

    > You are a graphics artist, you are probably more a visual person. Once seen, always able to see it back in your mind.

    >

    Yes maybe, i have no tutorials in my own language "tamil". i know how to speak in english but have to study the cs technical terminologies.

    Just go a bit slower when following tutorials on the tutorials page. Most of the time you will run into problems if your trying to go to fast with learning. Even though this software makes it easy to make games, you still have to practice a bit before you can make a full game. What type of game are you trying to make?

  • Thats alot of work and before you begin to approach this you got to make a few 2-3 smaller games implementing what you want to do in your bigger game. Just know a Pokemon type game would take a long time to make. Honestly there are larger game types that I know how to make , but I don't do it because it would take a long time to do.