Page Flip Effect

Does anyone know how to create a page-flipping effect as if you reading a
magazine or book but as an application. If someone can point me in the right
direction or if there is a code exchange that helps you out or anything that can
help me accomplish this.

Thank You very much in advance!

here is a link to an example of what im trying to do:
http://page-flip.com/
click on online demos [import]uid: 30314 topic_id: 14884 reply_id: 314884[/import]

Director 1.4 has that effect built in, also there’s another rip off director that I’ve seen on the forums but I don’t have the link.

Director 1.4 Link: http://rauberlabs.blogspot.com/2011/08/director-14-books.html

Hope this helps.

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 14884 reply_id: 55006[/import]

@ ninjapig123

Thanks for your reply, few months back while creating an app I used
director 1.2 and about a week ago I downloaded 1.4 and checked out
some samples I notice the image flipping but its more like a swiping
slideshow. Like viewing your pictures on an iPhone just swiping left
and right and next picture appears. I want to actually flip a page like
you normally read a magazine or book and the link above shows
exactly what im after if you go to online demo.

Does 1.4 does this effect im after?
Do you know of any sample I can view?

Thanks for your help ! [import]uid: 30314 topic_id: 14884 reply_id: 55010[/import]

Please if anyone can help me out by giving me links or explaining my
options to make this possible or just point me in the right direction
I will really appreciate it. I tried searching forums or code exchange and
cant find what im after

Thank you very much in advance! [import]uid: 30314 topic_id: 14884 reply_id: 55135[/import]

As posted in your other thread, for those interested here, this is on the roadmap; http://developer.anscamobile.com/resources/roadmap/ [import]uid: 52491 topic_id: 14884 reply_id: 55294[/import]

And been on the roadmap for 3+ months, and not as a “Top Priority” as it is listed in the “Other Features” section. Don’t hold your breath anyone. Maybe those who want it and need it RIGHT NOW should put their money where their mouth is and pledge a donation to the first one with the skilz to do this in the foreseeable future, because I honestly don’t think we will see this from Corona for at least another year, late-2012 at the earliest, as they have too many other things taking priority over page flipping. I haven’t a clue how to do it, so I pledge $100 to the first one to give us a Corona “Page-Flip Class” that flips pages like i-Books in the next 3 months. [import]uid: 32178 topic_id: 14884 reply_id: 55547[/import]

@ jpot328

well the link I gave on top its a software that allows you to page-flip effect, but
I was looking forward to doing page flipping with corona sdk for future book apps.
I honestly dont see why its taking so long and if your theory is correct late 2012
why will it take so long to flip a page lol but oh well i might end up using page-flip
software if not ill continue studying and hopefully figure it out.

Ill be sure to post if I come across anything that can help this be accomplish. [import]uid: 30314 topic_id: 14884 reply_id: 55661[/import]

why it takes so long? [import]uid: 29364 topic_id: 14884 reply_id: 55959[/import]

All good things take time and naturally, the priority road map features get done first. You can’t have everything you want all at once. (I wish you could and I’m sure everyone else does too, but it just doesn’t work that way.) [import]uid: 52491 topic_id: 14884 reply_id: 56001[/import]

I believe the current roadmap is not fair from non-game developers using Corona (ok, I may be starting a furious discussion here :slight_smile: ). Clearly Corona became THE tool for game development and the majority of subscribers are using the SDK for games.

Saying that, votes for page curl, coloring book (pixel manipulation), and other tools for storybook creators will never get enough votes for being in the top of the roadmap list.

Being in business myself, I understand the priority lists however, it would be nice to make things clear to all users (something like, features coming in 1-3 months, 3-6, more than 6mo).

The worse thing for us is to keep seeing feature lists that never see light (for example, check the thread about corona comic sdk 2, posted on 2010-12-09, or the pixel manipulation promotion made with the 20y Photoshop cellebration app, etc).

Not complaining at all, just asking for more clarity if things are really coming soon or not…

Waiting the stones now… :slight_smile:
Alex [import]uid: 4883 topic_id: 14884 reply_id: 56022[/import]

There’s actually an awesome way to make Comics with Corona - it’s not its own separate SDK but still, it’s very good.

At the end of the day Ansca is doing everything it can to make everyone happy - of course that is never going to happen, you can’t always please everyone - but every feature people want is on that list for a reason.

There has been more focus on non-game apps lately; Corona UI was the first big step in that direction.

I know it would be nice to have a list of 25 features all with exact timelines but I don’t suppose it’s realistic or practical on this scale; that isn’t my department.

All I know is if something is on the road map, the team know you want it and they are doing their best to make it happen while keeping you up to date on progress with daily builds and blogs.

I don’t think your post was bad or argumentative - I agree in an ideal world we’d have everything fast and know exactly when it was coming.

Peach :slight_smile: [import]uid: 52491 topic_id: 14884 reply_id: 56136[/import]

I get very annoyed by people who whine. You are a developer, write something! And don’t feed me with garbage that you can’t or don’t know how to; I went to college for politics and here i am a 100% self-taught developer never classically taught. Difference is, i actually create a solution if there is not solution already available.

So, please, don’t whine about there not having been developed one. It is simple, just design one yourself. With that being said, i have created custom page turn effects for director 1.4 modifying off the Page Curl posted on the Corona Blog. I am not going to post them here though, what is the point in giving you guys the solution without being a true developer about it? Attempt to write something, post the code and perhaps i will share them with you. Obviously, they will look nowhere are good as Apple’s page turn api, but they work for their purpose.

Remember, attempt first, then be rewarded… Don’t expect a free ride off others work and contributions. [import]uid: 75514 topic_id: 14884 reply_id: 100145[/import]

@ jmarchalonis

Take your inspiring garbage talk somewhere else, when you are paying for a product you expect it does everything it says it does. I understand its not a priority for them and quite frankly I found a solution for it a while back while coding an E-book. But how can you tell people to stop whining and some people are totally new to programming and classes and sample code is probably there best options. I would had been so lost without Director Class when I started I am truly grateful to all those who dedicated time and shared amazing codes with us and all those great tutorials, people such as Ricardo Rauber, Peach Pellen, John Beebe, (those names from the top of my head) but I know there are a lot others who helped the community so much. You cant expect people that started corona and even payed for it from the start with no experience and knowledge to programming to spends months studying and write there own classes do you? [import]uid: 30314 topic_id: 14884 reply_id: 102607[/import]

You both have valid points.

LeivaGames - new users would have a MUCH harder time getting going without the help many of us try to provide with classes, libraries, tutorials, samples etc. That said Corona does do what it says it does.

To be clear what people are paying for is NOT our samples or help, they are buying a license to publish their own applications to profit. We try to provide everything else as much as we can too (both Ansca as a company and many individuals such as myself who work to make things easier for others in the community) but it isn’t something anyone can expect bundled with a license.

jmarchalonis - I agree that whining can be tiresome, more so when someone expects you to write all their code for them. Luckily most people do not expect this. Sometimes it’s OK for people not to attempt things first if they know others have already done it and just want a hand getting started - sharing knowledge is part of this community though, as I said before, simply sponging is certainly not OK.

TL;DR - You both have good points. Play nice. [import]uid: 52491 topic_id: 14884 reply_id: 102663[/import]

@ Peach

I agree peach people are paying for a license but if they were paying ONLY for a license then Corona might not be as successful as it is now. I mean you have Gamesalad (never tried it) or original Apple SDK and other development kit, but Corona is supposed to make Coding “easy” or so I remember thats what I heard and what all the tutorial video made it seem like. So lets face it when you are buying Corona specially if you never programmed before you get excited when you start seeing all those sample codes and tutorial videos and classes to work with. Like I said it would had been nearly impossible for me to have learn corona or create my first App without Director Class and other extremely useful classes, tutorials, sample codes. So in the end if you were to advertise Corona by saying you are paying ONLY for a license I dont think it would be alive so the community plays a major role. Im not saying I like people that whine or ask question that already been answered on forums and they are just lazy to search but to say “You are a developer, write something! And don’t feed me with garbage that you can’t or don’t know how to” is a bunch of crap. Not everyone can write a Director Class, Beebegames Class, ICE, so on and so on. Theres a reason why even Ansca have gave us sample codes to work with like Tiny Wings , Fruit Ninja, Angry Birds ect… Dont get me wrong I been here a while and I enjoy Corona and A lot of the community have been great I try my best help others as much as possible but it was just upsetting to see an unknown face come into my thread to run his mouth. And thanks Peach you have been great to this community even before made an Ansca Staff [import]uid: 30314 topic_id: 14884 reply_id: 102836[/import]

@LeivaGames

People are paying for a license to use the #1 tool, it’s fast, easy to pick up, cross platform, etc - you know all the reasons it is awesome which is why you are here, it’s why we are all here.

The community, the help, the samples, the tutorials, etc. are all extras - they aren’t a part of the license, if they were Test Drivers wouldn’t have them. They are things everyone puts together because we are all in the same boat and want to help each other out - but none of it is linked to paying for a license :wink:

Community and help is a big part of the appeal and we feel it is important, we actively get involved - like you said I’ve been helping out since before I was staff - a license is what you pay for, the community is what comes with it.

IMHO the community, tutorial sites, samples, etc are worth a lot more because everyone who does these things does so to help the community, be a part of it - not because they are obligated because others also bought licenses.

Peach :slight_smile: [import]uid: 52491 topic_id: 14884 reply_id: 102852[/import]

@LeivaGames

You seem quite bitter man… the Corona SDK is still a very young framework in all honesty. I for one aperciate that they have a roadmap which feature more important things like improved network APIs and Native Elements over say a “page flip.” You just sound like a spoiled brat because you realized Corona was something other than what you thought i.e “easy”; that’s life, nothing is easy so get over it. Also, last time I checked, the SDK is pretty much open source; you are in fact just subscribing to get your code signed and bulit for distribution. Of course, some of the newer APIs are not availble as a tester as they are pretty beta in most instances. Listen to Peach, she lives and breathes being part of the community; you cant be anymore dedicated to the SDK than she is. But honestly, if you have such an issue with Corona SDK, just got to Phone GAP and Sencha; good luck, if you think this is hard, you wont get anywhere with them. Just also, perhaps your in the wrong field of work, maybe mobile development isn’t really your thing. Rember, to recap, you are mad because I told you to attempt to create your own solution before asking for help… Look at every other thread. The first thing someone does is post parts of their code. I don’t think that is honestly a “rediculous” thing to ask. But since you think I insulted you or something, let me appolgize. I am sorry… Now lets move on in life and not dwell on something so pointless.

@Peach

I am sorry for voicing my opinion but i was just being honest. I have never gotten anything in life by putting in 0% and expecting others to just hand me something. I think you as well as the rest of the community/staff have done a fantastic job with the Corona SDK. I have actually released two games and am working on a third and some books currently. It takes a bit to get accustomed to Lua coming from a PHP/MYSQL backround, but software development is all about never stop learning. I have had issues along the way and there was help for the community but I pushed through also and developed my own solutions. I have also shared some codeing via the forums and helped others as I could. My point is, people who don’t contribute or at least attempt to solve solutions on their own; they have no right to ask or beg the community for help. It’s ignorant and insulting to the people who work so hard to push the envolope forward.
[import]uid: 75514 topic_id: 14884 reply_id: 102861[/import]

@jmarchalonis - I agree if people are trying to get others to do all the work with 0 effort it is insulting to those who do indeed put the work in.

No concerns with you voicing your opinion just want everyone to play nice - sometimes these things can end up in slinging matches and then I’m the one who has to be the bad guy, which I hate.

Peach :slight_smile: [import]uid: 52491 topic_id: 14884 reply_id: 102871[/import]

@ jmarchalonis

People like you make me laugh im not bitter at all have you even check when I posted for the page flip effect? " Posted on Thu, 2011-09-08 14:55 " who says I have anything against Corona ? Dont talk to me about “easy” I studied 4month+ straight 16-20 hours daily until I learned and released my first App, so wtf are you talking about “easy” Once again ill repeat myself since you ignorant trash cant seem to understand me I have nothing against Corona only against you coming in my thread running your mouth basically telling “whiner” aka Noobs to code instead of whining? First of all when I created the thread the purpose was to see if someone can help me not to get people like you to come and run there mouth. I see no point in coming in a thread thats asking for help if you dont plan on helping or saying anything positive. You are making it seem like im whining about Page flip effect and once again check when it was posted im way past Page Flip.

" But since you think I insulted you or something, let me appolgize. I am sorry " Are you a hypocrite? How can you say “think” when you clearly insulted me then after your insults apologize? But you know what I havent even been on the forums for weeks I just decided check for new replies and saw your post and this is how it all started honestly I no longer care about you or your apology so just drop it this thread was clearly intended for Page-Flip effect - WHEN IT WAS POSTED - not to argue with you.

@ Peach

" IMHO the community, tutorial sites, samples, etc are worth a lot more because everyone who does these things does so to help the community, be a part of it - not because they are obligated because others also bought licenses. " I agree 100% and I did not try make it seem like you pay for codes and what not you are obviously paying for a development kit (License) which is supposed to make development time faster and “easier” which it does but I think you understood what I was trying to point out.

PS: For those of you who came into the thread looking for Page-Flip effect code check out some Page-Curls sample codes those can do the trick just mess around with it and modify it to your needs. [import]uid: 30314 topic_id: 14884 reply_id: 102873[/import]

I use this and it’s pretty damn cool.

Takes some doing, and some “trickery” with images, but gives the “effect”.
http://developer.anscamobile.com/code/prettier-page-curls
[import]uid: 61600 topic_id: 14884 reply_id: 102898[/import]