You are not logged in.
Lost Password?

Register To Post

 Bottom   Previous Topic   Next Topic

Loopable animation on VB
Posted on: 2015/1/23 23:54
Joined 2015/1/23
1 Posts
Long Time User (4 Years)
Really grateful I came across this message board/community.

I'm wondering how difficult/plausible it would be to program a VB to play a short loopable animation like a .gif ? I've done a tiny bit of programming and am wondering if this is something I could learn and put together in a few weeks for an art show I'm working on?

Any thoughts and or recommendations for resources would be a huge help..

Re: Loopable animation on VB
Posted on: 2015/1/24 11:23
PVB Elite
Joined 2011/7/1
1107 Posts
CoderContributorTop10 PosterLong Time User (7 Years) App CoderPVBCC 2013 Entry
That actually does sound very simple. It depends a bit on the complexity of your animation but in general should not be a big deal.

I would suggest to grab the vbde (virtual boy development environment) from here: ... t_id=30868#forumpost30868 and have a look at the demos.

There are some very basic (but also old) beginner demos here as well: ... php?topic_id=4089&forum=2

I also once published a tool that allows you to put together animations without doing much programming. It comes with an older version of vbde (you still have to put it into C:\vbde) The tool is still pre-alpha, poorly documented and I doubt anyone ever used it.

You have put all of your animation frames onto one 512x512 image. The tool will allow you to map your colors to red/black values, define sprites and animations and apply actions to them (like moving around).

You can find the tool here: ... t_id=29439#forumpost29439

Here is a video showing it a bit:

Here are some pictures and more info: ... .php?topic_id=5584&forum=

Re: Loopable animation on VB
Posted on: 2015/1/24 20:47
PVB Elite
Joined 2008/12/28
626 Posts
Highscore Top ScoreHighscore Top ScoreCoderContributor10+ Game RatingsLong Time User (10 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Indeed, that would be quite simple. I suggest you use my program VBIMGC to convert the animation frames into VB format (note: you will have to use a batch file or something because it is not really designed for full-screen animations like this).

The tricky part would be getting the animation to fit on a 2 MB FlashBoy. If there aren't many frames and/or the resolution isn't very high, you might get away without any compression (the VB should be fast enough to load frames in real time). If the frames contain areas of repeating 8×8 patterns, then RLE would be a good choice because it's simple and fast to decompress.

 Top   Previous Topic   Next Topic

Register To Post