JohnPony Posted August 25, 2014 Share Posted August 25, 2014 > Looks nice, good luck.Very constructive. I leik it. Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 25, 2014 Author Share Posted August 25, 2014 hi every1 Xx pr0c0d3r xX here i added the first steps to the map editor modei made a small gui 4 the tile selection and some other stuff and added commands u can check the sources if u want 2 ci need 2 add 2 things 1 is tilegroups 2 the tile selection gui cuz now it bugs it a bit but expected and other 1 is tile component system 2 the tile selection + gui for it1 cool thing is that the map modifications are sent on the fly so u can edit the map with mutliple people and u can trap ur friends inside ~~obsidian~~Â giant dildos lol![](http://i.imgur.com/1UdKbXS.png) Link to comment Share on other sites More sharing options...
Marsh Posted August 25, 2014 Share Posted August 25, 2014 I spy a triple for loop :P Link to comment Share on other sites More sharing options...
Vaughan Posted August 25, 2014 Share Posted August 25, 2014 Pro Tip: This could be the greatest thing since sliced bread but your grammar and spelling is going to make people think twice. Link to comment Share on other sites More sharing options...
Helladen Posted August 25, 2014 Share Posted August 25, 2014 > Pro Tip: This could be the greatest thing since sliced bread but your grammar and spelling is going to make people think twice.Agreed, this made me think at first he stole the code and claimed it as his own, because he said I am a pro coder and used a generic name like ORPGClient. Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 25, 2014 Author Share Posted August 25, 2014 hi marsh theres 1 triple nested loop there but there wasnt b4b4 it was a stl list of shared_ptr, but obv it was difficult to access the elements by positioni couldve saved the position inside the tiles themselves, but it doesnt solve the accessing efficiency problemthats y i asked 4 feedback about the data structure used 4 the Terrain, do u have any idea? Link to comment Share on other sites More sharing options...
Vaughan Posted August 25, 2014 Share Posted August 25, 2014 It's just a chunked data structure using spatial partioning to narrow the scope. Probably a quadtree. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted August 25, 2014 Share Posted August 25, 2014 ~~Coder, are you using a graphics library?~~ Ehh, don't answer, I don't know enough about graphics to help any.Also, side-note, mind typing everything out and not abbreviating so much? Link to comment Share on other sites More sharing options...
Vaughan Posted August 25, 2014 Share Posted August 25, 2014 He's using SFML. Link to comment Share on other sites More sharing options...
Chief Posted August 25, 2014 Share Posted August 25, 2014 > im a pro coder> > Â > > i like Thing because its nifty and sweet.I can't even come up with a joke to pair with this statement, it's that bad. Link to comment Share on other sites More sharing options...
Officer Johnson Posted August 25, 2014 Share Posted August 25, 2014 > I can't even come up with a joke to pair with this statement, it's that bad.lol i think this statement was better then a joke Link to comment Share on other sites More sharing options...
Zetasis Posted August 25, 2014 Share Posted August 25, 2014 Yeah, procoder, I highly suggest typing like you are a grown up because it is hard to believe that you made this and know what you are talking about with how you type. Other then that I haven't checked it out because I can't take you seriously when you type like that. Link to comment Share on other sites More sharing options...
Colonello Posted August 25, 2014 Share Posted August 25, 2014 I agree with everyone else. It's pretty difficult trying to understand what you are even saying. Please at least try using proper English. Link to comment Share on other sites More sharing options...
Marsh Posted August 26, 2014 Share Posted August 26, 2014 > hi marsh theres 1 triple nested loop there but there wasnt b4> b4 it was a stl list of shared_ptr, but obv it was difficult to access the elements by position> i couldve saved the position inside the tiles themselves, but it doesnt solve the accessing efficiency problem> Â > thats y i asked 4 feedback about the data structure used 4 the Terrain, do u have any idea?Just use a list or a array like you had before. Some pretty simple math based on what x and y your character is standing on can determine the tile index based on how you drew it. What are you doing with the tiles in that for loop? Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 26, 2014 Author Share Posted August 26, 2014 hi marsh thats 1 gud idea but i think ill leave it b with the big loops bcuz while "unclean" its also fairly obvious what its doing so the margin for error is quite lowalso every1 dont worry im a pro coder i have the matrix so im legit c? Link to comment Share on other sites More sharing options...
JohnPony Posted August 26, 2014 Share Posted August 26, 2014 L33t Speak should be a bannable offense. Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 26, 2014 Author Share Posted August 26, 2014 no plz Link to comment Share on other sites More sharing options...
Chief Posted August 26, 2014 Share Posted August 26, 2014 > also every1 dont worry im a pro coder i have the matrix so im legit c?Ohh, he's a troll. Makes much more sense now. Link to comment Share on other sites More sharing options...
Zetasis Posted August 26, 2014 Share Posted August 26, 2014 > Ohh, he's a troll. Makes much more sense now.Yep same thing I was thinking. Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 27, 2014 Author Share Posted August 27, 2014 hi every1 Xx pr0c0d3r xX here i made a bunch of mods and fixes 4 the c+ engineobv the number of changes is very big but the 1 most important thing is the components selection window which lets u pick the components 4 the tiles u putthe gui will change depending on the components available **and the properties needed 4 this component**so this brings 1 important design decision! i want the components for the entities 2 be modulable and plug n play, but the spawner tile component will need 2 know about the entities components and their properties. obv with little entities components its ez, but wat if u have so many that it fills the components selection window 4 the spawner component beyond scroll?? so the idea is 2 create an entity creation tool 2 create entity "templates" with a set of components. 1 other important thing is that right now all the gui is coded by hand, so i have stuff like guisquare and guifield which really is just boilerplate stuff so i need to think about maybe using an external gui system. what i can do 2 is 2 use both the external and internal gui stuff together idk. the problem is that i know someday ill need radio buttons and tabs and other widgets and i dont want 2 code that kind of stuff1 other important thing is that the netcode dont have server side lag compensation. itd be ez enuff 4 someone 2 add it directly in the network manager but i wont 4 now, so sometimes entities will tp around or desync will happen. on the flipside i fixed a curious bug about something something network login something something rage so b happy1 other important thing is that the map editor dont display the tile components on the map 4 now and the map editor dont have something 2 change map size but this may come in a command bcuz and u cant remove components yet lolthe last but most important thing is that i need feedback about problems i may have not thought about 4 the components system plz thx![](http://i.imgur.com/KJ8LZBq.png) Link to comment Share on other sites More sharing options...
Colonello Posted August 27, 2014 Share Posted August 27, 2014 The engine looks nice but my eyes are in pain trying to read what you're saying. Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 27, 2014 Share Posted August 27, 2014 Can i just say you say "1 other important thing" way too much? i feel like this topic should really be deleted for lack of brain cells and lack of gramer. at least try to look somewhat presentable otherwise no one is going to take you seriously.- Growlith1223 Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted August 27, 2014 Share Posted August 27, 2014 Coder, you're presenting your engine, sound like you're actually professional rather than a 12 yr old that found out about texting. Link to comment Share on other sites More sharing options...
JeffSventora Posted August 27, 2014 Share Posted August 27, 2014 I don't see anything wrong with the triple for loop, although you can avoid manual depth sort with your rendering setup. Link to comment Share on other sites More sharing options...
Xx pr0c0d3r xX Posted August 28, 2014 Author Share Posted August 28, 2014 hi jeff ik im gonna revamp the terrainrenderer so it uses the renderer class thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now