Jump to content

Animated background string generator


Gibier

Recommended Posts

While trying to see if the client's animated background feature could handle 6000-12000 frame (6000 is fine :joy:) I've found out that writing the string could take a lot of time. To do my test I wrote a hard-coded console app which only had the images name and a for loop. Though I didn't seen any resource on the forum that generated those string so I edited it.

 

Now the console ask the user for the images names, if the first image start at 0 or 1 and the number of images. If you write 0 the last image will end at 10 and if 1 is written it will end at 11 (with 10 images). You can find the generated string in the .txt file that will appear in the folder. I did a test and the .txt  is fine with 12000 generated lines.

https://www.ascensiongamedev.com/resources/filehost/fe0eddd05706e1433a775ff4956498a6.zip

Note: The generator doesn't generate the frames duration. Also there's no error exception/catch (I didn't think it was useful since except the name you shouldn't do error ^^) 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...