Guest Posted January 6, 2013 Share Posted January 6, 2013 As of the moment picture boxes and panels are the controls. Once i incorporate a solid graphics engine, thenill renderthemHelleden, just becuase the module names are the same, dosentmeanits the same shitty structure. Link to comment Share on other sites More sharing options...
DMF Posted January 6, 2013 Share Posted January 6, 2013 actualy it isnt mirage this isnt vb6\. xD .if you render them make sure you explain how to switch graphics. Link to comment Share on other sites More sharing options...
Helladen Posted January 6, 2013 Share Posted January 6, 2013 > As of the moment picture boxes and panels are the controls. Once i incorporate a solid graphics engine, thenill renderthem> > Helleden, just becuase the module names are the same, dosentmeanits the same shitty structure.I guess you're right. Although, I still think the module structure is horrible. Classes are so much better in my opinion anyway, C# for the win. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Stach Posted January 6, 2013 Share Posted January 6, 2013 Looking forward to it. Link to comment Share on other sites More sharing options...
Exception Posted January 6, 2013 Share Posted January 6, 2013 > I guess you're right. Although, I still think the module structure is horrible. Classes are so much better in my opinion anyway, C# for the win. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)You CAN use classes in vb.net, in the exact same way, you know? If Daxter isn't using classes to start, then obviously he's keeping one of the problems that Mirage never made use of: OO.@Daxter; drop the hungarian notation, please. Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2013 Share Posted January 6, 2013 hahah, for DarkMatchFlame, ill comment the codes were everything is renderd that way it will be simple enough to add graphics.This is kinda off topic, but one thing I noticed with CS:DE was that the code to render a simple graphics would be like this```DrawGraphic, 1, 225, 225```Thats not actual code, but that would render the graphics on screen with a height and width of 255\. Well in the graphics folder "1.png" would only be like 35 in height and 25 in width. Size proportions was way off so ill make sure I get size's small and light.As for helleden I had thoughtabout just using straight up classes. I prefer them to but never actually used classes in vb.net anyway. Ill give it ago today and see what turns a better preformance route.UPDATES:-Packet system full done-…..........too many to name, just image a blank EO but very slow atm. XD Link to comment Share on other sites More sharing options...
Helladen Posted January 6, 2013 Share Posted January 6, 2013 > You CAN use classes in vb.net, in the exact same way, you know? If Daxter isn't using classes to start, then obviously he's keeping one of the problems that Mirage never made use of: OO.> > @Daxter; drop the hungarian notation, please.I didn't know VB.NET had classes. I frown on Visual Basic, that's probably why. ![:o](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/ohmy.png)> As for helleden I had thoughtabout just using straight up classes. I prefer them to but never actually used classes in vb.net anyway. Ill give it ago today and see what turns a better preformance route.Cool. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Dunxmaster Posted January 6, 2013 Share Posted January 6, 2013 This looks very great! Gives me some ideas…lol ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png). Anyways can't wait to see how far this goes and GOOD LUCK! Link to comment Share on other sites More sharing options...
Stach Posted January 6, 2013 Share Posted January 6, 2013 A module is basically a static class anyway. So, if you were to put your project more towards OO only use a module as like a static class in C#. Not everything requires to be created as an object. Link to comment Share on other sites More sharing options...
Exception Posted January 6, 2013 Share Posted January 6, 2013 > I didn't know VB.NET had classes. I frown on Visual Basic, that's probably why. ![:o](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/ohmy.png)For the record, Visual Basic.NET and C# are -identical- in function. The literally only difference is syntax, and performance differences are very negligable, if any. Why do you frown on Visual Basic? ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2013 Share Posted January 6, 2013 QUICK UPDATE: This is an example of how images are currently rendered```Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DrawImage()End Sub```Then in modGraphics we have```Sub DrawLogin(ByVal e As PaintEventArgs) Dim newImage As Image = Image.FromFile("2.png") Dim x As Single = 100.0F Dim y As Single = 100.0F Dim width As Single = 235 Dim height As Single = 235 e.Graphics.DrawImage(newImage, x, y, width, height)End Sub```Before it was all contols and took literally 10 seconds to start the client. With this new method of drawing its like 2.5 seconds haha. This is not the best way to handle rendering, but its a start. Link to comment Share on other sites More sharing options...
blkcrow Posted January 6, 2013 Share Posted January 6, 2013 is DrawLogin called in every frame? because if it is you are loading 2.png every frame Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2013 Share Posted January 6, 2013 DrawLogin is the login box, and no its not every frame, its called once, until told to dispose (go away) Link to comment Share on other sites More sharing options...
DMF Posted January 7, 2013 Share Posted January 7, 2013 intresting glad to see progress ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) . hoping to see more soon ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)! Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2013 Share Posted January 7, 2013 Update read page 1 Link to comment Share on other sites More sharing options...
DMF Posted January 7, 2013 Share Posted January 7, 2013 but since your rendering it all out , im guessing every pice will have and x, y location right?ik its a dumb question but had to ask. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2013 Share Posted January 7, 2013 Yes everything is rendered at an x.y cordinate Link to comment Share on other sites More sharing options...
DMF Posted January 12, 2013 Share Posted January 12, 2013 anything new? o-o Link to comment Share on other sites More sharing options...
gizmo1 Posted January 23, 2013 Share Posted January 23, 2013 Hey man, winsock isn't the greatest in the world, its putting an obselete object on a good game engine, I would recommend using whats already built into the frameworks library like System.net, if you need help with any of that let me know, I made my own game engine and Im using asynchronous sockets Link to comment Share on other sites More sharing options...
Exception Posted January 23, 2013 Share Posted January 23, 2013 > Hey man, winsock isn't the greatest in the world, its putting an obselete object on a good game engine, I would recommend using whats already built into the frameworks library like System.net, if you need help with any of that let me know, I made my own game engine and Im using asynchronous socketsYou're serious, right?WinSock is practically as low-level as networking gets with Windows. System.Net is BASED on Winsock, as is every other popular networking library, eg, Lidgren.EDIT: Let me reiterate. As low-level without heading to Raw Sockets. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted January 30, 2013 Share Posted January 30, 2013 Is this still being worked on Dax? Link to comment Share on other sites More sharing options...
Guest Posted January 31, 2013 Share Posted January 31, 2013 yes Link to comment Share on other sites More sharing options...
DMF Posted January 31, 2013 Share Posted January 31, 2013 anything new to tell us on ur progress? ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) were all wanna see a working good grade .net engine ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) 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