Parallaxing
BlitzMax Forums/BlitzMax Beginners Area/Parallaxing
| ||
If I want to incorporate parallaxing into my game can I just call TileBlock and TileImage with different backgrounds? |
| ||
If I want to incorporate parallaxing into my game can I just call TileBlock and TileImage with different backgrounds? I wouldn't. For one, there is no TileBlock command. Also, TileImage is dependent on SetViewport, which doesn't work correctly on all hardware. |
| ||
Hm,...ok then Well then I guess it is a time to take a trip to the function list!! Lol I thought I could use TileBlock because a demo of BlitzBasic had it |
| ||
But isn't there a way to paralax? I've seen demos of people using paralaxing. |
| ||
There are numerous ways to create parallax effects. The simplest method would be using a tile engine of some sort - there are loads of posts on here about tile maps. You could use one to display a single layer of a map and then use the TileImage underneath, but that isn't an ideal solution or just create maps with multiple layers. Either way, creating maps can be a laborious and tiresome exercise - the larger the more so! Have a look at BlitzMax code for Mappy (IIRC) to create and display maps, including parallax. |
| ||
ok, i will! thanks |