matrixreal's Forum Posts

  • Hello guys,

    How do i display time and date but like this

    Friday, December, 11 2020 and time like 3 pm ?

    Thanks

  • try to use cordova flashlight plugin

    it worked for me

  • use cordova flashlight plugin

    i use it for several apps using construct 2

  • any help guys?

  • Hello guys,

    I need small help i know i'm very bad in javascript coding

    i want to detect the ios version if it's higher or equal to ios 13 on cordova

    i found that using the device plugin github.com/apache/cordova-plugin-device

    Get the operating system version use : var string = device.version;

    that will return "10.2" for example

    how to perform that checking to doing something

    if device.version >= 13

    // do that thing

    else

    // do another thing

    is it correct ?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • to test admob ads use test id

    and then use yours and publish

    wait 24h and your ads will work

    it's like that all fresh adunits created by admob need time to serve ads and also admob need published bundle id to serve ads too

  • anyone can do it ?

    thanks guys

  • same here

  • Hello,

    I was wondering if it's possible to create a talkie walkie game using construct ?

    Any ideas guys?

    Thanks

  • Hello,

    Anyone can appodeal sdk to cordova or construct plugin?

    paid of course

    Thanks

  • You can do it with three variables vx, vy, and t. t is the number of seconds you want it to take to hit the player and vx,vy are the horizontal and vertical velocities we will calculate from t. anyway the arrow launch will look like this:

    create arrow at (enemy.x, enemy.y)

    t = 1

    vx = (player.X-enemy.X)/t

    vy = (player.y-enemy.y)/t-arrow.Bullet.Gravity*t/2

    arrow: bullet: set speed distance(0,0,xv,vy)

    arrow: bullet: set angle of motion to angle(0,0,xv,vy)

    https://www.dropbox.com/s/68mhi9hrwsjf7fl/bullet_proj_calc.capx?dl=1

    great ... thanks

  • Don't know if that helps. It calculates only the distance for the same height (y.coordinate are the same) of player and enemy.

    Thanks a lot for your reply

    but you misunderstand me probably because of my bad english

    the blue object (player) never change position

    the yellow object (ennemy) is changig position and spawning an arrow (bullet with gravity and speed)

    i want to manipulate those (gravity,speed) in order that the arrow colloide everytime with the player (blue object) even if the ennemy (yellow) change position.

  • Hello,

    I have an object (enemy) wich change position ... and evey X seconds it spawn an object to another position (player).

    i want to create a sort of IA that calculate the angle, gravity and speed of that spawned bulet to colloide another fixed object

    Here is what i have done but i can fix it

    easyupload.io/q6ndla

    Help will be much appreciated ... thanks

  • Try it with distance that should be easier and you have to destroy the line on start of layout otherwise the first click goes out of view.

    you saved my day ... thanks ... thanks a lot

  • Hello guys,

    How do I draw a line that follow the angle of the touch?

    Thanks

    i got some small bug on my capx there is always a little line that goes beyond the touch zone

    easyupload.io/1femlm