Is it possible?

got scripts? Need scripts?
Post Reply
crzyone9584
Posts: 116
Joined: Mon Aug 01, 2011 4:46 am

Is it possible?

Post by crzyone9584 »

With scripting would it be possible to have one scene called... gamescene and have it load map files for a 2-d game? All the tutorials I've seen so far all deal with one game play scene... I know in my other posts i said i wanted to stay away from unity but its starting to look like I'm either going to stick with vb6 or actually go to unity for I'm about to give up hope on netgore... I was looking at http://www.mapeditor.org/ to make the maps and then just load them via a script into the scene when the player goes to a different map....
Imagecrzy
Male Ninja
Str: 5 Agi: 17 Fort: 5 IQ: 5
HP: 10/10 MP: 5/5
See Full Character:
User avatar
hallsofvallhalla
Site Admin
Posts: 12031
Joined: Wed Apr 22, 2009 11:29 pm

Re: Is it possible?

Post by hallsofvallhalla »

Yes Unity supports calling files and/or new games scenes. You could actually built an entire map and store it in a database then do a HTML request(i have a script I wrote on these forums) and parse the data to build the map. Or just pre-build the map and call it. Either way.
crzyone9584
Posts: 116
Joined: Mon Aug 01, 2011 4:46 am

Re: Is it possible?

Post by crzyone9584 »

I was thinking of having it call a file like map1.map or something and load the information through that. Alas with the hour so of searching unity answers and google on how to make unity make a 2d games seems more of a pain than i thought...
Imagecrzy
Male Ninja
Str: 5 Agi: 17 Fort: 5 IQ: 5
HP: 10/10 MP: 5/5
See Full Character:
User avatar
hallsofvallhalla
Site Admin
Posts: 12031
Joined: Wed Apr 22, 2009 11:29 pm

Re: Is it possible?

Post by hallsofvallhalla »

yeah unity is not really built for 2d. People have done it however. I am not a huge fan of unity. I have made a few games or prototypes rather. Check out my test, it was done with sprites.
http://indie-resource.com/forums/viewto ... =35&t=3501

Also here is a browser based RPG game I was working on.
http://indie-resource.com/rpgengine/index.php

do not use IE to test. Chrome and Mozilla work best.
Post Reply

Return to “Scripting/Coding”