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

Username:   Password: 
 RegisterRegister   
 Legend of Legaia
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Guest




PostPosted: Sat Jun 17, 2006 4:11 pm   Post subject: Legend of Legaia

NOTE: This belongs in the Turing Source Section because I am letting you the user view the methods I used into creating this game by releasing the source code, not compiling it and creating a .exe file to make it a real application. It may be a zipped file, but the zipped file is used to compress the .midi files and images I load into my program. The .t file will be found inside. The reason for posting this into the source section is because if it were to be an excecutable, you would most likely get errors due to different drive letters. Plus this way my program has way more potential, due to the kind people on these forums who will help me in areas of need.

*NEW* It now works! I fit in the maps and montsers!
Here is one of my 4 ISU's I handed in, it was my first attempt on an RPG.

And I know importing shouldn't be used for this kinda stuff, but it allows a cool loading bar, plus I wanted extra marks. The loading bar will glitch out though, due to the fact you are probably not using an F:/ drive.

PS: The game isn't really that good. It has no story line, and only 3 random monsters, and two incomplete towns, but I spent most of the time preparing the battle system, and basically the "body" of the RPG.

Also, may act buggy on other computers. Sometimes I get a random slowness glitch... It's weird... I think it's due to the fact of my USB Device and the drive letters conflicting.

The MrKurz button at the bottom is for my teacher to click on, because he doesn't know what an RPG is.



Legend of Legaia.zip
 Description:

Download
 Filename:  Legend of Legaia.zip
 Filesize:  563.43 KB
 Downloaded:  312 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
DIIST




PostPosted: Sat Jun 17, 2006 7:36 pm   Post subject: (No subject)

did you check your program and files before you compressed and posted, cause characters.tu and the sprite directory dont exist. Confused. There are some others too, but just noticed those two main ones.
upthescale




PostPosted: Sat Jun 17, 2006 9:09 pm   Post subject: (No subject)

uh ya what he sed! check ferst, and this shud be in

http://www.compsci.ca/v2/viewforum.php?f=13
Mr. T




PostPosted: Sun Jun 18, 2006 4:47 pm   Post subject: Alex's Opinion

upthescale wrote:
uh ya what he sed! check ferst, and this shud be in

http://www.compsci.ca/v2/viewforum.php?f=13

upthescale are you slow? You've probably said this a million times and most of the time you're incorrect. The file is .t NOT .exe therefore it is correctly placed in the source code forum and NOT the applications forum.
upthescale




PostPosted: Sun Jun 18, 2006 4:52 pm   Post subject: (No subject)

i thot zip fuiles go in the applications section, exe aren't even aloud
TheOneTrueGod




PostPosted: Sun Jun 18, 2006 5:10 pm   Post subject: (No subject)

A .exe is a windows executable. Aka an application. You've posted dozens of .exes... A ".t" file (even if it is in a .zip or a .rar) is a source code file. Therefore, it belongs in the Source Code section.
Clayton




PostPosted: Sun Jun 18, 2006 8:00 pm   Post subject: (No subject)

hm looking over your source code (damn i want to play) i noticed that at the beginning of the game you have all of your loading done in about four different processes Embarassed Embarassed , not good, dont be lazy!! you could have just as simply had all of the loading done in a loading module with a procedure for all elements to be loaded (music, fonts, pics etc.) its good to see people getting into modularity Very Happy, however, export all huh? why not try and make it so that absolutely everything in the module is accesible Wink other than that it doesnt look too bad, id like to see your character module, so plz post Very Happy
Guest




PostPosted: Sun Jun 18, 2006 10:16 pm   Post subject: (No subject)

The character module works fine... It is in there. It's just you must change the drive lettering most likely.

And for processes, your seeing things. I wasn't using processes to load my stuff... Only used processes for my sounds etc. But if you ment a process such as a method of doing something (process), by the way I load all my stuff, yeah I probably could of used your method =p, but loading thing was like last minute.
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Tue Jun 20, 2006 8:57 am   Post subject: (No subject)

you are using processes Evil or Very Mad Evil or Very Mad im not blind Very Happy and yes your pathing is really screwed up, i had to move everything around until i finally figured it out, why not fix it yourself Vahnx and then post it again so that anybody that wants to play it doesnt have to do what i did Very Happy
Guest




PostPosted: Wed Jun 21, 2006 5:10 pm   Post subject: (No subject)

What are you smoking? (dont answer that question). Which line is using a process, and how is the process (if there is any) affecting my code?

To change the directories, just run the program, you get an error in I believe Characters.tu, then change the drive lettering accordingly, and I think that's it. I havent worked in it in a while tho, as I've been doing other computer things (email, games, downloading)

EDIT: WHERE IS THAT PROCESS YOU SPEAK OF??? LINE AND MODULE PLEASE, OR IS IT IN MY MAIN CODE?
Aziz




PostPosted: Sat Jul 15, 2006 12:29 pm   Post subject: (No subject)

Why use drive letters? For example, you have a folder "game" and a folder inside main "images" and a folder inside images "maps" (such that an address would be "C:\game\images\maps\". You have a file "main.t" inside the "game\" folder. Inside "images\" you have a file "list.dat" and inside maps you have a file "map1.jpg" and "randomMap.tu". A dir tree would look like:

code:
game
 > images (folder)
   > maps (folder)
      > map1.jpg (image)
      > map2.jpg (image)
      > map3.jpg (image)
      > randomMap.tu (Turing module)
   > monsters (folder)
   > icons (folder)
   > list.dat (DAT file)
 > folder1 (folder)
 > folder2 (folder)
 > main.t (Turing source file)
 > file1.t (Turing source file)
 > readme.txt (Text file)


In main.t, you can reference "list.dat" (in images/) by calling "images\list.dat" instead of "C:\game\images\list.dat". You can call "file1.t" simply by "file1.t". To reference to a parent folder, for example if in "list.dat" you could refence file1.t by the line "..\file1.t" the ".." brings it up a folder. You can use more than one, too. Referencing file1.t from randomMap.tu in the maps/ folder would be done like this: "..\..\file1.t". This way your code is portable to anyone's computer and any folder.

(PS If I'm wrong, correct me, and slap me too please)
Delos




PostPosted: Sat Jul 15, 2006 1:13 pm   Post subject: (No subject)

Thanks for your comments Aziz, but take note of the last post date of this topic. A month ago. Sure vahnx is still around going his thing, but I'm sure he's moved on to other things. Check post dates in the future to avoid more necroposting.
Aziz




PostPosted: Sat Jul 15, 2006 1:17 pm   Post subject: (No subject)

Oh damn, I wasn't even looking through the forums...I did a search on RPG here, wanted to get a look around, but I'll keep it in mind thanks.
Guest




PostPosted: Sun Jul 16, 2006 8:56 pm   Post subject: (No subject)

It's alright, I did not update this game in a long time, but help would be appreciated still =)
Aziz




PostPosted: Sun Jul 16, 2006 11:26 pm   Post subject: (No subject)

Well you have my advice, above. Now that it's a month later, go back to the game. Fix the file referencing errors, and go through it all to see what you can do better. Post it again, when you have time Smile It's always good to re-tackle a problem after setting it down for a bit.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

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


Style:  
Search: