Re: [Pharo-users] Flashing short duration images in a window

2016-11-29 Thread Denis Kudriashov
If you need fullscreen show: Form setBackgroundFromImageFileNamed:'path/(.jpg|.png)'.

Re: [Pharo-users] Flashing short duration images in a window

2016-11-28 Thread p...@highoctane.be
WorldState MinCycleLapse: 16 will make it 60 FPS. Much smoother on Windows. Ok, some CPU is used. Phil On Mon, Nov 28, 2016 at 9:53 PM, Henrik Nergaard wrote: > | image morph | > > > > image := Form fromFileNamed: 'path/(.jpg|.png)'. > > morph := image asMorph. > > morph openCenteredInWorld.

Re: [Pharo-users] Flashing short duration images in a window

2016-11-28 Thread Dimitris Chloupis
Flashing is basically animation. All you need is an ImageMorph and to add stepping using the step method. step is the method that does the animation loop (step = frame) stepTime you return how much time will be spend be spend per step this is my step method from my project ChronosManager which bas

Re: [Pharo-users] Flashing short duration images in a window

2016-11-28 Thread Henrik Nergaard
| image morph | image := Form fromFileNamed: 'path/(.jpg|.png)'. morph := image asMorph. morph openCenteredInWorld. morph addAlarm: #delete after: 2000 "ms". Ps. Pharo UI runs at 50Hz Best regards, Henrik From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org