Questions tagged [preloadjs]

A JavaScript library that lets you manage and coordinate the loading of assets. It has a built-in plugin model to assist with preloading in other CreateJS libraries.

TweenJS is a JavaScript library that lets you manage and coordinate the loading of assets. It has a built-in in plugin model to assist with preloading in other CreateJS libraries.


Resources


Related tags

84 questions
0
votes
1 answer

PreloadJS - preload and append

I made a script where provided image list will load all up, working like it should. Now this is my main question: If I want to use this for let's say portfolio site where I want all project images, site background etc.. to preload and append image…
Mil
  • 113
  • 1
  • 11
0
votes
1 answer

SWF preloading with preloadjs

that.preloadQueue.loadManifest([ { id: 'ball', src: '/swf/ball.swf' }, ]); Then I use swfobject and just use the normal filepath of '/swf/ball.swf'. Currently it does not preload, but instead reloads each time. How should I change it?
Kirk Strobeck
  • 17,984
  • 20
  • 75
  • 114
0
votes
1 answer

Loading in background

All game assests are broken into portions according to the game Levels. So while user play Level #1, next level is being loaded in background. But there is a strange behaviour with the sprites when preloading is active. Sprites are played way…
user1876232
  • 99
  • 1
  • 6
0
votes
0 answers

PreloadJS - Load a spritesheet on version 0.6.2

I have some troubles with the new version of PreloadJS (0.6.2) on Android. The problem is that I want to load a spritesheet json using this: { "src": "textures/1x/spriteSheetDefault.json", "id": "spriteSheetDefault-json", "type": "spritesheet"…
brunok8
  • 81
  • 1
  • 5
0
votes
1 answer

How can I make EaselJS and Cordova responsive?

Is anyone able to help please. I am following the tutorials in this book which are based on the Inheritance Pattern: https://books.google.co.uk/books?id=UpiJAwAAQBAJ&pg=PR4&lpg=PR4&dq=beginning+html5+games+with+createjs I am using Cordova to try to…
0
votes
1 answer

How can I use CreateJS's PreloadJS to load images and retain attributes?

I am trying to preload images with CreateJS/PreloadJS. These images will replace an image with attributes like id and class. When I use JQuery to replace the image, all of these attributes are lost. What is the proper way to preload images and then…
James W
  • 39
  • 5
0
votes
1 answer

Pack multiple files into one and then split

I'm developing a mobile game and graphics are heavy, so we cannot put all of them into one image atlas, hence having multiple atlases. We use PreloadQueue to load all of the resources. It results in many hits on our server from each client. There is…
Jeffrey.K.
  • 127
  • 1
  • 2
  • 7
0
votes
1 answer

Is there a `unload` item for Createjs' preloadjs/soundjs

Once you've loaded a mp3 into a sound object via createjs, how dow you destroy & clear it from memory?
tolmark
  • 1,746
  • 1
  • 13
  • 19
0
votes
1 answer

CreateJS - Why using just the path while creating createjs Bitmap works for Firefox but not for Chrome

My project is loaded from server. I am using preloadjs to load image and then using it to create a bitmap. After the image is loaded, the bitmap can be created using new createjs.Bitmap(path); if using firfox, but the same cannot be used while…
Khyati
  • 233
  • 1
  • 5
0
votes
0 answers

PreloadJS - working version for IE9 and IE11

I am trying to figure out which version of PreloadJS to use that will work in both IE9 and IE11. I'm getting different errors in the browsers depending on which version I'm using - 0.6.1 vs. NEXT. Code is taken straight from the GitHub…
0
votes
1 answer

Loading PreloadJS using RequireJS

I am new in using RequireJS in loading modules especially loading libraries like CreateJS. I wanted to use PreloadJS with SoundJS. I have properly loaded SoundJS via RequireJS and I am not having problem so far. What I am having problem with is the…
Neon Warge
  • 1,817
  • 6
  • 29
  • 53
0
votes
1 answer

Preloading audio formats for SoundJS

I am setting up a manifest to load a number of images and an audio file that will be played back using SoundJS. I understand the concept of using createjs.Sound.alternateExtensions to play the supported audio format, but I can't tell if I need to…
0
votes
2 answers

preloadJS sometimes doesn't trigger any event

So I have made some games in HTML5 which are played one after another, the game changes every 5 minutes using the loadgame function with the preloadJS library. gameID is the filename of the new game to load. What happens is that if the internet is…
Condward
  • 135
  • 3
  • 13
0
votes
1 answer

Loading Screen for HTML5 File created with Flash CC 2015

i am just curious, is it possible to create a loading screen for a html5 file, that was created before with Flash CC HTML5? If it's possible (and i hope it is), how can I do that, or maybe you can show me the references to do it (i have read about…
Arfian90
  • 71
  • 1
  • 12
0
votes
0 answers

Stage FPS raises on preloading

I have separate manifest files for each level of my game. So when user is playing on Level #1, files for Level#2 are being preloaded at the same time using LoadQueue (PreloadJS). I've noticed some strange behaviour. Stage FPS is set to 24. But FPS…