NN81's Forum Posts

  • This is the first time I've added Gamepad support to a game so sorry if this is a dumb question.

    Here is the code I added:

    The angle that the player is faces is either in the direction they are moving with the left stick or the direction they are aiming at with the right stick (top down shooter). The challenge I'm having is that when both sticks are idle the player instantly faces right at 0 degrees which can appear robotic. What can I change or add so that when the controls are idle the player remains facing toward the last angle that they were at?

    do a try changing this setting in 8-dir behavior properties to 45 degree or 360 degree smooth

  • Hello All!

    I wanted to rotate a Rectangle Clockwise which has different colors, on every click it change its angle like

    On touch object----> Rotate 90 degree

    if touch 2nd time so rotate to 180, and then to 360

    How can i do it by touching an object and rotate to every angle clockwise like in this link

    http://tanksw.com/impossible-rush/

    Thanks for help!

    it's very easy to do,

    on object rectangle touched condition -> set angle -> self.angle+90

  • Try Construct 3

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

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

    > > Hello! First time using Construct and I'm very very confused.

    > >

    > > Basically I have this https://imgur.com/a/LHi8o (please excuse my poor paint skills) and I want the clock's hands to spin when they're being dragged, but I have no idea how to "anchor" the bottom of the arrow so that they spin on their own axis. And also i want some text popping up when the arrow is pointing at a year. But i have no clue how to do any of that

    > >

    > > PLEASE any help would be appreaciated, this girl is lost <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

    > >

    > hi, what method do you want to use to drag them? click and hold to move?

    > anyway, a starting point is to put the origin point of the hands sprites at their beginning that coincides with the center of the clock.

    > then setting the angle of hands sprites towards the mouse cursor if clicked ( if you wanna do using mouse)

    >

    Yes! I do indeed want to click and hold to get them to move along the center of the clock. I get what you're saying and im very thankful for your reply BUT I don't exactly know how to put that in the program. Would you mind telling me a little more specific what to do?

    i've made this quickly .capx using your asset, take a look into events for understand how to do.

    https://drive.google.com/open?id=1_s8c6 ... s80RPD5gz-

    EDIT .capx is in C2 maded but you can use on C3 without problem

  • Hello! First time using Construct and I'm very very confused.

    Basically I have this https://imgur.com/a/LHi8o (please excuse my poor paint skills) and I want the clock's hands to spin when they're being dragged, but I have no idea how to "anchor" the bottom of the arrow so that they spin on their own axis. And also i want some text popping up when the arrow is pointing at a year. But i have no clue how to do any of that

    PLEASE any help would be appreaciated, this girl is lost <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

    hi, what method do you want to use to drag them? click and hold to move?

    anyway, a starting point is to put the origin point of the hands sprites at their beginning that coincides with the center of the clock.

    then setting the angle of hands sprites towards the mouse cursor if clicked ( if you wanna do using mouse)

  • I want to make my game so that the player has an option to choose between controlling with the arrow keys and WASD keys. How can I do this without making it so both control methods can be used in the levels?

    first of all Disable "Default controls" on the behavior options (this avoid using automatically arrow keys), then you have to put a choice into the game, if Player choose WASD or Arrow Keys you can set a Variable to 0, then if the Player choose WASD commands you set this value at 1 and accordlyng you have to program movement to WASD, if is 2 use arrow keys to simulate controls.

    just need a variable.

  • After several days to know why 95% of my sounds did not load and why no video load, except after reloading the page, here is the solution: disable the "Preloads sounds" in the properties of the module.

    And everything works now.

    me too i have experienced some issues due to "preload sound" activated on project options, in that case you should be able to preload sound manually safely by event action.

  • Hello! I have a problem. I want to export files to construct3 from c2. But when I do this I found that in c3 the pixels are crookedly joined in coordinates. This can be solved if you do not use whole coordinates. I would like to avoid this.

    Below are the first two pictures with c2, the second two with problem c3.

    Tell me, please, the solution!

    i'm not sure about understand problem but i have noticed that sprite sizes are different from C3 and C2 photos, if size change then change everithing.. origin point, position and pixels.. i have also noticed that you have compared a Sprite14 with a Sprite15.. this is strange.. anyway.. maybe this can adress you in something useful, i hope so ^^

  • Hello,

    I have released 2 games, both using cocoonio and both using unity ads with the cranberry plugin. Both working as intended. I even did a update on both games like 3 months ago or something.

    Now I would like to start beta testing my third game. However ads don't work properly. I am 99% sure I did everything the right way.

    Apparently cocoonio changed something in their canvas+, since more people are having the same problem recently. You can read more about this on here https://forums.cocoon.io/t/unity-ads-cr ... -2/6455/14

    As you may read Cocoonio doesn't respond to most threads anymore.

    My question is what are my options now? How do I release my new game on the playstore?

    try another framework like Cordova CLI, or Construct3 apk builder <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • I have posted previously about this topic and still haven't found a fix

    On my Endless Runner i have the play and the blocks as solids. But sometimes i still pass through the randomly generated blocks (platform) It seems to happen when i jump (i have double jump enabled also)

    Surely having the player and blocks solid i wouldnt be able to pass through them? It only happens hitting the side of the block platforms

    Still cant find a fix for this. Apart from this my game is all done!

    Thanks!

    many things can influence this problem, can post a .capx?

  • So i'd like to count the average and highest collison checks / sec, but didn't see an expression to measure collisions. Am i missing something?

    Thanks!

    well, you have "on collision" condition trigger and variables, and "time" conditions, "timer" behavior.. so i think you can do it easily.

  • dop2000 NN81 wizdigitech

    Aha! I see it lol, it's there in the code the left gun Y is set to Right gun Y just too much time looking at RG LG lol maybe in the future it will be better to put a few more letters in there to differentiate and better spot stuff like that

    thank you all for your help it is most appreciated!

    AAARRHHRRHHGHHH

    i miss it

    sorry

  • Hello mates;

    A while ago I needed a popup that would go in and out of the screen horizontally. But not so simple, the popup would have (hand-made) SlideBars and keep their values as it goes in and out. Fortunately this heroes showed me how to do it here:

    how-do-i-hold-an-object-position-inside-another-object_t196243

    And this was beautiful. Made me very happy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    With all this help, I'm finally starting to make cool things on my own. Very grateful for this community!

    Ok;

    Now I wonder how to save this SliderBar values when I change layouts?

    Here's an example; Notice that is all working fine, the values still the same as the popup moves, but when you change the layout obviously they will be back to default:

    https://www.dropbox.com/s/83xcpls4gv094 ... .capx?dl=0

    I would like to change the layouts and keep the SliderBar's values, I'm shure there's a simple way of doing it, but just can't figure out. <img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question">

    Thanks in advance for your time and suggestions.

    persist behavior?

  • 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