jatin1726's Recent Forum Activity

  • jatin1726

    rbailey83

    Here you go:

    https://www.dropbox.com/s/z3p1atzbqnz95 ... .capx?dl=0

    Thanks a lot. It works as expected.

  • Anyone plz? help me

  • Hi Friends,

    Can anyone tell me correct resolution to fill the mobile screen in portrait mode? right now black portions are available on top and bottom and game size i am using is 540x960 letterbox. I am using cocoon to create android apk. I have read all the tutorials in construct 2 but nothing filling the screen in portrait mode.

    Please help.

    Regards,

    Jatin

  • I Agree with you shubhamrathi. I have paid for the licence but all the features are missing fg login , google login scoreboard. We have to depend lot on additional plugins to get the work done. Please Ashley look into this.

  • me too looking for the solution but no success till now.

  • You can't do this with standard C2 events, but it's possible with JS code.

    Here is a somewhat similar plugin that detects faces in images.

    viewtopic.php?t=72970&start=0

    https://github.com/JohnnySheffield/C2_P ... facedetect

    If you are familiar with JS, you can probably modify this plugin for color detection using tracking.js library from the link you posted.

    I already got facedetect plugin but due to no knowledge of JS I can't modify the code to detect colors in camera. If you can help me out in this that would be really great.

  • > Hi, you don't have to detect a color to do what you want. You can simply detect a specific object which happens to be red. There are several ways to accomplish this:

    >

    > - If the red object is an independent object it can be simply detected by its name

    > - If the red object is a clone of an existing object you can give it an instance variable Red = 1, Red = 0 for other objects

    >

    > Next for the detection area, if it is the entire area there is a "is visible" feature that you can use and/or right click on that after adding and click Reverse which then means "is not visible".

    >

    > Another way is to detect using the distance from the camera object. So if it is within say 300 pixels then you consider it detected. A simple distance formula should easily work for this.

    >

    > Best of luck,

    > COSMOS

    >

    I believe he's talking about an actual, physical, object he wants to be detected through the actual image capture of an actual camera. Not the game camera, not a sprite, virtual, object. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Hi Bruno. thanks for replying and Yes you r correct. I am trying to detect color in real time video. Here is sample of what I want to do

    https://trackingjs.com/examples/color_camera.html

    Steps

    1 open camera

    2 select colors from check box that u want to get detected and then u can see it shows boxes of detected color.

    Can we do like that in construct 2?

  • Hi Friends,

    I need help in creating a game using construct 2 camera. When user opens camera and any red color object is seen through camera. It will show a sticker. So whole idea is camera should detect color and do something. How to do this?

    I am trying to detect color in real time video. Here is sample of what I want to do

    https://trackingjs.com/examples/color_camera.html

    Steps

    1 open camera

    2 select colors from check box that u want to get detected and then u can see it shows boxes of detected color.

    Can we do like that in construct 2?

    Regards,

    Jatin

  • Glad to help.

    How to stop the scrolling when last box is displayed on the screen and user can only scroll back not forward? can u show us how to do this?

  • Try Construct 3

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

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

    I Need help in taking iframe snapshot (which is loading any website for ex) and display/load that snapshot in a sprite. Currently construct 2 cannot take iframe snapshot which is external component and not a part of canvas. Can someone provide me solution & help? iframe plugins are available free.

    Regards,

    Jatin

  • ..maybe you can start from here..

    ...you need to use some javascript(in capx)+ Textbox+Dictionary(or Array)+ LocalStorage....

    basic_c2_calendar.capx

    Thanks a lot. Will try to work with this capx.

  • Infinite Subway Surfer template — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/infinite-subway-surfer-template-4002

    <p>This template allows you to create interesting game like subway surfer or temple run. Avoid obstacles by moving left or right or by jumping.</p><p>Well documented capx file.</p><p>(Note: This template uses lite-tween plugin which can be downloaded from this URL easily. scirra.com/forum/behavior-litetween_t70700 )</p><p>Demo link to play the game : ceesty.com/weZJdV%3C/p%3E

    Use this topic to leave comments, ask questions and talk about Infinite Subway Surfer template

jatin1726's avatar

jatin1726

Member since 27 Oct, 2014

Twitter
jatin1726 has 4 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • x25
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies