shirokuma's Recent Forum Activity

  • The only issue you may run into with caiorosisca's method is if you have a global variable on a different event sheet. Anything using that global variable in the copy and paste wont be copied.

    I guess that could be an issue with my method too if you don't all event sheets, and now I'm wondering how duplicate global variable would be handled.

  • Okay, this is kind of a hack.

    Save the project that contains the event sheets you want using Save as Project... not a Save as a Single File.... Let's call this one Project A).

    In the project where you want to add the event sheets (Project B) create new event sheets equal in number to the amount of event sheets you want to add. Take note of the names of these sheets. Now save this project using the Save as Project... option, but in a different location as the earlier project.

    Change the names of the event sheets in Project A to match the names of the new event sheets in Project B. You also need to use a text editor to change the event sheet names inside the event sheets. Copy the the event sheets from Project A over to the correct folder in Project B overwriting the blank event sheets.

    Open Project B and copy and paste to your hearts content.

  • I modified bankjegame so that it saves the entered text when you hit the Return key. Is this what you wanted?

    I removed a bunch of things from you project so that I could attach it here.

  • Is touching "Red"
        Is not touching "Green" > Do action 2
        Else > Do action 1[/code:imt7tuqw]
    
    If you add the sub condition of not touching "Green" it would mean anywhere in the red area that isn't covered by green.
    
    Here is a demo: (Warning: This file may induce seizures.)
  • Is this what you are looking for:

    https://www.scirra.com/manual/161/persist

  • I messed around with the loader screen for a while but still haven't been able to get it working. It's kind of a difficult thing to debug. The loader screen only displays while the images in your project are being downloaded. So the only way I got it to kind of work was when it was served from a web server, and not from the local preview out of C2. I think I'll let someone that has had great success with loader screens help you this that problem. (Of course I have a need to figure out why it's not working, but that may take a little while.)

    As far as the High Score issue I used the template for Flying along and added in a high score and web storage. I removed all the default comments and added in comments where I changed or added things. I also put all the gameplay code not related to the high score and web storage into a couple groups so that you can easily get it out of the way. So take a look at my example file and see if it helps you out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Using a Family would probably be the way to go.

    The Pin is a behavior. It will basically tie one object to another.

    Here is an example. The red box has drag and drop on it so you can move it around. The blue box is pinned to the red box by position. So it will keep a relative position to the red box.

  • I think the key for my demo is how I set up the collision polygon for the dancer.

    Enjoy:

  • You are correct. You might wan to use something like floor(Object.Angle) to get rid of all the decimal places.

    So:

    System > Every tick : TextObject > Set text to: floor(Object.Angle)

    You could dress up the text with:

    "Current Angle: " & floor(Object.Angle)

    Which would display as:

    Current Angle: 56 (Of course the number would be whatever your current angle is.

    Have a look at this:

  • If she is using a free version isn't there also a limit on the number of layers?

    If that's the case I guess you could use a global variable for an opacity level, and then have a group of code for setting the opacity based on the global variable.

    She might also be able to pin all her high score elements to one of the elements by position. Then she could move the one element and the rest would move with it.

  • Dasat - I had a little more fun with your example.

  • Interesting... Maybe use a Family

    You could have System pick all instances of the Family and preform the same action on all of them.

shirokuma's avatar

shirokuma

Member since 8 Mar, 2014

None one is following shirokuma yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies