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.

AppGameKit Classic Chat / Simple single layer tile scroller

Author
Message
IronGiant
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 27th Feb 2012
Location: the great state of madness
Posted: 18th Dec 2014 19:24
Ok, started this tile scroller so I wouldnt have to use a lot of video ram for a large map. This uses an Array and it can be as big as you want.

For each tile image, as in a piece of grass, you need one sprite. each array element will be valued at 1,2 or 3 in this one.

I use 3 sprites here, 1 for grass, another for water , and the last for Mountains, or sand if you wish it to be. The graphics are awful. its just there for me to test this thing out before I start hand drawing ,map tiles. Plus this way I dont have to upload media, just the code.

if you find things wrong, or see a faster way, let me know.



It's Bird! , It's Plane!, No its a rocket powered Squirrel holding some acorns and a smile!

Login to post a reply

Server time is: 2024-04-19 14:43:59
Your offset time is: 2024-04-19 14:43:59