I take a PDF and export it out as PNG. I now have 56 PNG (56 pages) i have my gamesalad set up so you can flip through it like a book. The user can touch the page to move it around and pinch zoom in and out. Is this possible in Corona? Other feature i would want to implement are URLs, Video, Sound. Basically i am making a digital magazine. Thanks for any input!!! [import]uid: 65093 topic_id: 10791 reply_id: 310791[/import]
Sure you can.
There are plenty of code you can look in our forums or code exchange.
The director class is one you can use for page flipping.
There is code on the code exchange to do pinch/zoom
Sound, music, etc.
C. [import]uid: 24 topic_id: 10791 reply_id: 39219[/import]
I have looked before nothing stood out. Could you point me to a link or sample code? I really want to do this application and be able to publish on Android and iOS. [import]uid: 65093 topic_id: 10791 reply_id: 39226[/import]
http://developer.anscamobile.com/forums/director-class
thats the subforum for the director class.
Here is a link to our audio API’s
http://developer.anscamobile.com/reference/audio
and to jump to a URL is as simple as
system.openURL(“http://www.anscamobile.com”)
http://developer.anscamobile.com/reference/index/systemopenurl.
c. [import]uid: 24 topic_id: 10791 reply_id: 39227[/import]
@daverenner,
As Carlos said, if you really dig into the corona forums, it’s got a lot of treasures in it. The issue is that it is now a bit unorganised as we (developers, users) tend to put things everywhere.
if you spend a fair bit of time transversing the forums and sections, you will find some amazing things that nearly everyone keeps asking for in the forums.
if you did not find any framework fitting your requirements, let us have a talk and maybe we can get something for you,
jayant[dot]in[dot]oz[at]gmail[dot]com
cheers,
? [import]uid: 3826 topic_id: 10791 reply_id: 39261[/import]
How much would someone charge to just do some basic framework for me? I’m short on time and never used coron before (not new to programming however) [import]uid: 65093 topic_id: 10791 reply_id: 39383[/import]
There are a few certified developers and you can ask broadly on the forum or twitter - just add @ansca #coronaSDK hash.
c. [import]uid: 24 topic_id: 10791 reply_id: 39385[/import]
I charge $25 per hour.
If your interested send me a mail to : info [at] infuseddreams.com [import]uid: 6981 topic_id: 10791 reply_id: 39386[/import]
K. i’m looking into some of the demos on the interface section of the site. Thinking i might be able to hack some of those together. [import]uid: 65093 topic_id: 10791 reply_id: 39387[/import]
Short answer, yes you could do that, with some caveat:
- Add flip effect by yourself, if you’re building from Objectionable-C+XCode you could use predefined flip effect. But on Corona, build the effect yourself
- Video support on Corona is fairly primitive. Videos must be shown full screen, you could not put any custom interface on top of video, etc
On my defense for Corona, you will be very productive using Corona if you dont mind the caveats. Dont worry for a lil scripting and some learning, it will worth it [import]uid: 41267 topic_id: 10791 reply_id: 39388[/import]
Well, video is no biggie for the time being. And the software i am using right now (Gamesalad) has some freak memory leak when the page “flips” so that isn’t in it at the moment. What really attracts me to Corona is the Android/iOS builds with same code base, and the fact its more programmer friendly. I’m used to writing code, GS is just drag/drop rules. But my immediate problem is time. Can Cornoa handle PDFs in the same fashion as PNG? I.E i can zoom, pan around, or will i still be stuck with png? [import]uid: 65093 topic_id: 10791 reply_id: 39390[/import]
@daverenner
There’s not yet support for pdf on the API, and i only found this module from Lua dev community http://luahpdf.luaforge2.net/ to write pdf
It is possible to write PDF module to read pdf (maybe like in GoodRead?), take some time though [import]uid: 41267 topic_id: 10791 reply_id: 39392[/import]
I’m trying to use the slide view demo with the pinch/zoom demo. I have it running, i can make the pictures slide from picture-to-picture but zoom does not work. Is there any special code to handle the touch that i need that isn’t included in either one of those demos? [import]uid: 65093 topic_id: 10791 reply_id: 39858[/import]
any body provide me sample code of smooth camera control like angry bird?? [import]uid: 52000 topic_id: 10791 reply_id: 43764[/import]