Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

.NET ENGINE v1.0


Guest
 Share

Recommended Posts

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.
Link to comment
Share on other sites

> 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

> 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

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

> 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

> 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

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

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

  • 2 weeks later...
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

> 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

You'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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...