Laurent's Recent Forum Activity

  • Wow ! That is very impressive. Next step could be to add front and back images, more pages and why not, a way to animate an group of items (image + text boxes with hierachy) :)

  • Here is a demo I made some time ago, it's not as good as in the link you posted, but maybe you can get some ideas from it:

    https://www.dropbox.com/s/3kmqfu32z6ogrxg/PageFlip2.c3p?dl=0

    Thank you !! That is very interesting, I'll learn a lot from it :)

  • Hello,

    I would like to simulated a page fliping. Not just a rectangle being rotated in 3D but a real folding page depending on where the user touches/drag the page.

    Something like this : cssscript.com/demo/book-page-flip-animation

    Library is here : cssscript.com/book-page-flip-animation

    I guess mesh deformer would be involved but have no other clue on how to simulate this.

    Alternative : page flip could in a more simplier way be activated by clicking on the page.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you. That was it, my code was on the wrong sheet....

  • I'm building an app for a museum and need to have it reset to menu when it's not used for 30 seconds, so that the next visitor can start from the begining.

    I used a function to restart a timer each time screen is touched and start a function once the timer has reached 30 seconds but it does nothing (timer behaviour is attached to a random sprite in the game, here the background image):

    + Touch: On any touch start

    -> Sprite: Start Timer "Inaction" for 10 (Once)

    + Sprite: On Timer "Inaction"

    -> Do something

  • Thank you very much ! It works very well.

    Actually, I'm keeping column names and use them to find out the column number because I may have later to reorganise the array and thus won't have to change the numbers.

    Here's the code I'm using :

    array.At(Array.At(Array.IndexOf("Episode"),loopindex), loopindex)

  • Information for the sprites are stored in sprite variables.

    Two variables are manually assigned to the sprites :

    - Episode

    - Sequence

    Name variable has to be assigned runtime from the following array

    I made a "for each sprite loop" to look into the array and pick the sprite that matches two conditions :

    - Array.At(Array.IndexOf("Episode"),Array.IndexOf(Sprite.Episode)) = Sprite.Episode

    - Array.At(Array.IndexOf("Sequance"),Array.IndexOf(Sprite.Sequence)) = Sprite.Sequence

    How do I get the line index of the line that matches the two conditions ?

    Tagged:

  • It works like a charm.

    Thank you !!

  • My sprites are part of the same family. I'd like to organise them on the Z order so that the smallest sprites in size are at the top and the bigger at the bottom.

    I guess a "for each" loop is involved but don't exactly know how to set it up

    Tagged:

  • Thank you all for your suggestions.

    Giving the same name to the objects in the family sounds like a good idea !

  • When you write action, you mean one action per object in the form of :

    - create Object 1 at X,Y

    - creaste Object 2 at x,Y

    etc, as many lines as there are objects ?

    No way to make a batch create function ?

  • To create each object in a family you need to make a create action for each object. Alternatively you could place them in the layout yourself to avoid making the events.

    is it not possible to have something like :

    - for each object in family

    - create object on layer 0 at x=150, y=150

    I've quite a lot of object in the family and would like to automatize the creating process to save time and have a simple method if I have to make changes (for example the coordinates)

Laurent's avatar

Laurent

Early Adopter

Member since 18 Jan, 2012

Twitter
Laurent has 1 followers

Trophy Case

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

Progress

17/44
How to earn trophies