Welcome to the TNT Directory. Here you will find complete games and examples contributed by the TNT Basic community, as well as useful links to other websites. Feel free to add links to complete shareware games - you don't have to include the source!

You are not logged in.
26th May 2019 16:11 GMT
Sort by: View:
Selected: 1 of 41 total examples

Scrolling Demos

Version 1.2

Posted by Mark Tully Last Updated on 24th Jul 2003
Demonstrates how to use TNT Basic's viewport commands to scroll around a map. There are four examples, an simple indoor map, a tile-scrolling indoor map (using TNT Basic code), a tile-scrolling indoor map (using TNT Basic's automatic tile scrolling) and an outdoor map (shown here).

The outdoor map features ambient life in the form of anti-aliased birds that fly around randomly, demonstrating the use of sprites with scrolling.

The tile-scrolling map shows how to scroll around an immense map without having to open a canvas as big as the map.
Scrolling Demos source code

Submit Example...