its all in lua, if you save one file as main.lua and the other as config.lua, it’ll run in your simulator.
If you want any of it explained in detail, let me know
[import]uid: 62706 topic_id: 30554 reply_id: 122424[/import]
its all in lua, if you save one file as main.lua and the other as config.lua, it’ll run in your simulator.
If you want any of it explained in detail, let me know
[import]uid: 62706 topic_id: 30554 reply_id: 122424[/import]
Looking at your mockup’s it can be done directly in Lua/Corona. You will need to know how to use the Widget library, in particular tableViews and it would probably be useful to know Storyboard since you’re going to need to change screens. It will be a bit of code.
This app also wouldn’t be too difficult to do directly in Objective-C, though as a programming language is it much much heavier on syntax and is more confusing.
As an HTML page, you’re probably going to build an unordered list, style it with CSS and then use something like jQuery Mobile to make it function like a mobile app. Probably less code, but it won’t be a native app and you will have to deal with phone users who are used to apps and not HTML5 apps being installed on their devices.
[import]uid: 19626 topic_id: 30554 reply_id: 122445[/import]
thanks robmiracle. yes i need to learn how to code first in order to make this app into reality. do i need to learn python first before lua? or go directly to lua? [import]uid: 156195 topic_id: 30554 reply_id: 122449[/import]
thanks craftydeano. i will try this code to corona simulator. [import]uid: 156195 topic_id: 30554 reply_id: 122450[/import]
@craftydeano - So cool, it works. Im so excited to learn corona after i click the first words, it transfer to the next page, very fascinating in did. now i like to put a background. how can i do that? [import]uid: 156195 topic_id: 30554 reply_id: 122458[/import]
I don’t see why you would need to learn python at all.
[import]uid: 19626 topic_id: 30554 reply_id: 122460[/import]
You don’t need to learn python, but i found the python tutorial at www.udacity.com very good to learn the basic fundamentals of programming.
put this code into a function, to load a background from an image file.
[lua] menuBG = display.newImageRect(“menubg.png”,320,480)
menuBG.x = _W
menuBG.y = _H[/lua]
You will need to create a file called menubg.png and place it in the same directory as your main.lua
The above code I pasted is quite basic, but should show you the basics of how texts, rectangles and now images are displayed.
along with transitions between different ‘pages’ of your app. [import]uid: 62706 topic_id: 30554 reply_id: 122463[/import]