Tuiii's Recent Forum Activity

  • >

    > > Okay, I "finished" what I was creating for you. It's very glitchy right now because it needs a lot of improvements. But the main idea allows you to do what you want.

    > >

    > > You can download it here:

    > > https://dl.dropboxusercontent.com/u/231 ... cenes.capx

    > >

    > > Let me explain what I did:

    > > On the layout you can see a some scenes. They are designed scene 1, 2, 3 and so on based on horizontal displacement. The code recognizes the scene based on the position, so that's why I created some sort of grid with the pink bars.

    > >

    > > On start of layout, scene 1 will be picked and a random scene (excluding scene 1) will be picked for next scene. All objects positions and angle are stored in local variables.

    > > When a scene is picked, all elements inside the area designed to that scene will be picked. Made that using families for immovable and movable objets.

    > > All objects overlapping the picked coloured background (bg) are pinned to it and than the coloured background is moved to 0,-bg.height (except for the first scene {scene 1} which goes to 0,0).

    > > After that, objects are unpinned and they start moving down with custom movement.

    > > When the coloured background collides with a detector at 0,2*bg.height, bg is moved to it's previous position (stored in local variable at start of layout) and all objects that were overlapping it are also resetted to their initial positions, than pinned to bg again. (This part is glitchy, needs improvements)

    > > Also, when detector is collided, a new scene is picked and created on top of current scene.

    > >

    > > Hope that wasn't much confusing and also hope that suits what you need.

    > >

    >

    > Thank you so much! <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz"> You rock!

    > This think really helped me. I understand your idea. Yes, it needs a lot of improvements. Some levels overlapped, needs optimize windows size (camera) vs. I love Construct 2, really amazing! Thank you, I am working on improvements.

    > I want to learn Construct 2. I have 4 amazing book for Construct 2 learning. Let's see what can I do?

    >

    This exactly what i also want to do in my games (build a buildbox-like game, but with the added flexibility of the event system of construct 2/3. Could you please repost the scenes.capx example you made, so that i can learn from it on how to implement it? (it is not accesceble anymore on dropbox due to their changes).

    Any one other suggestions on how to do this? Maybe the original poster?

    Thx in advance!

    Here you are, sir

    https://ufile.io/ibiwy

  • I see... Well, thanks anyway! Keep up the great work!

  • Update

    Add property "Modest branding". Set "Modest branding" to "Yes" to remove youtube logos.

    Tuiii

    Removing youtube logos (set "Modest branding" to "Yes") might prevent clicking the YouTube logo.

    Didn't work

    I set Modest branding to Yes but the logo and this little info button are still there:

    It works when Show info is enabled, but again it would be possible to click the video info and go to the youtube page.

  • use repeat N times combined with a variable that will control which objects were already picked

    submit a .capx for detailed help

  • Pick nearest/furthest under objects conditions

  • rexrainbow

    One more question, is it possible to prevent player from clicking the YouTube logo and send the browser to the youtube page?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check Physics : Joints

    also check pin behavior

  • Hey, I see you said that right now it isnt't possible to show other objects above the video. Although I dont need the video to be playing when I want the objects to appear, so I thought about taking a canvas snapshot but the snapshot won't show the video contents.

    Any idea if that can be achieved?

  • no math genius here but ellipse equation worked pretty well

    https://dl.dropboxusercontent.com/u/231 ... index.html

    Capx: https://dl.dropboxusercontent.com/u/231 ... lipse.capx

  • You can store the variables values in the array and check the array value instead

  • create variable with initial value 5

    every 0.1 seconds --> subtract 0.1 from variable and set text to variable

    variable < 0 --> set variable 0

  • just disable the scroll to behavior

    the event every tick --> scroll to player.Y is enough

Tuiii's avatar

Tuiii

Member since 8 Nov, 2011

None one is following Tuiii yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies