tile based mapping program in planning stage

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
magice
Posts: 457
Joined: Wed Mar 18, 2009 12:57 am

tile based mapping program in planning stage

Post by magice » Mon Apr 27, 2009 11:08 pm

I am considering starting on a tile based mapping program. I have been experimenting with using multiple image areas that are grouped and trying to write the paint of that group to a file. I didn't really think it would work, but Runrev has surprised me in other cases so i thought I would give it a try. Having no experiance at all in graphics editing applications, I am a bit lost. but then that is why I came up with this idea, because it is something new to learn. My first question, is...Is there an easy way to write several jpg image files into one? E.G. if i have a grid of image areas 10 high by 10 wide, and each area contains a seperate jpg image file. how can I write the entire grid into one jpg file?

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Mon Apr 27, 2009 11:18 pm

Yup, you sure can. I believe you can take a screenshot of the objects together by providing the coordinates, then not sure from there, either put the result directly into an image object, or save it as a file and load it into an image object.

Look up in the rev dictionary the following: export snapshot

I believe(hope) that'll do what you want. :-)

~Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

magice
Posts: 457
Joined: Wed Mar 18, 2009 12:57 am

Post by magice » Mon Apr 27, 2009 11:50 pm

Thank you, that gets me half way there. Using the coordinants may be a problem though. The image area could potentially be bigger then the app itself and use scrollbars. How can I specify the coordinants of the larger underlying area rather then the actual app area?

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Tue Apr 28, 2009 7:31 am

Hmmmmmmmm....... I'm not sure from there. I'm sure one of the pros will come along soon and answer that one! :-)
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)

Post Reply