lukezero's Recent Forum Activity

  • Nobody knows?

  • Hi guys! ^_^

    Why the TiledBackground object I put in the parallax Layer (Foreground) is getting incomplete from the middle of the stage to the end?

    It's worth pointing out that I'm using five layers in my game: HUD (0,0), Foreground (150,100), Platform (100,100), Background_1 (100,100), and Background_2 (50,100).

    Thanks again for the attention and cooperation.

  • Yep, it's easy when you know how! Good luck.

    Hell yeah!

  • Have an event sheet for Character, with all the generic character events. Then on your event sheet for Stage 1, right-click, include event sheet, Character. This Stage 1 event sheet now acts as though the Character events are also in there.

    Thanks, dude!

    This time the solution is much easier than I imagined!!!

  • Yeah 2. Every layout has its own event sheet for stage-specific stuff. Anything to do with characters, inventory, menus, other general stuff can have their own event sheets and be 'included' at the top.

    Thanks one more time for the great help, !

    But how exactly do I do it?

    In other words, in the stage's event sheet, how do I call the player's character routines groups?

  • Hi guys! ^_^

    I'm developing a side-scrolling platform game with several stages and I created an Event Sheet with all of the player's character programming. I know I can assign an Event Sheet to multiple stage Layouts, but I wasn't able to use that Event Sheet in all layouts, since C2 doesn't have a function to call specific Layouts.

    In this case, the correct way to work is:

    1. All player's character groups and routines must be on each Event Sheet of each Layout at each stage;

    2. Just one Event Sheet with the groups and routines of the player's character, connected to all the layouts of each stage.

    Thank you for your attention and cooperation.

  • Well, I'm no magician

    I used the same routines/events/principles.

    Again, sorry to bother you and thanks.

  • It doesn't hang as such, you just have it set to Stop when pushing, which is one frame. There's no push animation.

    In the CAPX that I posted here, but in my game's prototype I put an animation for it and it isn't activated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • , sorry to bother you again, mas but do you have any idea why the character's animation hangs while he pushes the box?

  • Ah yeah sorry I set the speed of the box to 1000 for a test, set it to 40 or something. It does bounce around a bit, can probs be fixed if I looked into it more.

    Thanks, man. ^_^

  • It's because he failed his ninja training and the box is too heavy. Also it's because you have on collision with box which only ever triggers once, when you are pushing against it you have already collided. For stuff like this I use overlapping at offset, that way you can constantly detect when the player is close to the box. The animation can be fixed by disabling some of the Walk animation events when you are pushing the box, at the moment they just override everything and try and walk whenever the player moves.

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

    LOL! Thank you very much, dude! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Just one question: why the box is moved in a shaken way? Can we move it smoothly?

  • Hi guys!

    I'm trying to implement the ability to push objects into my game character (something I thought would be fairly easy), but it's not working well.

    The character pushes very slowly, the defined animation isn't play and after a short time, the character stops pushing the box.

    If anyone can collaborate, I leave here the CAPX for analysis and corrections.

    https://ufile.io/9m53j

    Thanks in advance! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

lukezero's avatar

lukezero

Member since 4 Oct, 2014

None one is following lukezero yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies