Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Need guidance to customize the slider graphics
Started by neilw711 Feb 28 2013 02:44 AM

10 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

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

I read that the only way to customize the slider graphics is to create your own imagesheet. So that's what I did (maybe I'm doing creating the sheet incorrectly) and then I include the following code in the newSlider code:

sheet = myImageSheet

Now what I want to know is, how does the code know which part of the imagesheet is a background or a handler? It turns out that the background image becomes both the handler and slider background :/
uid: 69494 topic_id: 36409 reply_id: 336409


[TOPIC: post.html]
#2

vovasoft

[GLOBAL: userInfoPane.html]
vovasoft
  • Contributor

  • 131 posts
  • Corona SDK

I think you should read this tutorial http://www.coronalabs.com/blog/2012/03/06/image-sheets-image-groups-and-sprites/
uid: 138389 topic_id: 36409 reply_id: 144591


[TOPIC: post.html]
#3

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

I did read up on that but what I am trying to do is have a custom image for the handler and another image for the slider. The sheet line in the newSlider code is just making everything in the imagesheet both the handler and the slider.
uid: 69494 topic_id: 36409 reply_id: 144598


[TOPIC: post.html]
#4

chevol

[GLOBAL: userInfoPane.html]
chevol
  • Contributor

  • 292 posts
  • Corona SDK

neilw711, Corona Devs said that they are coming out with a themeing tutorial/documentation ASAP. I read somewhere that it would be out this week but they are busy with Widget 2.0 bugs so I wouldn't hold your breath. But there should be some documentation/tutorial real soon so it might save you some time and frustration if you wait until its released.
uid: 58885 topic_id: 36409 reply_id: 144621


[TOPIC: post.html]
#5

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

Oh ok, I do remember Danny telling me, I was just wondering if anyone knew how to work the imagesheets. Thanks for the heads up!
uid: 69494 topic_id: 36409 reply_id: 144623


[TOPIC: post.html]
#6

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

I read that the only way to customize the slider graphics is to create your own imagesheet. So that's what I did (maybe I'm doing creating the sheet incorrectly) and then I include the following code in the newSlider code:

sheet = myImageSheet

Now what I want to know is, how does the code know which part of the imagesheet is a background or a handler? It turns out that the background image becomes both the handler and slider background :/
uid: 69494 topic_id: 36409 reply_id: 66409


[TOPIC: post.html]
#7

vovasoft

[GLOBAL: userInfoPane.html]
vovasoft
  • Contributor

  • 131 posts
  • Corona SDK

I think you should read this tutorial http://www.coronalabs.com/blog/2012/03/06/image-sheets-image-groups-and-sprites/
uid: 138389 topic_id: 36409 reply_id: 144591


[TOPIC: post.html]
#8

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

I did read up on that but what I am trying to do is have a custom image for the handler and another image for the slider. The sheet line in the newSlider code is just making everything in the imagesheet both the handler and the slider.
uid: 69494 topic_id: 36409 reply_id: 144598


[TOPIC: post.html]
#9

chevol

[GLOBAL: userInfoPane.html]
chevol
  • Contributor

  • 292 posts
  • Corona SDK

neilw711, Corona Devs said that they are coming out with a themeing tutorial/documentation ASAP. I read somewhere that it would be out this week but they are busy with Widget 2.0 bugs so I wouldn't hold your breath. But there should be some documentation/tutorial real soon so it might save you some time and frustration if you wait until its released.
uid: 58885 topic_id: 36409 reply_id: 144621


[TOPIC: post.html]
#10

neilw711

[GLOBAL: userInfoPane.html]
neilw711
  • Enthusiast

  • 78 posts
  • Corona SDK

Oh ok, I do remember Danny telling me, I was just wondering if anyone knew how to work the imagesheets. Thanks for the heads up!
uid: 69494 topic_id: 36409 reply_id: 144623


[TOPIC: post.html]
#11

shieldax

[GLOBAL: userInfoPane.html]
shieldax
  • Observer

  • 6 posts
  • Corona SDK


[topic_controls]
[/topic_controls]