Sprites

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Legrand

Sprites

Post by Legrand »

All tutorials are great but as i'm not an expert-far from being one!-I would like to know if it is possible to increase the dimensions of the moving subject that looks to me limited to 15x21 map size.Is that true or is it possible to increase?
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

The only limit is memory, and with a few tricks you can even get around that.

I'm using maps of 5120x3200 in MOo without problems.


First of all, as long as you stay under 64kb (a integer array of 32000) you should be fine.

To get a larger map, make sure you change the dim statement, and the number of data statements (if reading data, or the file if reading from a file)

Code: Select all

Dim map(200, 160) As Integer
Works just fine.


In reality, and with a few tricks, there is no real limit to map sizes.
I have left this dump.
Mjuijvn

Re

Post by Mjuijvn »

Legrand: How big are your tiles? Could you post your map structure? (is there one?)
Post Reply