Spodi wrote:
Ariachan wrote:
However i don't feel that will give me the giant push i need to get over the hurdle im at now... which is going from intermediate to advanced.
Ariachan wrote:
Linked lists and Binary trees in most languages intrigues me
No offense, but if you can't do just about everything there is related to linked lists and binary trees off the top of your head, you're probably not at "intermediate".
I know how to implement and use linked lists and binary trees, well at least i think i do based off what my teacher has taught me. I only learnt them in C++ and was obviously taught wrong about their use in other languages... though actually sitting down and thinking about their structure and implementation it's seems silly that they wouldn't be accepted by at least 90% of languages.
Spodi wrote:
That is fine and all if your ultimate goal is education.
in all honesty i want to make a living out of making RPG's and one day an MMO from code i programmed myself. However, if i don't sit down and actually learn everything i possibly can about programming then i can't really achieve this goal can i?
It's a sad reality to me that i will spend possibly a good 2 - 3 years developing an engine before i can even remotely think about making money off a game that i develop. But this is my desired goal and i will stop at nothing to achieve it.
I'm currently studying programming through a college in which i've learnt about linked lists, binary trees and am currently learning about how to use OpenGL in order to break away from microsoft and allow linux and mac to run my games without outside parties and widen my base of possible users.
Spodi wrote:
What do you mean by "a new section"? You mean a new tile?
what i mean by new section is like, in my map file i had the ' character follwed by a title for that segment of the file say "layer2"
This "told" my code that the previous layer was ready to draw and begin either loading or drawing the next. (I think i used hex for the tile system because of the number and letter combinations, if i remember correctly and they were of a set length and like you said i used a few constants like 00 or something to show that there was no tile to be placed in this square)
Actually i'm fairly certain that i just loaded each layer then preceded to draw the specific area i needed at the time, based of a camera vector in XNA which tracked the player's location (world location) until it reached the edges of the map and let the player roam free until the player skipped past the middle of the screen in either X or Y.
I would continue with this concept until i reached the position which read ' SoundFiles. It would then exit the map loading code and start to load in the music file and various sounds for this map. After the music and or sound effects were loaded it would begin to load the warp positions and to which map (which was held in another array)
Again, this was done way before i knew about linked lists and various other concepts i know now. But my idea of the "networking" side of this concept would be the simple downloading of a text file whenever the client would call this map. (or i would just store the map files on the client side)
actually thinking back on how C# /XNA's "arrays" could be lengthened and shortened at the drop of a hat, i'm actually thinking they were linked lists instead of the typical array. Though this is also strengthend by the fact we used "new list"
Spodi wrote:
This is done quite a lot in the networking, too. NetGore does the same, but in a much more elegant way since I actually wrote a BitStream class for NetGore, allowing you to do binary I/O on a bit level.
I'm starting to think i should give up trying to use VBGore, or aspects of it and jump straight into NetGore and skim through the code to read how it works to get an idea of what i will need to learn in order to develop what i want. However i'm also thinking now i should take a step back and read through either one or both of those books to further understand how linked lists and binary trees are implemented and used, as well some of the other concepts i'm eager to learn about and possibly even use.
I will also admit now that my knowledge in the networking side is somewhat lacking but that will be picked up, and i will make sure of it. I don't mean to say im completely new at networking but i'm not that far from it in the long run. I do understand how a server works (in a very broad context) and how to configure a router as well as databasing and mining / warehousing but thats about where my knowledge stops. Though i have books laying around on networking which i do plan to pick up and begin reading shortly.