dcsimg

Search:

Type: Posts; User: kivisoft@

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    940

    Re: Sea of variables!

    Olaf

    I've read your post carefully. I'm not sure if I understand how the events are raised inside the classes and how they are handled.
  2. Replies
    5
    Views
    593

    Re: a troublesome function

    As he said, something is wrong with CanTake function. from what I can see in his code, the function loops through the inventory slots to see if the specified item exists (so there wouldn't be two of...
  3. Replies
    5
    Views
    593

    Re: a troublesome function

    Hi! Sorry, I have no idea what is wrong in your code! quick question though. Is the game yours? if it is, how did you use VBScript to control stuff in your game (Considering the game is yours).
    ...
  4. Replies
    9
    Views
    940

    Re: Sea of variables!

    The DataBase idea is a pretty good one. There are so many other things I can just put in there in order to dramatically decrease the number of unnecessary variables.

    I'll submit a copy when it's...
  5. Replies
    6
    Views
    2,851

    Re: Issue while creating exe file

    At one point the wizard will compile your project before creating a setup package for it. after the compilation is over, you can cancel the wizard.
  6. Replies
    9
    Views
    940

    Re: Sea of variables!

    I don't think if I want to go down that road!




    Most arrays in this engine are not dimensioned at all. I use "Redim Preserve" to add the required elements at run time which is something. but...
  7. Replies
    6
    Views
    2,851

    Re: Issue while creating exe file

    I faced that problem once before and only because I had a hundred arrayed ImageBoxes containing heavily stretched high quality images! hopefully the VB6 package and deployment wizard can do a better...
  8. Replies
    9
    Views
    940

    Sea of variables!

    I really don't know where to put this question so I just go ahead and put it here!

    I'm currently working on a 2D RPG game engine and suddenly realized how considerable is the number of variables....
  9. Replies
    14
    Views
    1,772

    Re: On Error GoTo

    Everything seems to be working fine! it would help if you post the whole routine.
  10. Replies
    14
    Views
    1,772

    Re: On Error GoTo

    I use On Error Goto hell if there is possibility of Subscript out of range and it works fine. This is the structure I use:




    Private Sub Blah()

    On Error Goto Hell

    'Error is raised
  11. Re: [RESOLVED] Problem comparing two strings

    It is unreasonable that unprintable characters could affect the length of the string while technically it doesn't!
  12. Re: Problem comparing two strings

    I ran a length check on both strings. the one stored in variable was 2 while the one derived by MID$ was 1! a Instr() check showed that there is indeed chr(10) in the string so I used replace...
  13. [RESOLVED] Problem comparing two strings

    Hey all

    For some reason I need to compare two letters. one stored in a variable and one is returned by MID$ function. The weird thing is that for some reason the compiler returns the comparison...
  14. Re: Game save file, format and etc. for vb .net games - this is a general question.

    The basics are simple. you would want to save the values of every important variable in your game in an INI or XML file to load them into your program latter. let's say you have a sprite that you...
  15. Replies
    7
    Views
    1,892

    Re: Keyboard simulator

    You must realize that FN key has no key code of it's own, but effects the key codes of other keyboard keys. for example the key code of f6 (which increases the brightness in my lap top) is 117, but...
  16. Replies
    3
    Views
    1,697

    Re: Keeping Score in VB 6

    You will need to use collision detection to determine whether the ball has escaped the screen or not.

    the easy way to figure out who scored the point, simply use a variable of type Boolean for the...
  17. Replies
    1
    Views
    454

    Item Management

    Somehow I can't come up with a good item management system for the GameEngine I'm working on right now. I need it to be Flexible enough for an RPG game. I wanted to know what are your Approaches in...
  18. Re: Copy a picture from one Picturebox to another but only non-white

    I admit that GetMask function is very slow that is why I never use it myself but I also didn't necessarily meant that with GetMask, everything is much faster!(I know it's slower and it's crap!) I...
  19. Re: Copy a picture from one Picturebox to another but only non-white

    You should know that using a mask is a method that is usually used to add more speed and since it's risk-free, it can be reliable.
  20. Re: Copy a picture from one Picturebox to another but only non-white

    Because it's time consuming. with a mask, transparency is just a matter of svSrcAnd and vbSrcPaint opcodes. if you check carefully you realize that the background color of your original picture is...
  21. Re: Copy a picture from one Picturebox to another but only non-white

    If the Original picture is drawn by the user then use this function to get it's mask:



    Public Function GetMask(PictureB As PictureBox, SImage As Image) As Variant
    Dim X As Long
    Dim Y As Long...
  22. Re: Copy a picture from one Picturebox to another but only non-white

    You can also do that using BitBlt which is the best alternative to TransparentBlt if your running into issues with it. it's really so easy. you need two versions of the picture. One picture is called...
  23. Replies
    17
    Views
    3,025

    Re: Off to France in 10...9...8...

    Faites un bon voyage mon ami !!!
  24. Replies
    6
    Views
    4,549

    Re: A simple question about MDI CHILD size

    He's problem is that the Childforms that open in FullScreen, go under the picture box and picture box comes on top of them.

    Sorry! that is just how picturebox works on MDIForms.
  25. Re: Copy a picture from one Picturebox to another but only non-white

    Use TransparentBlt instead
  26. Re: Trouble adding User Control and Related Document

    right click on the project explorer > Add > Add File....
  27. Re: Trouble adding User Control and Related Document

    right click on the project explorer > Add > Add File ....
  28. Re: The weirdest thing that ever happened to you!

    I'm sure he was just messing with you!
  29. Re: The weirdest thing that ever happened to you!

    I seem to be walking in my sleep because one morning my mother told me something which was very weird! she told me that last night, I came in the living room and went directly to the calender and ask...
  30. Replies
    11
    Views
    1,029

    Re: changing font size of a string

    You should really stay away from controls as far as you can when it comes to dealing with stuff like that but you might want to try this. Add a RichTextBox and timer to the form and change the...
  31. Replies
    70
    Views
    48,162

    Re: Nintendo Emulator v0.65 (VB6)

    Really?! sounds like a true pain! it's like reading a note in chines!
  32. Re: problem on mdiform and toolbar

    Set a picture box in the desired position on the toolbar, make it flat and set the border style to none and change the back color to the color of the toolbar. then add the label on the picture box.
  33. Re: problem on mdiform and toolbar

    just drag and drop them on the toolbar. toolbar is a control container like a form or a picture box. in your case, toolbar is the obvious choice
  34. Re: problem on mdiform and toolbar

    You can add textboxes and labels on the toolbar.
  35. Replies
    15
    Views
    1,637

    Re: Need a piece of code optimized for my need!

    Success! I ran a benchmark for 20 to 50 sprites and it ran smoothly, but when it comes to 100 and higher, it gets shaky! hints on how to increase performance is welcome. thank you!




    'in the...
  36. Replies
    70
    Views
    48,162

    Re: Nintendo Emulator v0.65 (VB6)

    I agree the whole argument on Which one is better (VB6 or VB.NET) is just stupid. Every language has it's capabilities and it's limitations, I always laughed at those who say "C++" is good for...
  37. Re: The weirdest thing that ever happened to you!

    Yeah I suppose that is dumb and weird! Not knowing how you look like!!
  38. Replies
    15
    Views
    1,637

    Re: Need a piece of code optimized for my need!

    This is not random! works but the last objects is not drawn! also does not work when you change the Z_Depth in Run-Time

    Obj_Zdraw() contain Index numbers of objects, so I thought in the process of...
  39. Replies
    15
    Views
    1,637

    Re: Need a piece of code optimized for my need!

    I've checked your rigid body collision detection, I'm definitely gonna add it to the engine but as I mentioned in the pm, the engine could be used for all kinds of games (Strategy, RPG, Arcade,...
  40. Replies
    21
    Views
    1,427

    Re: comparing list box to text

    I've written an app for you which do exactly that but it was much easier if those first digits were stored in a array.
Results 1 to 40 of 107
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width