Git Product home page Git Product logo

unitybookpagecurl's Introduction

Unity3D Book Page Curl

A simple unity3D package to create a "book page flip" effect using unity native 2D tools

Unity3D Book Page Curl Screenshot

Features:

  • Support Left to Right and Right to Left Flipping.
  • Configurable Auto Flip Option.
  • Works with different Anchor sets.
  • Works with Canvas Scaler.
  • Works with all canvas's rendering modes

Documentation

Check Wiki Section

Asset store

Download the latest unity package from unity Asset Store

Now working with all canvas's rendering modes (Screen Space & World Space)

unitybookpagecurl's People

Contributors

dandarawy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unitybookpagecurl's Issues

Pages do not render correctly in WebGL builds.

The book works fine in editor and when built. However, when the book is built into the webGL platform, it doesn't render correctly. The folding animation is completely broken and the sprites are halved in size.
It has this issue when it is set to interactable and when auto-flip is used.

Here is a video of the issue.
https://youtu.be/RiOiLLQ5xz4

Pdf file is not rendering correctly

Hi there,
I'm using WebGL version. After I build the game, at runtime, when I open the "Book" script, It's going to download pdf in browser file instead of showing it.
What should I do?

Turning pages backwards shows the previous page

STR:

  1. Download and Import the 1.1 unitypackage
  2. Open the Assets\Book-Page Curl\Example\scenes\Example_1_Basic Book.unity example
  3. Turn forward 2 pages
  4. Turn back

Expected Results:
It visually looks like a book

Actual Results:
The second previous page floats above the first previous

Editor:
Unity 2019.1.4f1
Windows 10

Notes:
See this gif for a reference:

bug

Problem with page : Multi touch

I use the Unity Book Page CURL, with more than 2-3 fingers towards all scenes. It turn out that pages go blank and after that, the exception is thrown : ThirdParty.Scripts.BookPro.UpdatePages () (at Assets/ThirdParty/Book-Page Curl Pro/Scripts/BookPro.cs:319)
ThirdParty.Scripts.BookPro.set_CurrentPaper (System.Int32 value) (at Assets/ThirdParty/Book-Page Curl Pro/Scripts/BookPro.cs:100)
ThirdParty.Scripts.BookPro.DragRightPageToPoint (UnityEngine.Vector3 point, System.Boolean pageDragging) (at Assets/ThirdParty/Book-Page Curl Pro/Scripts/BookPro.cs:353)

How can i fix it

transparent background

Hello
First thank you very much for your book has helped me a lot .
I have a problem
By putting a transparent image as " backgound " in the book I get the following error.
(Attachment screen)
boor error

As we have to do to see the bottom without problems ?

regards

Rotation issue

Hi,
I want to use the book in landscape mode, but simply rotating he book object doesn't work (curl effect is broken).
How can I rotate the book? Thanks!

Fliping pages on touch

When I'm trying to flip page on touch device the page animations is going to strange position and then is going back to touch position.

Flip The GameObject With Child

Hi Dandarawy,

I am Dennis. I have see your Unity Book Page Curl. It is amazing. It is best and FREE too. If i can have a favor ?
How to flip the gameobject with child inside ?
In your Book Page Curl you have flip the image sprite. What if it is a gameobject ? So we are able to making a process with gameobject for example :
Page _1 => Gameobject Image With Child => Button, Text, Prefab.
Page _2 => Gameobject Image With Child => Button, Text, Prefab.
and soon.

If we make it a gameobject we are able to making a process like click the button and do process, change text paramater. If it is just image we will not able to do a script.

I am creating a game and planning to make a menu Book. So when the book is open it is contain a ingredient with slot process inside the book.

Is it possible With your Book Page Curl ? If it is Could you give an example ?

You can email me at [email protected].

You help is a great for me to continue the game.
Thanks
Dennis

Clippingplane messed out

I've got this strange behaviour on curl.
I'm using it with touchscript event system, replaced the Input.mouseposition in script to get true location with pointerpos

private void pointersUpdatedHandler(object sender, PointerEventArgs e) { var pos = e.Pointers[0].Position; pointerpos = Camera.main.ScreenToWorldPoint(new Vector3(pos.x, pos.y, 0)); }

image

is like the clipping plane position is messed up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.