Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Runtime warning animation could not be loaded

Author
Message
The Amazing O
20
Years of Service
User Offline
Joined: 21st Aug 2004
Location: South Lopham, Diss
Posted: 22nd Aug 2004 06:18
I have copyed all the media to my project, but now when i try to load an animation or bitmpa etc it says animation could not be loaded.
My small piece of coding is-
Load animation "loading1.avi",1
Is there anything wrong with this??

Cheers
Oli

Oswold is a Billy
Uriel The Ignoble
21
Years of Service
User Offline
Joined: 13th Jun 2003
Location: In a tiny box in the attic
Posted: 22nd Aug 2004 18:44
i havent used avi's, but i think its easier to just make a fast slide show instead..
divide your avi into seperate jpgs or bmps

do something like this

load images
make sprites
do

inc variable1,1
if variable1=4 then variable1=1
if variable1=1 then show sprite 1:hide sprite2:hide sprite3
if variable1=2 then show sprite 2:hide sprite1:hide sprite3
if variable1=3 then show sprite 3:hide sprite2:hide sprite1
sync
loop

this will esentially make a 3-frame animation. it takes a little more time and typing, but it works pretty well for me.. if theres a better way, maybe someone else will help out. I dont have an AVI maker so i take the shortcut
The Amazing O
20
Years of Service
User Offline
Joined: 21st Aug 2004
Location: South Lopham, Diss
Posted: 22nd Aug 2004 19:26
Cheers uriel
Shall try it in a minute
Oli

Oswold is a Billy

Login to post a reply

Server time is: 2024-09-22 22:20:27
Your offset time is: 2024-09-22 22:20:27