Akababa
Soft-Shelled Crab
Posts: 19
FO Level Status: Rebirth
|
Post by Akababa on Jun 10, 2014 22:57:17 GMT
Unity uses C#. I'm using JSON because that is what I am used to and comfortable with. The map editor (Tiled) also supports exporting in JSON and it is easy to load/edit in pretty much every language out there. I'm looking into switching into a different format right now, something just simpler. Thanks for explaining to me! I'm also interested in how the chunks are loaded/rendered. I'm assuming that all the tiles are pre-cached and indexed, and the maps are just arrays of tile indices (as in a flyweight pattern). If this is the case, couldn't the collision data be included in the tile data, instead of loading two separate layers? For example, a wall tile in the map would correspond to ... well, a wall in the collision layer. Another question I have is about the A* pathfinding, will this cause the mobs and players to move in only four directions (up down left right)?
|
|
|
Post by Joseph on Jun 11, 2014 0:49:33 GMT
I am also curious about the movement directions.
|
|
|
Post by iamallama on Jun 11, 2014 4:17:22 GMT
The a* I wrote allows for diagonals (actually I had to add it, but it works). Also, once I have the path, I run over the nodes and smooth out the path down to like 2-3 nodes so you will actually walk shorter.
And the way the pathfinding works, the smoothing function isn't 100% accurate. I'm using an implementation of the Bresenham line algorithm which is known to cut corners a little but it is REALLY quick. So in some cases we have to have a small buffer around a collision area. So it is possible that a seemingly walkable place has a collision block in place because of accuracy. Also, the pathfinding works from a point at the bottom center of the sprite. So the pathfinding could take that point right up to the edge of the collision zone which would show your character partly on a wall if we didn't have a buffer.
|
|
badeggcz
Soft-Shelled Crab
Twinkle Twinkle Little Star I Want To Hit You With My Car Throw You Off A Cliff So High Hope you die
Posts: 5
|
Post by badeggcz on Jun 13, 2014 16:50:56 GMT
Great unity games with unity loads to me fastest
|
|
Roarzor
Rock Crab
Posts: 31
FO Level Status: AFK
|
Post by Roarzor on Jun 13, 2014 20:03:12 GMT
Bamb's ideas are pretty good. I support them 100%. LlamaStaff working hard as always. Know that we will always support you in any way we can!
|
|
|
Post by thegreatchapster on Jun 14, 2014 9:45:30 GMT
are you going to make it that not every1 looks the same so that every piece of armor looks different just like in FO?
|
|
|
Post by thegreatchapster on Jun 14, 2014 10:08:18 GMT
:)im so excited!
|
|
Rummicup
Soft-Shelled Crab
Posts: 12
FO Level Status: Ascended
|
Post by Rummicup on Jun 15, 2014 14:27:10 GMT
Aaaah cant wait till next update !!!!
|
|
SilentFire
Soft-Shelled Crab
Posts: 15
FO Level Status: Ascended
|
Post by SilentFire on Jun 15, 2014 20:33:37 GMT
Wait, so you said you're working locking in our usernames for the games and forums, right? Well, I was thinking of changing my name, would it be possible to reserve that name as opposed to the one I have now?
|
|
|
Post by iamallama on Jun 15, 2014 20:46:39 GMT
Should be able to change your display name. You get the choice of username or display name. As long as it meets the requirements like numbers letters only, no symbols.
|
|
|
Post by mvp on Jun 15, 2014 20:50:24 GMT
Will the forum accounts that are carried over also be used as in-game names? So when the game is released, will I be using my new forum account to login?
|
|
|
Post by iamallama on Jun 15, 2014 21:59:28 GMT
yarp. I'm going to be integrating the login to the game this next week so there isn't a separate login for the game while using the web player version. When you are logged into the forums, it will just use the same session.
|
|
|
Post by Deleted on Jun 15, 2014 22:09:27 GMT
yarp. I'm going to be integrating the login to the game this next week so there isn't a separate login for the game while using the web player version. When you are logged into the forums, it will just use the same session. If it's added to Kongregate, AG, Newgrounds or anything like that, could you make it so it asks if you already have an account, because those tend to create one linked with the games website's account. But anyway, I'll probably go with the downloaded version.
|
|
|
Post by iamallama on Jun 15, 2014 23:56:41 GMT
Yesh. I will do. At least I plan on it.
|
|