Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [FP] Tile Map Creator 2004 from semester 2
Index -> CompSci.ca, Contests -> [FP] 2004/2005 Archive
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

What do you think of my final program?
(No ending time set)
Amazing
12%
 12%  [ 1 ]
Useful
37%
 37%  [ 3 ]
Good
25%
 25%  [ 2 ]
Not worth it
12%
 12%  [ 1 ]
god this sucks
12%
 12%  [ 1 ]
Total Votes : 8

Author Message
Kingnoz




PostPosted: Fri Jun 18, 2004 10:37 pm   Post subject: [FP] Tile Map Creator 2004 from semester 2

Tile Map Creator 2004

This is my final project for grade 12 computer science this semester (i am really only grade 11, but i couldn't get enough programming this year Very Happy )

The purpose of the program is to create maps using tiles. Then you can save the map as a datafile, which can be loaded and used for RPGs or whatever suits your fancy.

I included a map i made using the program. Hope you like it Wink

Features
- 384 different tiles
- undo button
- maps with custom sizes from 1x1 to 64x64
- search button to find a certain tile
- saving and opening

For anyone that needs a program to be able to read the .jar files then u can download the Java Runtime Enironment (At least i think it is the right one, if not then oh well, the JSDK will)
[url]https://sdlcweb1c.sun.com/ECom/EComActionServlet/LegalPage:~:com.sun.sunit.sdlc.content.LegalWebPageInfo;jsessionid=sdlcweb1c.sun.com-3f4b%3A40db88bd%3A57d4c3f6457a21d
[/url]

Well enjoy it! Very Happy



TileMapCreator2004_ReadMe.txt
 Description:
Read Me file about the program

Download
 Filename:  TileMapCreator2004_ReadMe.txt
 Filesize:  617 Bytes
 Downloaded:  247 Time(s)


Final Project.zip
 Description:
Ok the download everyone has been waiting for is now good to go. I made an executable .jar file for your convenience. Just extract the files to a folder called "Tile Map Creator 2004" or something and then double click the .jar file. I tried it on mine an

Download
 Filename:  Final Project.zip
 Filesize:  406.15 KB
 Downloaded:  273 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jun 19, 2004 1:52 am   Post subject: (No subject)

you better compile that... I dont think anyone here uses ready to program and its incompatable with any real java compiler Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Kingnoz




PostPosted: Sat Jun 19, 2004 1:37 pm   Post subject: (No subject)

what can i use to compile it?
Kingnoz




PostPosted: Sat Jun 19, 2004 2:51 pm   Post subject: (No subject)

I am a total noob at creating a stand alone for my file so if someone could make it for me or give me a set of instructions that would be great.

pm me
the_short1




PostPosted: Mon Jun 21, 2004 9:51 pm   Post subject: (No subject)

400 tiles.... holy fricking shit...


yes please make into .exe.... me want to try dis out!!!!



can that datafile be used in other programming languages ? or just that java one ur using?
omni




PostPosted: Tue Jun 22, 2004 12:44 pm   Post subject: (No subject)

well tilemap data can be used with almost any programming language, as long as ur data is portable. Its just that you have to make a program for each of your programming languages to read the data and display it on screen.

22222222222
21111110002
22010101022 ->onto screen
Kingnoz




PostPosted: Tue Jun 22, 2004 5:44 pm   Post subject: (No subject)

yeah the tile maps are compatible with any language that can read datafiles...you will notice i put a "-1" to show a new row was started...I actually did start a tile-map rpg that my friends and we are gonna work on this summer and it is in Turing so there should be no problem loading the maps...one point of interest though is that the tiles are PNGs, so if you want to use Turing then you need to convert them all to bitmaps or kindly ask me and i can send you mine Very Happy
Kingnoz




PostPosted: Tue Jun 22, 2004 5:47 pm   Post subject: (No subject)

For anyone interested...here is code to load maps in Turing and it works for any size. Enjoy Smile

code:

procedure setNewMapVariables
    open : input, map + ".txt", get
    assert input > 0
    mapRows := 1
    mapColumns := 0
    if input <= 0 then
        locate (1, 1)
        put "Map could not be loaded!"
    end if

    loop
        get : input, skip
        exit when eof (input)
        get : input, datafileTile
        if datafileTile = "-1" then
            mapRows += 1
            mapColumns := 0
        else
            mapColumns += 1
            tilePics (mapRows, mapColumns) := Pic.FileNew ("T" + datafileTile + ".bmp")
            tileStorage (mapRows, mapColumns) := datafileTile
        end if
    end loop
end setNewMapVariables
Sponsor
Sponsor
Sponsor
sponsor
the_short1




PostPosted: Tue Jun 22, 2004 6:26 pm   Post subject: (No subject)

just to inform u all..


www.irfanview.com



irfanview is 100% free...
and it can do batch conversions from any to any filetype!

<< save u ppl time converting all those .png files to .bmp!
Kingnoz




PostPosted: Tue Jun 22, 2004 6:36 pm   Post subject: (No subject)

thanks for the link man.

I only wish i had this sooner lol...i spent 2 hours converting all the pictures into .png's at school...longest time of my life.
Kingnoz




PostPosted: Tue Jun 22, 2004 9:40 pm   Post subject: (No subject)

Ok the file is now updated and ready to download for anybody who wants it. It is an executable .jar file. Thanks to rizzix who supplied me with help on getting it started. So just click the download link and u have yourself a tile map creator.
Kingnoz




PostPosted: Wed Jun 23, 2004 12:08 pm   Post subject: (No subject)

Has anyone actually tried this (only downloaded two times? ouch)...i was hoping i could get some feed back and i wanted to know if the .jar file actually worked.
the_short1




PostPosted: Wed Jun 23, 2004 12:23 pm   Post subject: (No subject)

well... a jar file can be only used either online in IE..... or if u have a java plugin for FIREFOX.. << want one plugin BAD.f.

or if u download the 60MB java runtime from sun.com <<except if u dont have a crapload of HD space u cant really have it installed...

me with my tiny 2gig hd Sad


give it some time... pl will downlod it...
Catalyst




PostPosted: Thu Jun 24, 2004 3:24 pm   Post subject: (No subject)

i liked it Very Happy
but...

it would be alot better if u could place the tiles with the mouse
Paul




PostPosted: Thu Jun 24, 2004 4:35 pm   Post subject: (No subject)

hm.. jar files are like exe files right? they run for me, because I have jre, or is it jdk?...
Display posts from previous:   
   Index -> CompSci.ca, Contests -> [FP] 2004/2005 Archive
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 27 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: