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

Lavos

Members
  • Posts

    867
  • Joined

  • Last visited

Everything posted by Lavos

  1. > exactly. but not everyone realizes that. I think that's a good thing…sometimes, right?
  2. > this topic is going to make a ton of people who are full of themself about their "skills", gonna make them rage. just saying. I donno the people seem very "h a p p y " to me.
  3. Everyone of these people are talanted! > Me on a list? Do i really deserve those position :D Off Topic: I saw a caterpillar, so i immediately slam the door shut and ran away.
  4. > Idk vb, but you can probably create a data-structure for that. A list for example. Google it, it isn't too hard and is probably the solution to your problem. > > > > -seal > > > > edit: idk if that's possible in vb (i didnt use a non-object-oriented language for a long time), but maybe there is already such a thing that you can just import and use? idk. Good luck. :D You don't think ive tried google? [attachment=995:Googled.png] I don't there they are really efficient for me to use. I see lines of code on EO that don't normally show up as example in google.
  5. Okay this is how my code looks, I've the variables to a definition: ``` Option Explicit Public Const MAX_MODEL_NUM As Long = 5
  6. Dreamcast was good, the first console that introduced netplay. It's just too good to be true that they will be entering the industry again with high competitors. If they can bring back the games from 1988 ~ 2004 and mix it with the new technology they have to offer today, I'm sure they will succeed. Again its just too good to be true.
  7. id go for the 1st one.
  8. the second looks great, the first one seems to be broken though.
  9. Lavos

    Hotbar

    > How i can add Hotbar system in ES ? > > if you know please help me. Do not write if you dont know How about some effort here, the community loves it when you include a source you are trying to edit. =) its been 3 years since i've seen the code structure for ES, so i forget everything about it.
  10. Lavos

    Hotbar

    ~~How about some effort here, the community loves it when you have a post of a source you are trying to edit. =) its been 3 years since i've seen the code structure for ES, so forget everything about it.~~ Don't know why it double post, the post editor is spazzing out…...
  11. Well sorta, its really a mess when i think about it. I know Z was the purpose of measuring distance in length, While Y = 0 to the center of the origin in the quadrant scale? bleh Honestly I can't get a clear picture how it worked just by using calculations with 32 on each plane. =/
  12. > If you are just trying to make one plane flat plane with two triangles, do something like this.// TRIANGLE 1v[0].x = -32.0v[0].z = 32v[0].y = 0v[1].x = 32.0v[1].z = 32v[1].y = 0v[2].x = 32.0v[2].z = -32v[2].y = 0// TRIANGLE 2v[3].x = -32.0v[3].z = 32v[3].y = 0v[4].x = 32.0v[4].z = -32v[4].y = 0v[5].x = -32.0v[5].z = -32v[5].y = 0 Converted: ``` 'Triangle 1 With VA(0) .X = -32 .z = 32 .Y = 0 End With With VA(1) .X = 32 .z = 32 .Y = 0 End With With VA(2) .X = 32 .z = -32 .Y = 0 End With 'Triangle 2 With VA(3) .X = -32 .z = 32 .Y = 0 End With With VA(4) .X = 32 .z = -32 .Y = 0 End With With VA(5) .X = -32 .z = -32 .Y = 0 End With ``` HEY! YOU FIXED IT! Thanks man!In result:![](http://i.imgur.com/LxISs3t.png)
  13. > oks its a flat "sqaure" or "cube"?? > > first off u got so much there O.o… y so many axis's? you only need Z(Height) = 0 , X (Width) and Y(length) should be the size of it. > > If z is 0 and others look like all 0 then maybe its not the math but fact you cant have all 0's? try giving x and y numbers, like x=100,y=100. > > see if it runs. xD but i got no idea what .tu and .tv is O.o and since it exploded as triangles ..this might help you. y is the height, z is the length, tu = x (image width) tv = y (image hieght)
  14. No luck with "z" coor. = 0 im afraid the polygon will not stretch out, it draws nothing
  15. > Maybe some more info about wat this al means: > > .X = VA(5).X > > .Y = VA(6).Y > > .z = VA(7).z > > .tu = VA(5).tu > > .tv = VA(6).tv that builds the second polygon(the bigger triangle)
  16. My polygons are even Broken, they were suppose to form a square and lay flat on the matrix
  17. In my result of lack of knowledge with math i have no idea how to fix this please help me out T_T ``` Public Sub Build_Tile(ByVal Texture As String) Dim VA(0 To 7) As NEMO_VERTEX Dim i As Long Set Mesh = New cNemo_Mesh With VA(0) .X = 0 .Y = 0 .z = 0 .tu = 0 .tv = 0 End With With VA(1) .X = .X + 32 .Y = VA(0).Y .z = .z + 32 .tu = 0 + 32 + 1 .tv = VA(0).tv End With With VA(2) .X = VA(0).X .Y = .X + 32 .z = VA(0).z .tu = VA(0).tu .tv = 0 + 32 + 1 End With With VA(3) .X = VA(1).X .Y = VA(2).Y .z = VA(3).z .tu = VA(1).tu .tv = VA(2).tv End With With VA(4) .X = 32 .Y = 32 .z = 32 .tu = 0 .tv = 0 End With With VA(5) .X = .X - 32 .Y = VA(0).Y .z = .z - 32 .tu = 0 - 32 - 1 .tv = VA(0).tv End With With VA(6) .X = VA(0).X .Y = .X - 32 .z = VA(0).z .tu = VA(0).tu .tv = 0 - 32 - 1 End With With VA(3) .X = VA(5).X .Y = VA(6).Y .z = VA(7).z .tu = VA(5).tu .tv = VA(6).tv End With With Mesh .Add_Texture Texture For i = 0 To 7 .Add_NemoVertex VA(i), 0 Next .Set_CullMode D3DCULL_NONE .BuildMesh End With End Sub ``` Draws everything wrong… ![](http://i.imgur.com/PHzTwpB.png) if you need more information on definitions let me know, ill post it n_n
  18. Not too sure how your pet system works, but with handling strings using vbnullstring is better than 0.
  19. This is how i currently have it set up. ``` Public TileGird as D3DVERTEX ``` On the sub routine: ``` Public Sub Build_TileGrid(ByVal x As Long, ByVal y As Long, ByVal z As Long) Dim i As Long Dim j As Long 'we generate a grid with a random hight level for 'each control point For i = -1 To 1 For j = -1 To 1 TileGrid(i + 1, j + 1).x = (i) * 1000 TileGrid(i + 1, j + 1).y = (i) * 1000 TileGrid(i + 1, j + 1).z = (j) * 1000 TileGrid(i + 1, j + 1).tu = (i + 1) / 2 TileGrid(i + 1, j + 1).tv = (j + 1) / 2 Next j Next i End Sub ``` Now I'm stuck at what step i need to do to draw everything. Can anyone help me create a formula?
  20. thanks budweiser, this kinda helps me think of a method to build one.
  21. [VISUAL Basic 6] I'm trying to make a routine for a vertex array so i may draw 3d grid on a from using: ``` DrawPrimitive, D3DPT_LINELIST, 0, mapsize / 2 ``` and the mapsize in parameter in the data. Can anyone point me to the right direction on create a vertex array to draw a grid? this is how i have it setup for now, i want it to be a tile grid with multiple polygons. Rendered Normal: [attachment=771:test1.png] Rendered Wireframe: [attachment=772:test2.png] I need it to look like this with the floor: [attachment=773:test3.png]
  22. looks like it worked like a charm. thanks yet again tael
  23. Okay I did my code like so: ``` Public WIREMODE As Boolean ``` ``` Public Function Init_Render_States() WIREMODE = Not WIREMODE 'Setup render states With Nemo .Set_EngineCullMode D3DCULL_NONE .Set_EngineRenderState D3DRS_SRCBLEND, D3DBLEND_SRCALPHA .Set_EngineRenderState D3DRS_LIGHTING, True .Set_EngineRenderState D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA .Set_EngineRenderState D3DRS_ALPHABLENDENABLE, False If WIREMODE Then .Set_EngineRenderState D3DRS_FILLMODE, D3DFILL_WIREFRAME Else .Set_EngineRenderState D3DRS_FILLMODE, D3DFILL_SOLID End If .Set_EngineRenderState D3DRS_ZENABLE, False .Set_EngineRenderState D3DRS_ZWRITEENABLE, False .Set_EngineRenderState D3DRS_POINTSPRITE_ENABLE, 1 .Set_EngineRenderState D3DRS_POINTSCALE_ENABLE, 0 .Set_EngineAlphaBlendingOp D3DBLENDOP_ADD .Set_EngineSpecularEnable False End With End Function ``` Under frmMapEditor i have this: ``` Private Sub chkWireMode_Click() If chkWireMode.value Then WIREMODE = True Else WIREMODE = False End If End Sub ``` With the check box on the form, i wanted to toggle renderstates using the chkbox, but it doesn't seem to update, I thought maybe adding: ``` If WIREMODE Then .Set_EngineRenderState D3DRS_FILLMODE, D3DFILL_WIREFRAME Else .Set_EngineRenderState D3DRS_FILLMODE, D3DFILL_SOLID End If ``` into the gameloop might work, but it froze and crashed the compiler. Any ideas on how to get around this?
  24. One of the best 3rd Party tools highly recommended for VB6 is "[Code Smart](http://www.axtools.com/products-codesmart-vb6.php)", then there is also this for an alternative: [Link](http://www.mztools.com/index.aspx)
  25. Lavos

    Eclipse Logo?

    Need a cool looking eclipse logo, can some one make one for my engine? I prefer a dark theme is that not too much to ask. Maybe grudge font?
×
×
  • Create New...