CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Pixlegamer

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Thread: New to this

    by Pixlegamer
    Replies
    6
    Views
    737

    Re: New to this

    Thanks Kirants that's what I Thought ^^

    Thx for the links Andreas I'll check them out..

    Btw, (Before I've checked the links, can I use multithreading with VB?)
  2. Thread: New to this

    by Pixlegamer
    Replies
    6
    Views
    737

    New to this

    Im quite new to programming and just recently heard about this called multi-threading. I've gotten the impression that it's something like many things that can be done at the same time, correct? (How...
  3. Thread: Lotto Game

    by Pixlegamer
    Replies
    9
    Views
    1,079

    Re: Lotto Game

    You mean like choose random numbers and it dsoesn't matter if you get two of the same number?

    you could probably use something like this:
    Dim lottery() As Integer

    Private Sub Command1_Click()...
  4. Replies
    5
    Views
    817

    Re: Gameloop speed?

    Okay, but lets say, I want to check for keyboard input all the time, but when I'have done something, I don't want it to happen again for a set time, like a cooldown time for a bazóoka or...
  5. Replies
    2
    Views
    840

    Re: GetASyncKeyState question?

    Well yah probably not, thanks, I'll just know when I make an exe then ^^
  6. Replies
    2
    Views
    596

    Re: Blitting to a picture?

    The name is Picture, but maybe picture is an illegal name, I'll try to change it...

    EDIT: Yay it works now =)
  7. Replies
    2
    Views
    840

    GetASyncKeyState question?

    Hi, I'm using GetASyncKeyState API to get my keyboard input.
    But the weird thing is, if I press a button, before I start my project, and then start the project (after releasing the key), then the...
  8. Replies
    2
    Views
    596

    Blitting to a picture?

    Is it even possible to blit to a picture?

    Because when I try to use this line of code:

    BitBlt Picture.hdc, 0, 0, 200, 400, BackBuffer, 0, 0, vbSrcCopy

    I get this error message:

    Object...
  9. Thread: Lotto Game

    by Pixlegamer
    Replies
    9
    Views
    1,079

    Re: Lotto Game

    Yep, and shouldn't need to use the nlucky variable either, or maybe it's faster in someway I don't understand? Because you could just use:
    lottery(ncount) = Int((59 * Rnd) + 1)
    instead of the...
  10. Replies
    5
    Views
    817

    Re: Gameloop speed?

    Lol yeah, thanks for the help, I have no idea why I didn't think of setting the Keycheck outside the if statement :P ^^

    Yeah I know about the thing moving at a speed / second, or what o say, but...
  11. Replies
    5
    Views
    817

    Gameloop speed?

    Well I have no how to make a gameloop and use GetTickCount to set it at a certain FPS, but now I want to make a loop, and have different things happen at different intervals, well I can explain what...
  12. Replies
    6
    Views
    1,032

    Re: Passing UDTs as arguments

    Aha okay, thx than I know ^^, BTW what is a variant?
  13. Replies
    6
    Views
    1,032

    Re: Passing UDTs as arguments

    But I've tried that and it doesn't work =(...
    Because I don't even get that error anymore that they has to be defined in the publiv module.

    EDIT: lol now it works, I had to put all my other...
  14. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    I just mean like you said, a 3x3 array, then that block ####, wouldn't fit in such an array, but that doesn't matter 'cause I'm doing it a different way now... :)
  15. Replies
    6
    Views
    1,032

    Passing UDTs as arguments

    Well i'm wondering if this is possible?

    Because in tetris game I'm working on, I wnat to send 4 UDTs as args which holds X and Y position. But it seems as it wont work.

    First VB said that I...
  16. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    No I don't think I will be using an array, because also, I can't store the
    ####
    block in such an array.

    I think I will amke for blocks, dimed as :

    dim pos1, pos2, pos3, pos4 as Position
    ...
  17. Replies
    10
    Views
    1,664

    Re: how to compare a textbox text as string

    You mean you would likt o know if it is a byte a long or double for example?
    well maybe you could do something like this:


    If IsNumeric(Text1) Then
    If Int(Text1) = text1 then
    If...
  18. Replies
    10
    Views
    1,664

    Re: how to compare a textbox text as string

    HairyMonkeyMan wrote:

    If Not IsNumberic(Text1) Then
    MsgBox "Text1 contains a string"
    End If
    Isn't that what you want?
  19. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    Wow, Thanks Cjard for your reply, it's really helping me ^^, I've read it now for an hour or so :P to try to get everything, but I still have some questions

    I understand the formula is disturbed,...
  20. Replies
    9
    Views
    931

    Re: Storing maps in 2D arrays?

    Well I still don't really know what you are trying to say since my projects is going on fine and all...
    But I guess I'm using BA now to save my mapArray, and I don't see why I should use RA? What's...
  21. Replies
    9
    Views
    931

    Re: Storing maps in 2D arrays?

    Wow I thought this thread was dead :P

    What is Random Access method?
  22. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    Yay okay thanks, sounds good =)...
    Yeah I already have that api guide, I have translated it into swedish too ;)
  23. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    By paint them on the fly, you mean like using line methods, to draw the blocks and don't use images right?
    Okay thx I'll look at those links, and that region thing sounds interesting, do you have...
  24. Replies
    8
    Views
    626

    Re: Version number of my application

    I don't know if there is anything special about version number and such.

    But I suppose a real simple thing like just make a MsgBox "Version 1.04" (for example) could do it and you just change it...
  25. Replies
    17
    Views
    2,908

    Re: How to make "Blocks" in a tetris game?

    Spuppett: Yeah I have always thoguht of making an array of booleans for the game area, but I still don't know how to make the "blocks"...

    Sabin_33: Thanks, ^^ I don't now why I didn't think of...
Results 1 to 25 of 59
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured