brandonmcfee's Forum Posts

  • Thanks for reply. No, actually I'm using a common event sheet included in each layout containing the repeated events. I pause the level at the end of each layout to allow the player to choose whether to restart the level and play it again, or to continue to the next level. In my game, player doesn't move from layout to layout unless he make the action of pressing (continue).

  • Helli every body,

    OK let's say that we have two layouts (levels), layout1 and layout2. when the player complete layout1, the time scale is set to (0) and the level is paused, a winning screen shows up containing two buttons one is labeled (play again) and the other is labeled (continue). when the player clicks (play again), layout1 is restarted and the time scale is set again to (1). but when the player clicks (continue) he move to layout2 but it starts paused and the time scale is set automatically to (0). I tried to fix this by adding this event in layout2 event sheet:

    System-------> on start of layout-------> set time scale to (1)

    and it worked fine. when the player move to layout2 now it starts normally.But when the player complete layout2 the time scale is still set to (1) and layout2 does not pause and the winning screen does not appear!

    How can I fix this problem please? how can I set a different time scale for each layout so they don't affect each other?

    Thanks in advance

  • Thanks. that was really helpful

  • Thanks guys for your great help. But what I meant was that I do need the original layout event sheet because it has the most events that will be common through the rest of other layouts, but I want to make slight changes in each new event sheet to match fit with the new level. Is that possible? also when I try to change the name of the new layout it changes the name of the original layout to the new one. how to solve this issue? sorry for such torrent of questions!

  • Hi every body.

    Just wanted to know if there's any way I can duplicate a layout but the new duplicated layout will have it's own event sheet? When I duplicate a layout the new one will still have the "original" event sheet of the "parent" layout. I have a game which consists of a number of layouts. generally the layouts have lots of similarities and slight differences. I don't want to repeat all the process all over again and again every single layout. Help will be greatly appreciated.

  • Thanks a lot! I really appreciate your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks elios for making things clear. I will then keep with the "invisible rectangle" method and use it's X & Y coordinates as a reference.

  • Thanks for reply, but could you please make it a little bit simple? a sample CAPX file would be great.

  • Hi, I wanted to know how to create a sprite randomly within specific area inside the layout. say I have a 640X480 layout with a 640X480 window size. but I want a sprite to be created randomly just at the bottom or at the middle of the layout. I tried to create an invisible rectangle to use as a reference for the area that covers the creation of the random sprite, by writing down it's X & Y coordinates and then creating the sprite within those coordinates or by using it's width & height, but I still can't get it working correctly. Any ideas please?

    Thanks in advance

  • Thanks a lot. I will try that

  • Hi. I wanted to know how to make an object path find another object that has the path finding behavior applied to it too. the two objects has the path finding behavior applied but I want one of them to follow the other. The first object will find its way to door or something and it will be chased by another object. when I apply the path finding behavior to the enemy object it just move in the wrong direction and don't follow the main character. I used the "rotate towards position" but this makes the enemy character move through obstacles, and that's not what I wanted.

    So how can I fix this?

  • Try using the bullet behavior instead of physics. and on the start of layout set the bullet speed to 0. on mouse click set the speed to whatever you like, and set the angle of motion to the mouse angle of motion. also if you like the action executed as long as the mouse button is down choose the "on mouse button is down instead of "on click".

  • or the really easy/lazy way (the way I do it) - is to use the magi-cam plugin

    Seems nice! how could I get it?

  • Thanks! will give it a shot

  • Hi. How do I simulate camera shaking on collisions? I know it's made by the "scroll to" behavior but my layout is the same size as my window. thanks!