rob's Forum Posts

  • Arima,

    I Got your point but its urgent and no body know the ans so I m asking in here sorry for multiple threads but did u know the ans of this question..

    yes its c2rutime.js code where touch event is working fine but I have a another js file where i want to add the c2rutime.js for touch event . I wanaa to add addEventListener in single image so can you tell me how can i do..............

  • zenox98

    COZ its urgent and no one know the answer of this question

    do you have any idea ?

  • Any One can you told me how to get the image from canvas and add event on that image

    means

    [ "t2", cr.plugins_.Sprite, false,

    [],

    0,

    0,

    null,

    [ [ "Default", 5, false, 1, 0, false, 6056448206965757, [ ["images/sprite2-sheet0.png", 155, 0, 0, 250, 250, 1, 0.5, 0.5,

    [],[],1]

    ]

    ]

    ],

    [ ],

    false,

    false,

    1137731541052407,

    [],

    null

    ]

    , [ "t3", cr.plugins_.Touch, false, [],

    0,

    0,

    null,

    null,

    [ ],

    false,

    false,

    8636152857696988,

    [],

    null

    ,[1]

    ]

    , [ "t4", cr.plugins_.Sprite, false, [],

    1,

    0,

    null,

    [ [ "Default", 5, false, 1, 0, false, 9050402499563591, [ ["images/sprite-sheet0.png", 155, 0, 0, 250, 250, 1, 0.5, 0.5,

    [],[],1]

    ]

    ]

    ],

    [

    [ "Sine", cr.behaviors.Sin, 8447855769118502 ]

    ],

    false,

    false,

    1421800220649511,

    [],

    null

    ]

    in this array I have two images...

    and want to add touch alert event on "sprite2-sheet0.png" object so can you tell me how to add addEventListener js on that images

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Knifegrinder,

    I follow your instruction, and working on GaneClosure simulate, but when I checked index.html(file path: MyGameName\build\debug\native-android) file in browser, it working on there and firfox'firbug show me

    SyntaxError: illegal character

    ...te _;return function $$src_c2runtime(){// Generated by Construct 2, the HTML5...

    and in browser it show me black screen...............

    and I build it for .apk

    with the help of this code( basil install native-android).

    and run it on my google nexus 5 phone just show splash screen.......... so can you tell me where is the wrong........

  • spy84,

    github.com/bubbleboy14/scblaster/wiki

    I have check it and test it on GameClosure's simulate, it show me error(

    " an uncaught error

    occurred

    uncaught InvalidStateError:

    An attempt was made to use an object that is not or is no longer usable "

    }

    so please tell me where is the wrong, I also check it build/debug/native-ios/index.html

    but also didn't work on browser..... in firebug it show a error

    " SyntaxError: illegal character

         

    ...te _;return function $$src_c2runtime(){// Generated by Construct 2, the HTML5...

         

    native-ios.js (line 427, col 60) "

    so please check it.......

  • mrborcho

    Can you share .capx file that is easy to understand your code and faster to resolve your problems

  • flaye

    It is cool but how it work on touch event i Changed mouse event into touch but after that it didn't work properly..... so Any Idea

  • chrisbrobs

    Link is not working so can you again upload it in dropbox..

  • bon4ire

    Do you have any solution for your own question because I m also get the same query. I changed all mouse event into touch event after that ball is not launching..

    Do you have any idea how to resolved it............

  • Noga,

    Thanks, But can you increase the Enemy Speed ?

  • Kyatric

    Hi Kyatic thank for sharing scrolling but there is one issue that slider not sliding smoothly ...

    so you have any idea how to work it smoothly

    Thanks

  • zatyka,

    Thanks,I have spend two day after I got your post and resolved my issues so thanks