Search:

Type: Posts; User: darkintheforest

Search: Search took 0.12 seconds.

  1. How can I FillRectangle a checker pattern using a for loop

    I'm not coming up with a checker pattern, It never shifts correctly per row. What am I doing wrong



    Public Class Form1
    Dim tileSize As Integer = 48

    Dim buffer As New Bitmap(192,...
  2. I have a fully working program now, can someone help turn this into something?

    I marked a previous Thread as resolved, because I completely messed everything up. So I don't expect anyone to try to unravel that mess.

    This time, I took the time to complete a working program....
  3. Re: [RESOLVED] Back to bits and byte, I forgot something and have another question?

    I don't expect anyone to help with this -> its nuts, ill start over!
  4. Re: Back to bits and byte, I forgot something and have another question?

    I got this much to work, can someone correct this mess for me please?

    ***REQUIRES A PICTUREBOX WITH BLACK BACKGROUND***

    I'm trying to print the table of fonts in the correct order in the...
  5. [RESOLVED] Back to bits and byte, I forgot something and have another question?

    I have ->


    Dim c As Byte = 187

    Now I would like to change it back to binary, but for a specific reason. I can do the arithmetic, but instead please note what I'm trying to do.

    I need the...
  6. Re: Question about bits and bytes in visual basic?

    That helped thanks, here is how it worked for me.



    Public Class Form1

    Dim c As Byte

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  7. [RESOLVED] Question about bits and bytes in visual basic?

    I have a string which is a representation of a binary 8 bit number

    The string is (just random 1's and 0's). -> 10111011

    The point is, that it's 8 bits.

    I would like to translate this into a...
  8. Re: OOP question about base and derived methods and the .Find method of collections?

    I came up with another question before I conclude this. In your example, this is my first encounter with a Lambda expression - I just use Delegates. Can you or someone please explain not the .Find...
  9. Re: OOP question about base and derived methods and the .Find method of collections?

    That takes care of it thanks! Works great!
  10. Re: OOP question about base and derived methods and the .Find method of collections?

    I will be away for about an hour .paul, thanks for the help. I will look for any responses and continue this thread as soon as I get back.
  11. Re: OOP question about base and derived methods and the .Find method of collections?

    Problem again. I have several different derived classes that branch out of the base class. So If I do it the way you say, then the derived class will be in the collection but other derived classes...
  12. Re: OOP question about base and derived methods and the .Find method of collections?

    The base class is in the collection, not the derived class and the .Find method uses an Id member variable in the base class to look it up.
  13. OOP question about base and derived methods and the .Find method of collections?

    I have a class and a derived class. The derived class has more methods than the base class. The base class is in a collection that I use the .Find method on. After finding the class, I make use
    of...
  14. Re: Override method problem

    Thank you, I just wanted to make sure there was not a better way to make my code more readable!
  15. [RESOLVED] Override method problem

    I have the following in one of my classes



    Public MustOverride Property IsBlocked As Boolean


    In the derived class I can easily override this method, but I have a special case scenario...
  16. Re: I seem to have got mixed up about this (ctrl-clicking)

    Just found Controls.ModifierKeys - forgot about all these vb gadgets.

    So basically you need to check if the modifier keys match the key you want in the event where you want it tested. in this case...
  17. I seem to have got mixed up about this (ctrl-clicking)

    I would like to clear a picture box if a use clicks in it while ctrl is pushed, but I want ctrl to be open for use by other controls since keypreview is set to true.

    What is the correct way of...
  18. Replies
    0
    Views
    1,101

    Dialogue scripting troubles!

    Has anyone here ever implemented a Dialogue System? I'm having trouble organizing my thoughts around this.

    I have an NPC class. If the NPC is encountered by a player, I want a scripted dialogue to...
  19. Re: I have a little trouble with a ListBox

    Excellent, thank you - I found out I had SelectedIndex <> SelectedItem tunnel vision - lol. That solved it!
  20. Replies
    4
    Views
    2,511

    VS 2013 Re: auto press enter key

    Something else you might want to consider is a different point of view on automation. You can always automatically call the keypress routine and set it up in code anyway, but for this not to be...
  21. I have a little trouble with a ListBox

    I'm trying to get the selectedvalue to show up in the titlebar, which should be 100 and an integer but it keeps defaulting to the index. What am I doing wrong. This requires a single listbox on a...
  22. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    Thanks, for taking the time techgnome! - I'm finished for tonight, it's late here. I did run your example and it runs fine. I will try to digest it tomorrow.

    Thanks again.

    Hey, I will post...
  23. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    techgnome I'm reading your post as I write this - Let me show you the hell I created for myself after traversing the msdn lib. Can anyone fix this. It's not shortest path yet, All Im trying to do in...
  24. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    This is what I have so far: Not sure where to next.



    Dim r As New Room
    r.name = "Bedroom"
    Dim r2 As New Room
    r2.name = "LivingRoom"
    Dim r3 As New...
  25. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    I'm back at what jmcilhinney said. If you are still here, I have a question. It turns out it's not the same thing I did. You mentioned enumerating the adjacentrooms collection. Based on your example,...
  26. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    I'm still looking but found this if anyone else is looking. It will take me a little time to look through it, but the site looks very good!...
  27. Re: Having some trouble with I think it's supposed to be linked lists, but I'm not su

    Alright, thanks - I'm with you on that, I had something similar or should I say, now the same. Can we take it one step further on how I would apply a path or shortest path to let's say 5 or so rooms,...
  28. Having some trouble with I think it's supposed to be linked lists, but I'm not sure?

    I'm trying to do the following.

    I have a large building with a dozen rooms. Each room is an object that has exits to one or more rooms. How can I set this up as objects, so I can apply a path to...
  29. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  30. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  31. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  32. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  33. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  34. Re: Basic Tile Engine setup with rudimentary collision detection

    Todo
  35. Looking for a small random function

    I am looking for help with a stable random function. I have a rectangle that can be various sizes. So let's say 100 x 60. I would like to select a single point on it randomly. That's all simple.
    ...
  36. Basic Tile Engine setup with rudimentary collision detection

    Todo
  37. Problem with the graphics

    Delete
  38. Correction: Error in code

    Delete
  39. GDI+ Graphics routine for game animation

    Delete
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width