首页 > REDM设计器教程 > REDM设计器教程8-增加皮肤
2016十月24

REDM设计器教程8-增加皮肤

[隐藏]

在前面的教程中,我们给gif控件,增加一个qqbg.gif背景,并给gif控件加了一个子控件button(关闭按钮)

生成资源MyRes+本节close图片资源下载—>

MyRes.zip

close.zip

   

我们先把之前的img和skin都删除吧,因为以前的png类型中图片全部无效了,所以这里就用了点取巧的方式

1.先删除png类型(附带删除了png类型下所有图片)

2.直接体检出baseskin皮肤池的所有皮肤都缺失图片,所以自动修复删除(注意动画中的baseskin下子列表在修复后删除了)

3.再新建png类型,用于保存我们准备新加的png图片

8.gif

   

   

1.增加Img

这次我们为子控件button增加一个img图片,使用多图模式吧

9.gif

操作步骤如下:

1.勾选使用多图拼接

2.依次拖动close_normal.png、close_hover.png、close_down.png进去

3.把图片名改成close.png,把name改成close,因为它是在png这个类型下的,意味着png:close做为这张图片的唯一标识,即前面 皮肤介绍 中提到的src="png:XXX"

4.把拼接的图片保存在image这个子目录下

   

   

2.增加皮肤

我们为上面的png:close这个标识的图片加一个皮肤,这里使用了状态连图,拉伸的方式

10.gif

1.在png目录下选择close.png这个图片,我们可以注意到最上面自动加入src="png:close"

2.把状态数设置为3,明显,这是三态图,类型默认就是imglist(状态连图)

3.把id设置为close(id是皮肤的唯一标识,我们可以叫任意名字,但不要重复了)

  

   

3.添加,删除prop属性

和上一节一样,这次我们把button的属性改变下,增加一个skin,把初始非客户区边框删除掉(ncmargin)去掉文字(text),然后加上skin指定刚刚加入的png:close

skin prop是用来指定通用的客户区皮肤

11.gif

    

  下一节教程:REDM设计器教程9-复制,粘贴控件

   

文章作者:hgy413
本文地址:http://hgy413.com/3568.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

32 Responses to “REDM设计器教程8-增加皮肤”

  1. #1 Сialis 回复 | 引用 Post:2019-02-17 07:02

    I’m curious to find out what blog platform you are using?
    I’m experiencing some minor security problems with my latest blog
    and I’d like to find something more risk-free.
    Do you have any solutions?

  2. #2 quest bars cheap 回复 | 引用 Post:2019-08-23 11:10

    Fabulous, what a blog it is! This webpage gives useful information to
    us, keep it up.

  3. #3 quest bars cheap 回复 | 引用 Post:2019-08-23 18:24

    Hello i am kavin, its my first time to commenting anywhere, when i read this paragraph
    i thought i could also make comment due to this sensible article.

  4. #4 quest bars cheap 回复 | 引用 Post:2019-08-23 22:10

    I’m not certain where you’re getting your information, but great topic.
    I needs to spend some time finding out much more or working out more.

    Thank you for fantastic information I used to be searching
    for this info for my mission.

  5. #5 minecraft games 回复 | 引用 Post:2019-09-03 20:16

    Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s the blog.

    Any suggestions would be greatly appreciated.

  6. #6 minecraft games 回复 | 引用 Post:2019-09-04 19:45

    hey there and thank you for your info – I’ve certainly picked up
    anything new from right here. I did however expertise some technical points using this web site, as I experienced to reload the web site lots
    of times previous to I could get it to load correctly.

    I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and can damage your high-quality
    score if ads and marketing with Adwords. Anyway I’m adding this RSS to
    my email and can look out for a lot more of your respective fascinating content.
    Make sure you update this again very soon.

  7. #7 quest bars cheap 回复 | 引用 Post:2019-09-07 08:36

    What a information of un-ambiguity and preserveness of precious
    experience on the topic of unpredicted feelings.

  8. #8 quest bars cheap 回复 | 引用 Post:2019-09-07 10:18

    Truly no matter if someone doesn’t know then its up to other people that they will assist, so here
    it happens.

  9. #9 minecraft games 回复 | 引用 Post:2019-09-16 06:57

    Having read this I thought it was very enlightening.
    I appreciate you finding the time and energy to put
    this short article together. I once again find myself personally
    spending a significant amount of time both reading and posting comments.

    But so what, it was still worthwhile!

  10. #10 minecraft games 回复 | 引用 Post:2019-09-16 07:47

    Wow, this article is nice, my sister is analyzing these things, therefore I am going to convey her.

  11. #11 minecraft games 回复 | 引用 Post:2019-09-16 16:30

    Wow, awesome blog layout! How lengthy have you been running a blog for?
    you make blogging glance easy. The overall look of your web
    site is excellent, as neatly as the content material!

  12. #12 minecraft games 回复 | 引用 Post:2019-09-18 02:49

    Hi, i think that i saw you visited my site thus i
    came to “return the favor”.I am trying to find things to improve my web site!I
    suppose its ok to use a few of your ideas!!

  13. #13 minecraft games 回复 | 引用 Post:2019-09-25 17:01

    WOW just what I was searching for. Came here by searching for minecraft games

  14. #14 quest bars cheap 回复 | 引用 Post:2019-10-09 02:13

    I think the admin of this web site is genuinely working hard
    in support of his web page, since here every material is quality based stuff.

  15. Wow, superb blog layout! How long have you been blogging for?

    you make blogging look easy. The overall look of your web site
    is excellent, as well as the content!

  16. Good way of explaining, and fastidious piece of writing to take
    data regarding my presentation focus, which i am going to convey in academy.

  17. Hurrah, that’s what I was seeking for, what a data!

    present here at this webpage, thanks admin of this web
    page.

  18. I am sure this paragraph has touched all the internet people,
    its really really good post on building up new web site.

  19. Whoa! This blog looks just like my old one!
    It’s on a completely different subject but it has pretty much the same layout and design.
    Wonderful choice of colors!

  20. Great article. I will be dealing with a few of
    these issues as well..

  21. #21 a coconut oil 回复 | 引用 Post:2019-11-13 20:52

    Generally I do not read article on blogs, but I wish to say that this write-up very pressured me to
    try and do it! Your writing taste has been surprised me.
    Thank you, very great post.

  22. #22 coconut oil is 回复 | 引用 Post:2019-11-15 03:09

    naturally like your web site however you have to test the spelling
    on quite a few of your posts. Several of them are rife with spelling issues and I in finding it very bothersome to tell
    the truth on the other hand I’ll surely come back again.

  23. #23 coconut oil are 回复 | 引用 Post:2019-11-16 04:10

    What’s Taking place i am new to this, I stumbled upon this I’ve discovered It positively
    useful and it has helped me out loads. I hope to contribute & aid different customers like its helped me.
    Great job.

  24. It’s remarkable to pay a quick visit this web site and reading
    the views of all friends about this paragraph, while I am also eager of getting know-how.

  25. This is a great tip especially to those new to the blogosphere.

    Simple but very precise information… Thank you for sharing this one.

    A must read article!

  26. #26 http://tinyurl.com/ 回复 | 引用 Post:2019-11-24 17:21

    Greate article. Keep posting such kind of information on your blog.
    Im really impressed by your site.
    Hi there, You’ve done an excellent job. I’ll certainly digg
    it and in my opinion suggest to my friends. I’m sure they will be benefited from
    this website.

  27. Hello, after reading this remarkable paragraph i am too happy to share my know-how
    here with colleagues.

  28. #28 ps4 games 回复 | 引用 Post:2019-11-28 13:51

    Your style is really unique compared to other folks I’ve
    read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just bookmark
    this page.

  29. #29 quest bars cheap 回复 | 引用 Post:2019-12-01 22:49

    It’s a pity you don’t have a donate button! I’d without a doubt donate
    to this brilliant blog! I guess for now i’ll settle for book-marking and
    adding your RSS feed to my Google account. I look forward to brand new updates
    and will share this blog with my Facebook group. Chat soon!

  30. Asking questions are genuinely pleasant thing if you are not
    understanding something fully, however this post gives good understanding yet.

  31. #31 ps4 games 回复 | 引用 Post:2019-12-05 19:44

    Good day! I know this is somewhat off topic but I was wondering if you knew where I could
    find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one?
    Thanks a lot!

  32. #32 ps4 games 回复 | 引用 Post:2019-12-06 04:08

    Way cool! Some extremely valid points! I appreciate you penning this post
    and also the rest of the site is very good.

发表评论