hazneliel's Forum Posts

  • Just updated this to have all latest scirra functionality up to Release 191.

    I still think my implementation of hold jump feels better, no offence Scirra.

    Also

    Changes in version 1.5

    -Added functionality to enable or disable Wall Jump as requested

  • Emitter

    This behavior just spawns an specified object a bunch of times within an specified range. I use this to create explosions like when you destroy Robotnik in Sonic the Hedgehog, or to spawn a bunch of sprites.

    Demo Here

    I did some search for someway to spawn multiple objets as sprites, first I looked at the Particles object but that one only spawns images.

    After not finding anything I decided to write this emitter that would enable me to spawn any object.

    If you think you can help me pls do it and send me an email or post on the forum thread in Scirra´s site

    Emmiter

    Demo Here

    Download Here

    Demo Project

    Check my Platform Plus Pluggin

    Added on version 1.1

    • New icon from somebody
    • Repeat count with onFInished trigger
  • Why on an iOS Phonegap build when I play it, and I bring up the tray bar as Im playing I can see in the player the current bg music of my game, it shows in the title something like "file:///private/var/mobile/Containers/Bundle/application/ADBC-6CA7-..../myGame.app/www/media/nameofthesong.m4a"

    And I can even pause it and fast forward it.

  • I havent found a solution for that ugly loader, what I could do is change the images from the construct logo to my own logo, the blue bar is still there but I think I can change that after the build just modifiying the css.

  • Why is my custom loading screen not working? I did exactly as the tutorials but the first screen I see is the one with construct´s logo

    [attachment=0:2prte8zp][/attachment:2prte8zp]

    then a split second later I see my loading screen working well.

    Why am I still seeing this construct´s logo loading screen?

  • Is this also an issue with a phonegap application?

  • First you need to check for 2 points in a time interval, for example, save the drag starting coordenates, then after some interval save the current drag coordinates and repeat this until the end of the drag.

    You will always have 2 points, then use the angle(x1, y1, x2, y2) expression which returns the angle between 2 points, you will need to assign that angle to your object in every iteration while its dragging.

  • So whats the workaround for this issue? I have to update to Java 7 or to Java 8?

  • What I did is to have a global variable called difficultyFactor, I incremented it every amount of time, then I used that factor to increment speed or anything I need to increment.

    ex

    Lets say:

    difficultyFactor = 0

    regularSpeed = 100

    Then in my game sheet:

    Speed = regularSpeed + (regularSpeed * difficultyFactor/10)

    This wont modify the speed because difficultyFactor is 0 at this point, then after some time:

    difficultyFactor = 1

    Speed = regularSpeed + (regularSpeed * difficultyFactor/10)

    This will increment the speed by a decimal fraction giving us 110 for speed

    You can play with those values.

    Also I needed to spawn some enemies at a certain difficulty, so I just did:

    if (difficultyFactor > 5) spawn Enemy

    I hope it helps

  • Do I have to incorporate the full browser plugin just for that? Isnt there a better way, like a phonegap object??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you, I will give it a look

  • Is there a tool for bending an sprite using a skeleton, Spriter lets you import different images so you can create a full skeleton of it, but what I need is be able to bend the sprites around some pivot point This will be used for example in hair and cloth movements, also on small movements like idle animations.

    Is there a way?

  • Option 1 & 3, Never destroy objects that you will reuse in the level, creating a object is very time consuming and can affect your performance.

    I recomend you to move them outside boundaries so webGL doesnt render them, then disable any collisions or phisics applied to them so the cpu doesnt have to calculate that

  • Also you could disable collisions on the object when it collides with the boss, this way it will only collide once with the boss.

  • With a phonegap game, how can I know in what device it is running, Android or iPhone, iPhone or iPad, screen size and all that

    Thank you