NN81's Recent Forum Activity

  • Hello!

    I am creating Android Game using construct and cordova , the first app is generated (apk file) correctly without problems, but when I try another app (the same one but different name, I keep getting this problem while using Cordova

    The error I get when typing this code in Command prompt

    cordova build --release --device android

    How can I solve it ? Thanks in advance

    i don't think this is the correct section to discuss this..

    anyway..

    on building apk from Cordova CLI, usually i follow this process:

    1) cordova create PROJECTNAME

    2) cordova platform add android

    3) "cordova build android" (or "cordova build android --release" with signing apk process)

    NB between points 1&2 i export my game and copy content in PROJECTNAME folder, but i use a particular method to export that i can describe easily

  • Ok so during this boss fight, if I destroy the right gun first the health bar over the left gun dissapears. If I destroy the left gun first the healthbar on the right gun stays fine, I've looked over it and over it and over it again and just can't see what i've done wrong that would cause this to happen on the right gun being destroyed first. I've highlighted the section of code that controls the gun health section but have included the whole block of code for the boss in case it's needed.

    look at this code everything seems ok.

    check it out well all objects name, variables and image points, or post a .capx

    because there are so many things that can affect the problem and from the piece of code can not be verified

  • You do not have permission to view this post

  • Hi, im working on a game where i have to build a tower of block. im using the portrait format and i want to the screen to move upwards when the blocks has reach the height of the screen. I also want the other item on the screen to move upward at the same time. Any idea how i can do that?

    here is the link to the capx: https://drive.google.com/open?id=1TaDnp ... 2GOPYVoW9E

    have you tried "scroll to" behavior?

  • so, I made a new layer on a layout and for some reason half of the objects in that layer wont appear when that layer is triggered, it just leaves the space blank for some reason? even though the objects aren't transparent, and they are all set to be visible always? any help please?

    look at layer properties and set trasparency to "YES"

  • Hi,

    I don't know what name this effect's. How can I do?

    this is a sort of "wake effect", take a look on WebGL fx, maybe you find something useful..

  • can construct 3 free version ,convert html5 from construct 2 to apk ?

    i know that C3 can open C2 projects, and also build apk.

    but.. html5 is an exported "format", not an openable project..

  • > In that case i think you can use "For Each" action, for change all object instances variable in one time

    >

    Thanks NN81. But could that work in my case ? Because every instance have a special variable number.

    Exemple :

    UID 25 = variable 2

    UID 32 = variable 5

    UID 34 = variable 4 etc...

    > If you destroy the sprite and create it again then it will be created with the default values. That's a way of refreshing it if it's an applicable method to your game.

    >

    Thanks plinkie. I thought about that, but in my case the instances must stay in the same position (no reset x and y)

    Anyway... Perhaps I may have to find another way to do what I want.

    you have to make a new instance variable for all instances with default values, then just for each set other variable to copy values, i have just tryed with three instances player box with different initial HP, and work fine.

  • Thanks Alex Kidd

    Yes, I remember initial default values, but I have a lot of instances of the same object. So there's a lot of "pick by unique ID" + "set value" to do...

    "Pick all instances" and "reset to default value" would be faster ^^

    So I will do this option : Change the values for each instance...

    Thank you for your answer.

    In that case i think you can use "For Each" action, for change all object instances variable in one time

  • Hello,

    So I'm making a Platformer for a class and I'm using an Alucard spritesheet for my character. He has a hitbox which all movement mechanics are tied to. I'd like to apply a turning animation for when he switches directions (or switches from mirrored to not mirrored and vice versa). I'm having difficulty programming this. Any suggestions?

    better if you post a sample .capx

  • Hi!

    Is there an action to restore the default Initial Variables of a Sprite ?

    Like the action "reset global variables", but just for a Sprite 's instance variable.

    Thanks

    if you remember initial default values you can directly set current value to initial values, otherwise you can do this "indirectly", make a copy of original values of instance variables and when you want to reset them, set current values to original "copy" values

    Example:

    "HP" = 500 (original value) -> "HPcopy" = 500 ( the copy)

    current HP is 700 and you want to reset initial value

    at your condition -> set "HP" to 500 (directly)

    otherwise,

    at your condition -> set "HP" to "HPcopy" (indirectly)

  • Hey, good people!

    I have two questions about adding the music into the game. First - is there a way to continue the music theme after the character died and the level restarts?

    The thing is that in my game the new players will most likely "die" multiple times in a row and I don't wan't them to be annoyed by the constant restart of the music theme, tied to this level.

    And the second question - let's say, I have one music theme tied to three themed levels. Is there a way to continue the music after level transitioning?

    Should I make separate event sheet for the music and add it to every level's event sheet and somehow tie the music to the global number which states what level is now?

    Thanks in advance!

    by default a music still playing ever after changing layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
NN81's avatar

NN81

Early Adopter

Member since 9 Feb, 2017

None one is following NN81 yet!

Trophy Case

  • 7-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies