superkew's Forum Posts

  • What you could do is make the layer invisible for the first second and then let if fade in. Would be a way around the cocoonJS drawing to the different canvas on load.

  • For reference for those who see this post and don't get the capx.

    <img src="https://dl.dropbox.com/u/19625130/ScreenAlign.JPG" border="0" />

  • I just saw the bug in your code. If the variable doesn't match the function, you need to reset the variable correctly.

  • It seems to work for me. Let me know if it works for you?

    dl.dropbox.com/u/19625130/AlignBlocks.capx

  • I'll see if I can make a sample for you.

  • Yes, they are global variables.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Remember that you should use a layer that doesn't use parallax for the viewport function.

  • You need to use the viewport functions.

    CocoonJS adjusts the screen for a few ticks, so best is to check if it has changed and if it has then set the positions again.

    On start of layout:

    <img src="https://dl.dropbox.com/u/19625130/C2_scWscH.JPG" border="0" />

    Then set your x,y of the images to (0,0); (0,ScreenHeight); (ScreenWidth,0);(ScreenWidth,ScreenHeight).

    Then every tick you have a condition to check if the variable is still equal to the viewport function.

    if it has changed then redo this:

    Then set your x,y of the images to (0,0); (0,ScreenHeight); (ScreenWidth,0);(ScreenWidth,ScreenHeight).

  • cesar - to test you app, no mac needed.

    cocoonJS launcher works great on iOS and on Android - all you need is the exported zip from C2. Usually you need a paid version if you want C2 to export the zip for you, else you can make the zip yourself with a bit of effort.

  • Very nice link Havoc, I like that concept.

    Blinx123 - but to upload the archive to the app store. Can you do that without a Mac? I don't think there is a way around it, other than a cloud mac.

    I got myself a mac mini to submit my games, nice and easy.

  • As far as I know, the only way to upload your archive to the app store is using xcode.

  • labithiotis, have you submitted a game to the app store using cocoonJS, and without using a mac?

  • It's easy with CocoonJS. But you need a MAC.

  • Free version on Google play!

    Working on the paid version...

    Rhino Hero Free

  • Link to .capx file (required!):

    NA

    Steps to reproduce:

    1. Open C2

    Observed result:

    Error message

    Expected result:

    No error message

    Browsers affected:

    Chrome: NA

    Firefox: NA

    Internet Explorer: NA

    Operating system & service pack:

    Win8

    Construct 2 version:

    r118

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    ACE table: Expression ID duplicated in ACE table

    Condition: exp_ids.find(id) == exp_ids.end()

    File: c:\c2\source\exporters\html5\..\..\common\ERAHelpers.h

    Line: 254

    Function: void __cdecl era::ACETable::AddExpression(int,int,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,void (__cdecl *)(const class era::StaticResult **,int,class era::StaticEvaluation *))

    Build: release 118 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort   Retry   Ignore   

    ---------------------------