Search:

Type: Posts; User: Josh 4444 S

Page 1 of 3 1 2 3

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    517

    Re: Finding the center of mass

    Solved before any comments :P. For anyone interested:

    http://www.vb-helper.com/howto_polygon_centroid.html
  2. Replies
    1
    Views
    517

    Finding the center of mass [RESOLVED]

    Hi all, I've searched for a good half hour before becoming stuck on this one. If I were to have an object of uniform mass, how would I go about finding the center of that mass? I understand how to...
  3. Replies
    4
    Views
    506

    Re: Restrict a do loop

    Rhinobull got it right, a tiemr is the only way to do it. I am making a physics simulator in my class, and have been trying to avoid using timers. But, I guess that's the only way to do it so I...
  4. Replies
    4
    Views
    506

    Restrict a do loop

    Hi, is there any way to restrict a do loop so that faster processors are put on hold during the code, that is to say that one second on one computer si the same as one second on any computer? Thanks
  5. Replies
    37
    Views
    4,807

    Re: ["Poll"] Ideas for FPS game.

    Just remember who brought you Visual BASIC ;)
  6. Re: DXGame Engine - Platform Game Demo [Zip+EXE]

    :O this has made me want to learn dX. Ive never done graphics programming before, only task oriented. Congratulations.
  7. Replies
    3
    Views
    906

    Re: Tetris type game

    Ah, the fabulous search bar. Try giving these forums a quick search for direct x tutorial, you should get more than enough.
  8. Replies
    6
    Views
    476

    Re: very odd problem with file print

    No, I think it is the same as with printing to the form. Every time you write print it will make a new line, if you add ; it should print to the same line. Alternatively you could print "hello" &...
  9. Re: How to increment and decrement variable and use it inside module?

    Really? Thats bad coding practise? I didn't know that - it seems to be useful and saves time and memory to have only one variable defined than to have a different variable defined for every...
  10. Replies
    7
    Views
    1,011

    Re: How Can i make this simple Group?

    So you want a movable box which, when you move it, a line and a frame 'shadow' it? Also, if you move the shadowing frame it will reposition the line?

    If the box is moved by code, simply do...
  11. Replies
    6
    Views
    1,046

    Re: How to make grid visible ?

    jeroen79 is right, you need to manually add lines to your program. There is another way though, assuming your images for your grid are bigger than say 5px wide and high, you can make a 'test'...
  12. Replies
    5
    Views
    854

    Re: Someone Help me in Zooming my Form!!

    Keith is right, there is no zoom command. The only way to zoom is actually to trick the user into thinking they are zooming by manually changing the size and repositioning all of the objects. ...
  13. Re: How to increment and decrement variable and use it inside module?

    There is an easier way to do this, instead of defining your variable as a private define it as a global. This way no matter where you are in the program the variable represents the same thing. The...
  14. Re: Command Button Caption Right of Icon

    A caption right of the icon? What do you mean by that, as in an icon and a caption on one command button?
  15. Re: Saving options for next time the program is loaded

    The obvious way is to set a data file to be read when the program opens. Try:

    'Put this in Form Unload
    Open "C:\MyProgData.xyz" For Output as #1
    For X = 1 to NumOfVariables
    ...
  16. Replies
    6
    Views
    623

    Re: Keyboard input during loop

    I'll take a look at your code, give me a second. Although with DoEvents it should cover it...

    EDIT: PANIC! my new computer doesnt have VB6 yet! Panic! In other words, can't help you out...
  17. Replies
    2
    Views
    1,091

    Re: Card game AI

    http://vbforums.com/showthread.php?t=413132

    Same thing in theory, but different. Start out there. Also, search for AI on this forum. What game are you making? Poker, blackjack?
  18. Replies
    10
    Views
    2,346

    Re: Artificial Intelligence

    The easiest way to do this (not the fastest) is to take it one step at a time. Set a goal - such as make teh computer create 5 villagers and then gather resourses until you advance an era. Also,...
  19. Replies
    2
    Views
    485

    Re: Imagery Rotation

    Heh, image rotation you will need either directX or plgblt, a lesser known version of bitblt.

    However, I will write some quick collision (only detects for a box shapped object)


    'Note where I...
  20. Replies
    6
    Views
    623

    Re: Keyboard input during loop

    Simplest way (although slows down the loop considerably) is to write DoEvents somewhere in the loop. That way it will accept user input while looping.
  21. Re: What book titles are good for beginner and advanced VB6

    Personally I like the VisualQuickstart books, although I have not learnt vb from them. I have both the HTML and Javascript books from them and I find htem very good with a quick introduction then...
  22. Replies
    10
    Views
    630

    Re: String Help

    Hmm, im not opening VB here or anything, but an obvious (but slow) way to find out would be to set an array with all the search numbers with one element per number, then check them against the master...
  23. Replies
    13
    Views
    819

    Re: Need help in vb

    First, im surprised that with about the same amount of posts as I have, you are still getting away with posting such vague titles. Please make it more specific in the future :P

    Anyways, I believe...
  24. Replies
    9
    Views
    943

    Re: Capturing sound from speakers

    perfect, thanks. and btw, i'm also from canada, probably about an hour and a half north of you :D. great weather today, so sorry bout the time between my posts i'm in and out.
  25. Thread: Recovery

    by Josh 4444 S
    Replies
    6
    Views
    507

    Re: Recovery

    yeah it looks like its gone, and bushmobile has said something VERY valuable (took me 2 months or so to figure it out) use control break to stop your code while debugging. the break button is...
  26. Replies
    14
    Views
    1,026

    Re: Type Mismatch

    erm... this seems a little obvious but isn't i currently undefined? msgbox both i and val(counter) before that line, and see what the values are and if you can compare them.
  27. Replies
    13
    Views
    720

    Re: String question

    No problem, just dont forget to rate my post :)
  28. Replies
    13
    Views
    720

    Re: String question

    Answered that :-)
    Just modify it to fit right in.
  29. Replies
    13
    Views
    720

    Re: String question

    Private Sub Command1_Click()
    Dim str As String
    Dim lett As String
    str = InputBox("Enter a string")
    lett = InputBox("Enter a letter")
    If InStr(1, str, lett, vbTextCompare) = 0 Then
    MsgBox...
  30. Replies
    9
    Views
    943

    Re: Capturing sound from speakers

    Obviously if it is getting to the speakers there must be some data being sent - it just doesnt magically go from the program to the speakers (or so I am assuming :P). I figure as with most things...
  31. Replies
    9
    Views
    943

    Re: Capturing sound from speakers

    That would work if I was looking for a hardware solution, unfortunately I am trying to attack it by going through a software approach. This way it would work on multiple computers as well as keeping...
  32. Replies
    9
    Views
    943

    Re: Capturing sound from speakers

    Doesn't seem to be what I'm looking for... Maybe I'm not reading into it enough but from that I can only see a way to monitor the hardware.

    What I am trying to do is have sound coming from my...
  33. Replies
    2
    Views
    347

    Re: Dragging images, help!!

    What games experience do you have? Are you bitblting or moving picture boxes, or another display method?
  34. Replies
    7
    Views
    519

    Re: restricting web pages

    As hard as you try there is always going to be some way to get around a universal blockade of the net. I know - my school tried it :P. One simple solution is to use another browser, or the user...
  35. Replies
    9
    Views
    943

    Capturing sound from speakers

    I thought a rudimentary question like this would have been answered already, but i couldnt find it in the search. Oh well, here goes.

    I want to capture audio coming from the speakers - not audio...
  36. Re: Randomizing Positions of Images

    If all pictures have the same width:

    Option Explicit

    Private Const IMG_WIDTH = 50 'the width of the picture
    Private Const NUM_IMAGES = 16
    Private Const START_POS = 50
    Private Const...
  37. Re: can any one plz help with this simple game?

    What i think they are getting at Sub_Zero is if you want to take your game programming skills to the next level you must use some kind of display device BESIDES moving objects around on the screen.
    ...
  38. Replies
    5
    Views
    939

    Re: Newbie code inquiry?

    varr = 56789
    varr = varr/100
  39. Replies
    5
    Views
    553

    Re: CopyMemory API

    Well I have not been able to completley remove a var from the array. Care to take a little time and explain how to do that?
  40. Replies
    5
    Views
    553

    Re: CopyMemory API

    Yeah, I was trying to take the laze mans route and copy it to the array starting at the values which were left alone. I'll try that out now.
Results 1 to 40 of 91
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width