PixelPower's Recent Forum Activity

  • Hello All,

    about a year ago I was wondering wether or not to buy the full Construct 2 license and after I rad forums about the slow performance of construct 2 on mobile devices I decided to wait a bit.

    Now I bought the full version made a simple small game (not heavy at all) and its extremely slow on some devices.

    Is there a fix to this problem?

    Maybe the problem is elsewhere... I used few particles (3) could it be that fatal?

    What will happen if Ill make a much bigger game?

    Let me know your thoughts and experience about this.

    Thanks

    I invite you to view my tutorial here mobile-optimization-tutorial-version2_t181811

    And if you have any questions please ask them. But can you be more specific about the issue like

    1) What type of game is it?

    2) How many objects moving onscreen?

    3) Did you have scrolling background?

    4) Are your graphics jpg or png?

    Then we can help you on your quest to make better running games. Also I did make a space shooter with 25+ enemies moving onscreen with no lag for android . You can try it here https://play.google.com/store/apps/deta ... t.ad&hl=en as proof that I do know how to optimize pretty well!!

  • Hey PixelPower

    I'm currently making my own exporter and plugin for Electron. I got better performance on it. I discuss about it on my Discord server. To join it, click on the link in my signature. Just mention me on Discord thus way I can know it's you

    Ok cool I mainly make android games but was thinking about desktop versions of my game too. If you can get it to work correctly, that would be awesome!!

  • Yeah I used to have a similar problem. Then I would start the artwork for most of the game 1st, then program later. Reason is when you do both back and forth, for some reason its mentally tiring that way. As far as game types , look at the games I made in my signature aim for those types of games.

  • Thank you very much PixelPower,

    I changed the wait to zero seconds and it still worked fine and fast.

    I also tried the same with a "mouse" object instead of the "touch" object and it was the same.

    Is this a bug or is it the way the system works? I am new at this so I don't want to report something unless I know for sure it is a bug rather than a misunderstanding of the way the system works.

    Thanks again

    No need to report something this small, plus you got a fix . I am glad you where able to get the effect you wanted in your game. I f have any other trouble's try to solve and if you can't post here so someone can help you. Good luck on your game!!

  • I love that this makes getting the basics of a game done very easy. I love that there are 100's of tutorials that show how to use every aspect of Construct2. I love that the developers give constant updates in line with our needs. I love that in the forums many users help the newbies learn Construct 2. I love that the moderators keep this place spam free!!I love that this year we have had an awesome year on Android and IOS with our games being feature on the front page!!

    I am making this thread to show the developers and moderators of Construct2 that we do notice the efforts they put forth daily, even if users complain a little too much sometimes. So lets keep this thread positive.

  • Are you putting that directly into C2?

    No of course not that how you code it in straight HTML games, not C2. I am saying I wish it was that easy.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

PixelPower's avatar

PixelPower

Member since 31 Jul, 2014

Twitter
PixelPower has 4 followers

Trophy Case

  • 10-Year Club
  • x4
    Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies