preloadImages

码农软件 · 软件分类 · jQuery图像处理 · 2019-12-26 23:12:43

软件介绍

preloadImages makes it easy to preload any image, or a list of images. Just call $.preloadImages(['myimage1.jpg', 'myimage2.jpg']); and it'll do all the work for you - preloading one image at a time. This is controlled via a queue, so images at the start of the queue are preloaded first.

Normal usage:
Add to end of queue and start preloading.
$.preloadImages(['1.jpg', '2.jpg', '3.jpg']);

Add:
Add to end of queue, but don't start preloading.
$.preloadImages.add(['1.jpg', '2.jpg', '3.jpg']);

Prepend:
Prepend to start of queue, but don't start preloading.
$.preloadImages.prepend(['1.jpg', '2.jpg', '3.jpg']);

Clear:
Clear the queue.
$.preloadImages.clear();

Stop:
Stop processing the queue, but don't clear it.
$.preloadImages.stop();

Start:
Start processing the queue.
$.preloadImages.start();

Direct manupulation
Directly manipulate the queue as a normal array of image URLs.
$.preloadImages.imageQueue

本文地址:https://codercto.com/soft/d/22033.html

游戏编程模式

游戏编程模式

Robert Nystrom / GPP翻组 / 人民邮电出版社 / 2016-9-1 / 61.4

游戏开发一直是热门的领域,掌握良好的游戏编程模式是开发人员的应备技能。本书细致地讲解了游戏开发需要用到的各种编程模式,并提供了丰富的示例。 全书共分20章,通过三大部分内容全面介绍了与游戏编程模式相关的各类知识点。首部分介绍了基础知识和框架;第二部分深入探索设计模式,并介绍了模式与游戏开发之间的关联;第三部分介绍了13种有效的游戏设计模式。 本书提供了丰富的代码示例,通过理论和代码示例......一起来看看 《游戏编程模式》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具