jatin1726's Recent Forum Activity

  • Hi this is wonderful game man. Really enjoyed. Can u share a tutorial that how to create this type of game? or can you share capx file for this so that i can learn from it.

  • Pokémon Go use Google Maps API...

    check rexrainbow google map plugin&behavior

    Hi ,

    I am aware that Pokemon go uses google map api...but the floor image they use is custom green which doesnt show place names etc. How to do that? what logic is used to create that floor image.

  • thanks a lot guys...it works nicely. But how to display the distance in a map.... can we create a custom map ? for example: pokemon go created own map with green colors. is that possible?

  • Guys, I understand and respect the concern raised but I think there is no feature in construct 2 to contact developer + wanted to make aware that this bug can cause issue in their project. THanks anyways guys.

  • Problem Description

    Rex media plugin has bug that turns captured rear camera images to black. The reason is plugin allows image file less that 2.5 mb only. if image file is bigger it turns it into black. This issue doesnt happen when construct 2 inbuilt user media plugin is used for camera.

    Attach a Capx

    can be tried with rex plugin sample capx

    Description of Capx

    open rex media input plugin sample capx and try to capture image from rear camera

    Steps to Reproduce Bug

      open camera try image capture from rear camera dont try front cam it will work fine.

    Observed Result

    image turns black.

    Expected Result

    sprite should we able to display correct image instead of black image

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    windows 10

    Construct 2 Version ID

    r233

  • Haversine formula ?

    [quote:30ofq63l]Haversine formula:

    a = sin²(?f/2) + cos f1 · cos f2 · sin²(??/2)

    c = 2 · atan2( va, v(1-a) )

    d = R · c

    where f is latitude, ? is longitude, R is earth’s radius (mean radius = 6,371km);

    note that angles need to be in radians!

    Radians = Degrees * PI / 180

    JavaScript:

    var R = 6371e3; // metres

    var f1 = lat1.toRadians();

    var f2 = lat2.toRadians();

    var ?f = (lat2-lat1).toRadians();

    var ?? = (lon2-lon1).toRadians();

    var a = Math.sin(?f/2) * Math.sin(?f/2) +

    Math.cos(f1) * Math.cos(f2) *

    Math.sin(??/2) * Math.sin(??/2);

    var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));

    var d = R * c;

    Thanks a lot..but im just starter with construct 2..c.ant understand so much math. any simpler solution will be big big help. thanks in advance.

  • Lat. and Long. are not in meters. They are in degrees or other units.

    yes how to convert them to readable form and use it to calculate distance between two points?

  • Gigatron son when do you have time to sleep & eat?

    I am availalbe on mail ...

  • I have similiar problem long time ago. I have HD camera in my laptop and always camera show 640x480 resolution.

    i find right drivers and problem goes away

    Hi Friend, I am using this in mobile device with full hd screen resolution (one plus 3)so it has no driver issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    COnstruct 2 camera can never be open in 1280x720 dimention. It always open in 640x480 only even if you make it 480x640, it will open in 640x480 mode only, as a result pic captured is never good from construct 2 camera.

    Attach a Capx

    webcam template of construct 2 can be tested. No need of new file.

    Description of Capx

    webcam template of construct 2 can be tested. No need of new file. Try to change user media size to 1280x720 and read it with already defined template code. It always say 640x480 only.

    Steps to Reproduce Bug

    webcam template of construct 2 can be tested. No need of new file. Try to change user media size to 1280x720 and read it with already defined template code. It always say 640x480 only.

    Observed Result

    webcam template of construct 2 can be tested. No need of new file. Try to change user media size to 1280x720 and read it with already defined template code. It always say 640x480 only.

    Expected Result

    1280x720 camera could be opened.

    Affected Browsers

    all browsers

    Operating System and Service Pack

    windows 10

    Construct 2 Version ID

    r233

  • Never Mind. Got it working. Thanks for the inbuilt template for camera. It really helped.

  • jatin1726

    You are no need .capx file it's easy to include this fx on your crazy;

    1- start new project

    2- insert sprite object

    3- assign fx seascape to this sprite

    4- run your project ... that's all

    Thanks Gigatron for such quick reply. But I want to ask that like there is slider which changes effect values. How to get it. Can I get .capx of that?

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