Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

ui.lua
Started by jlolofie Nov 06 2010 01:17 AM

3 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jlolofie

[GLOBAL: userInfoPane.html]
jlolofie
  • Enthusiast

  • 46 posts
  • Guests


Is there a plan to include an official "ui" package in Corona SDK?

I see there is a ui.lua in the community section, and there are also several different ui.lua files included with the sample code.

I just want basic controls- buttons, etc... how are people doing this?
uid: 9562 topic_id: 3455 reply_id: 303455


[TOPIC: post.html]
#2

gammabeam

[GLOBAL: userInfoPane.html]
gammabeam
  • Enthusiast

  • 33 posts
  • Guests

I would love to see this too!

The documentation is pretty bad when it comes to create buttons and multitouch.

For example, I wanted a button to remain pressed while the mouse was clicked, but I can't find an option for this anywhere!
uid: 11130 topic_id: 3455 reply_id: 10786


[TOPIC: post.html]
#3

evank

[GLOBAL: userInfoPane.html]
evank
  • Contributor

  • 317 posts
  • Alumni

@gammabeam - in your case (a button that remains pressed while touching down on it), the standard button example in the "ButtonEvents" sample code should do what you want.

Note: we realize there was a problem for people who STARTED with Game Edition, and did not already have all the interface samples we historically shipped with the base Corona SDK.

To help solve this, we now have a much better presentation of all the existing sample code on the site itself, in this new section: http://developer.anscamobile.com/sample-code . The specific area you probably want to look at is "Interface".
uid: 3007 topic_id: 3455 reply_id: 11824


[TOPIC: post.html]
#4

gammabeam

[GLOBAL: userInfoPane.html]
gammabeam
  • Enthusiast

  • 33 posts
  • Guests

Hi evank!

Thanks a lot for your reply.
I managed to find the sample-codes, everything's fine now! Thanks a lot!
uid: 11130 topic_id: 3455 reply_id: 11826



[topic_controls]
[/topic_controls]