saadat68's Forum Posts

  • 13 posts
  • any news???!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I got the warnings too

  • sorry

    see this topic now

  • Hi

    How to fix apps with Apache Cordova vulnerabilities.

    Please migrate your app(s) to Apache Cordova v.4.1.1 or higher as soon as possible and increment the version number of the upgraded APK.

    I searched in forum but can not find a way to solve my problem!

    I use 5.1.1 CLI so what is the problem ?

  • Why not follow the answer you already got, because it's a good one..

    I cant create it can you create a sample for me ?

  • need a help

    Thanks

  • Hi

    I am new in construct 2. Can anyone create a sample project to create hills with this instruction( no plugin needed)

    I cant create it. please send a sample

    Thanks

    What have you tried so far?

    Minus the graphics, can you make that slope there with collisions?

    One way often used is to use multiple sprites to define the slope. So say you have a circle sprite you could place them in a row on the grass level. More advanced ideas would be to stretch a rectangle sprite from circle to circle to make the surface smoother.

    Anyway, to make the slope continue you just add sprites to the right of the last sprite.

    In the simplest case you can do this:

    Global x=0

    Global y=0

    While

    compare: x < screenleft

    --- set y to 100*sin(x)+320

    --- create sprite at x,y

    --- add 32 to x

    The "set y" expression is how your slope is defined, and you can do anything with it. Some examples:

    100*sin(x)+320 is just a sine wave

    100*sin(x)+50*sin(x*3+22)+320 is two sine wave combined to make a varied slope.

    (noisejs.perlin2(x*0.44, 0.5)+1)*100+320 uses the noise plugin to use perlin noise.

    Noise plugin:

    terrain examples:

    R0J0hound

    IsPra

  • It seems that setting the speed to negative only works if the setting 'set angle' is disabled or that the object that spawns the bullet has itself an angle of zero. Don't know if this is a bug.

    If you want that your bullet flies in the opposite direction that the object is facing you need to turn the object that the bullet spawns.

    you could use in your second example: 'Sprite| Rotate 180 degrees (counter-)clockwise' when the condition triggers where you want to shoot the bullet in the opposite direction.

    Thanks solved

  • Make the speed negative. In your example -400.

    Thanks

    Problem fixed in sample file

    But I cant fix it in my main project

    please see it

    iranbm.com/saadat111.capx

    is this a bug?

  • Hi

    I want reverse moving bullet in spawn action. How do it ?

    It moves to right but I want move to left without any angle

    File:

    iranbm.com/sample1.capx

  • How do I integrate the "Heyzap" ad network?

    Or if anyone can write an extension to do this, please PM me!

    Hi,

    they already has a cordova tutorial

    so just add their plugin in intel xdk and to call show banner / interstitial / hide banner use js call

    Hi

    Can you say what is js call for example for heyzap interstitial ?

  • Thanks

    solved

  • Hi

    Please see these images:

    What's wrong? How I can fix it?

    download my project from this address:

    iranbm.com/saadat.capx

  • 13 posts