Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Cash big animation!  (Read 3800 times)

0 Members and 1 Guest are viewing this topic.

atm_deev

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • A. Deev
    • View Profile
    • CreativeDream Studio
Cash big animation!
« on: October 16, 2007, 04:21:00 PM »

Problem:
When using animation, which contains a large number of personnel, in the game, there is a strong braking at the time of loading such sprite.
Question: How can pre-load (cash) sprites long before they will be used?
As soon as I say that we have written their own cache method, but would like to know - is it not included in the WME standard cache means? Our method does not love me, especially since he is always tied to a particular scene.
In advance - thank for help.

Проблема:
При и
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Cash big animation!
« Reply #1 on: October 16, 2007, 07:42:27 PM »

No, there are no native means of caching a sprite, you need to handle it yourself, like loading an invisible entity referencing the sprite you want to preload.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

atm_deev

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • A. Deev
    • View Profile
    • CreativeDream Studio
Re: Cash big animation!
« Reply #2 on: October 16, 2007, 08:30:52 PM »

Ok, but, may be, You help us: as possible do it easy, not only for Scene, but for more Scene one time?
Thanks.

Ok, но как это
Logged

atm_deev

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • A. Deev
    • View Profile
    • CreativeDream Studio
Re: Cash big animation!
« Reply #3 on: October 16, 2007, 08:44:34 PM »

As possible use animation-list of special file. Analogy file animation-list of actor.

Хоро
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Cash big animation!
« Reply #4 on: October 17, 2007, 04:18:44 PM »

Why not to use an actor then? Make a fictional hidden actor, which will reference all the animations you want to preload.
And you can load the actor in context of a scene or an entire game (be careful about memory usage though).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

atm_deev

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • A. Deev
    • View Profile
    • CreativeDream Studio
Re: Cash big animation!
« Reply #5 on: October 18, 2007, 05:50:08 AM »

We exactly so do. :) But this not beautifully!
Logged

atm_deev

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 69
  • A. Deev
    • View Profile
    • CreativeDream Studio
Re: Cash big animation!
« Reply #6 on: October 19, 2007, 05:14:01 PM »

Who will be other ideas?  ???
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Cash big animation!
« Reply #7 on: October 22, 2007, 08:35:09 PM »

The actor approach seems pretty sensible to me.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.083 seconds with 23 queries.