dcsimg

Search:

Type: Posts; User: Fox

Page 1 of 13 1 2 3 4

Search: Search took 4.11 seconds.

  1. Replies
    1
    Views
    1,562

    Space ship movement formula

    Hi guys,

    In my 2D game I have a space ship defined by position, speed and angle (or speed vector if you prefer). Now the player can control both, speed and angle, by clicking on the screen. This...
  2. Replies
    24
    Views
    1,972

    Re: I'm switching to Linux

    Good step! I'll also got with Linux when leaving XP one day.

    Btw, for everyone switching to Linux I recommend Ubuntu, especially for casual users :)
  3. Replies
    23
    Views
    1,797

    Re: Nobody code's in vb6 anymore!!!

    In fact, both are. It takes such a huge amount of time for .NET programs to load for the first time, especially if the only .NET program you got is the Ati driver crap (which I already replaced by...
  4. Replies
    23
    Views
    1,797

    Re: Nobody code's in vb6 anymore!!!

    I'm still using VB6 because the .NET framework is just such a heavyweight. Good ol' VB6 is fired up in 3 seconds (or <1 second if already in RAM). If I just need to code one short line or a small...
  5. Replies
    3
    Views
    699

    Re: CSocketMaster, Listening and Connectiong

    Wrong approach. Create a new socket and accept the connection there. Close and listen on the same server object the whole time.

    Fox
  6. Thread: maximum bytesize

    by Fox
    Replies
    1
    Views
    368

    Re: maximum bytesize

    There's no maximum as the data is internally split into pieces - however you might get hundreds of pieces you have to put together manually (but at least TCP/IP only ensures the correct order, which...
  7. Replies
    1
    Views
    316

    Re: some explanation on bumodify_click

    FrmSupplierModify
    ...is a form window.

    XSupplier
    ...is a property of FrmSupplierModify (eg. "Public XSupplier as Supplier")

    Sup
    ...is the Supplier object you got from the second code line.
    ...
  8. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    Of course, I just fixed the download links.
    See the first message in this thread.
  9. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    Finally!

    Finally I had the time to take care about the screensaver problem (the Matrix didn't start when used as screensaver). The problem was mostly Windows, because it started the app minimized...
  10. Replies
    6
    Views
    5,392

    Re: VB: The Matrix [Source]

    You shouldn't do this.. DirectX environments are not a good replacement for animated application backgrounds. It would consume too much resources and performance. Do some nice gif, avi, or flash (at...
  11. Replies
    15
    Views
    14,440

    Re: DirectX8 Turntable Simulation

    Too bad there's no sound :-/ but the physics are acting well, good job.
  12. Replies
    10
    Views
    960

    Re: BitBlt problem

    Changing the color by code is a nice feature but a little more advanced, depending on the implementation. If you don't care about shadows it's fairly easy. Anyways, this can't be done in runtime due...
  13. Replies
    10
    Views
    960

    Re: BitBlt problem

    Instead of having one huge picture you should use small (but more) pictures. Eg. store 1 picture for each color, then load the pictures depending on what color you need. A general rule is to not have...
  14. Replies
    10
    Views
    960

    Re: BitBlt problem

    Yes, the Picture is too large. You could use PaintPicture instead, IIRC it doesn't need AutoRedraw.

    In any case you should find another way to solve your problem - large picture boxes are no good...
  15. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    As mentioned before there are several problems with Intel controllers that use shared video memory... Think of the matrix needing a 'real' 3d-accelerated graphics card. I don't think this will be...
  16. Re: Moved: Any Ideas on how to make your own screensaver?

    Tried mine? It's open source.

    http://www.vbforums.com/showthread.php?t=294209

    About screensavers: It's not that easy.. first make sure your program can't be started multiple times, in VB6 this...
  17. Replies
    5
    Views
    748

    Re: Adding IntelliSense

    Thanks alot, this helps me to some point... but it does not solve the problem. You can try it out like this:

    Start a new Project and add the Microsoft Script Control, place it on Form1 and name it...
  18. Re: GetPixel() returns -1 not any positive value why?

    Picture1.AutoRedraw = True
    Picture1.ScaleMode = vbPixels

    AFAIR the hDC changes here, so get the new hDC from the PictureBox here..
  19. Replies
    5
    Views
    748

    Re: Adding IntelliSense

    No what I want is those IntelliSense list that resolves the properties of the current object when typing. Eg. I dynamically add multiple objects to the script control and when the user types xxx. the...
  20. Replies
    5
    Views
    748

    Adding IntelliSense

    Adding a VBS Script Control and making it work with a TextBox or RichTextBox is very easy - but how do I add IntelliSense (autocomplete) to my TextBox? There must be a way to automatically retrive...
  21. Re: GetPixel() returns -1 not any positive value why?

    This is a little overkill I guess.. you can GetPixel() and BitBlt from Picture1.hDC directly, without using CreateCompatibleDC and such.
  22. Re: learning openGL, confused about concept of vector...

    btw: Fatal error: Call to undefined function: print_visitors_header() in /home/oyvost/public_html/functions/template.php on line 70
  23. Thread: 3D Motorcycle race

    by Fox
    Replies
    2
    Views
    644

    Re: 3D Motorcycle race

    Most assumably the answer is 'no'. Generally spoken one can create any game in VB6 (as long as the performance doesn't matter) but in your case this doesn't apply. That's what I think.

    PS: You...
  24. Replies
    2
    Views
    3,359

    Re: VB6: Xen - puzzle/strategy game [Exe]

    Update to 1.1.36

    Version 1.1.36 provides a new bonus system, thus giving the user more points for chain-reactions than in earlier versions. Also a cheat was fixed (the pause mode didn't affect the...
  25. Thread: tutorial?

    by Fox
    Replies
    2
    Views
    422

    Re: tutorial?

    Recommending the Tile engine tutorial (click the "(more...)" link) section..
  26. Thread: map editor

    by Fox
    Replies
    7
    Views
    599

    Re: map editor

    Yay I mis-read your posting the first time and later edited it.. you just replied too fast ;)
  27. Thread: Classes

    by Fox
    Replies
    3
    Views
    475

    Re: Classes

    Probably read about Modules and UDTs first...
  28. Replies
    6
    Views
    574

    Re: SeeThrough objects [VB6]

    Um.. what do you except when not enabling the Z-buffer?

    'Init
    Direct3D_Window.EnableAutoDepthStencil = 1

    'Clear
    Direct3D_Device.Clear 0, ByVal 0, D3DCLEAR_TARGET Or D3DCLEAR_ZBUFFER,...
  29. Thread: map editor

    by Fox
    Replies
    7
    Views
    599

    Re: map editor

    You're lacking a lot of theory here...

    1) Store the map tiles in your map array
    2) to draw the grid use lines and 2 (x and y) loops like: For X=0 to Width/gridsize
    (draw lines at X*gridsize...
  30. Thread: map editor

    by Fox
    Replies
    7
    Views
    599

    Re: map editor

    Learn about tile-based maps.. like here: http://fox.yhoko.com
  31. Replies
    2
    Views
    3,359

    VB6: Xen - puzzle/strategy game [Exe]

    Some of you might remember the first Xen version
    I once posted in this forum... I recently started
    working on a revised version that is based upon the
    YDK framework for 2D games.

    And well, what...
  32. Thread: Map Editor

    by Fox
    Replies
    1
    Views
    446

    Re: Map Editor

    You'll have to make your own editor because of numerous reasons.
  33. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    The source is avaible, you can add a dumb Timer that creates the text in intervals...
  34. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    It probably doesn't like the renaming from executable to screensaver.. as screensavers are often used in virus mails. *shrugs*
  35. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    Intel Cards with shared memory can be really annoying... I heard the latest YDK versions do support them (using software vertex processing and/or software renderer) but it's really weird that you can...
  36. Replies
    94
    Views
    54,975

    Re: VB: The Matrix [Exe+Source]

    Unfortunately I did not yet happen to see the problem on my computers... But people seem not to have any problems with my other screensavers (which use Yhoko's YDK), please try one of them and tell...
  37. Replies
    30
    Views
    22,933

    Re: VB - How to use Alternate Data Stream files

    Someone should test that out.. I guess this works on your local computer, eg. you can't send ADS by mail but copying from C:\ to D:\ keeps the data.
  38. Replies
    30
    Views
    22,933

    Re: VB - How to use Alternate Data Stream files

    In the meantime I did a little research on ADS. I have to correct my last statement, it looks like ADS can be copied with files to other computers.

    - To check the real free disk space use 'chkdsk'...
  39. Replies
    30
    Views
    22,933

    Re: VB - How to use Alternate Data Stream files

    I knew about ADS streams and the vulnerability but didn't realize it was THAT easy to handle, even in VB. Glad ADS Locator didn't find anything here (except some test ADS I just created and forgot to...
  40. Replies
    30
    Views
    22,933

    Re: VB - How to use Alternate Data Stream files

    This is scary. The file is not even included in file size operations, I stored some ADS data into a new folder and it didn't grow at all. What the heck is MS thinking?

    Is there really no way to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width