Search:

Type: Posts; User: metalmidget

Page 1 of 11 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    14
    Views
    19,848

    Re: VB6- Blast Away! [exe and source]

    Bad news :(

    The files are no longer retrievable from where I used to store them, and the originals were on an old computer that's long since become trash.

    So I don't have any way of getting it...
  2. Replies
    14
    Views
    17,178

    Re: VB6-2D Side Scrolling

    Note that I said if you wanted to draw the 10x10 square of pixels from the bottom right of a 100x100 square. The coordinates (90,90) is where such a square would begin.
  3. Replies
    14
    Views
    17,178

    Re: VB6-2D Side Scrolling

    Sorry, can't help you with this. All I can do is suggest you look up the documentation for bitblt, and see what it says is required in the newer versions of VB.
  4. Re: Help between a Compound Interest and a Simple interest loan formula

    Hire purchase is when you buy something in retail, but don't have to pay straight away. For example, you've probably seen those ads on TV (usually for expensive things like furniture, TVs, Hifi stuff...
  5. Replies
    14
    Views
    19,848

    Re: VB6- Blast Away! [exe and source]

    Glad to hear you liked it! If you're still looking for articles on 2D collision detection, I recommend this one. Just change the last part of the URL to tutorialB.html for the second article in the...
  6. Replies
    8
    Views
    14,413

    Re: VB6: 2P Cannon Game [Source and Exe]

    This is the first version of this game that I made. Go check out the red link in my sig to see the final version with powerups, AI, nicer graphics etc. Let me know what you think!

    cheers,
    metal
  7. Replies
    14
    Views
    17,178

    Re: VB6-2D Side Scrolling

    Erm... Just change the code slightly so you're using .Top and .Y values instead of .Left and .X.

    What do you mean? Try to elaborate a bit more on your question. If it's not something related to...
  8. Re: Almost Totally New To VB - Want To Make A Game!

    Not to dishearten you, but games programming can be pretty difficult. It's generally a good idea to learn the language before wanting to make a game. You're going to need to have a firm grasp of...
  9. Re: Trying to use break and continue from an inline function.

    I was about to launch into a justification of why I wanted to do it this way, then I had a epiphany.
    A slight change to my program's structure will take care of what I'm trying to achieve, so...
  10. [RESOLVED] Trying to use break and continue from an inline function.

    Note that this is C, not C++.
    I have a function declared as inline which basically amounts to something like:
    inline void funct()
    {
    //some stuff
    if (something)
    continue;
    else
    break;
    }
  11. Re: C: Not sure about use of free()

    So you're working the streets of St. Kilda these days? :p
  12. Re: C: Not sure about use of free()

    Thankyou muchly Mr. Mod:)
  13. [RESOLVED] C: Not sure about use of free()

    In my C program, I've allocated memory using this:
    printf("Sorting.\nSort how many numbers? ");
    scanf("%ld", &n); //get input for number of numbers
    int *pIntArray; //declare pointer, which will...
  14. Replies
    17
    Views
    1,996

    Re: Making games!? (beginnner)

    well that's not what we're here for. You come up with the ideas, try them, then ask us specific questions if you're struggling with something. We won't tell you what to do, or just give you source...
  15. Replies
    17
    Views
    1,996

    Re: Making games!? (beginnner)

    Both true, but also keep in mind that most (if not all) the tutorials in the G&G FAQ are done in VB6. In theory it shouldn't be too hard to convert them though.
  16. Replies
    17
    Views
    1,996

    Re: Making games!? (beginnner)

    :eek: I'm honoured that our new mod would recommend my work!:p
    Are you talking about my full game, or one of my tutorials? I hope you don't mean Blast Away, I don't know if a true beginner would...
  17. Re: [RESOLVED] Moving the pacman from 1 side of form to another

    Ah right, yeah. I forgot about that. Stupid twips.:mad:
  18. Re: Moving the pacman from 1 side of form to another

    I can't see anything wrong with that line itself... What do you mean by "he only hides"? Does he just disappear as soon as he goes off the edge of the screen and not come back?

    metal
  19. Replies
    3
    Views
    1,041

    Re: flickering sprites?

    Chem is right. You should be using bitblt for your graphics rather than image or picturebox controls.
    Allow me to point you in the direction of my signature, which has a tutorial on how to implement...
  20. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    In a word, yes.
    Just a word of caution- I've noticed that twice you've posted code with the gameloop and /gameloop lines in it. Just making sure you realise that those aren't real lines of code,...
  21. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    When you get errors, it helps if you tell us the exact error. Hopefully we can understand it and use it to solve the problem- that's why the compiler describes the error to you.
    Looking at those...
  22. Re: Making a space type game, one little question?

    Please check the FAQ before posting. You'll find your answers there.
  23. Replies
    9
    Views
    2,457

    Re: VB6 BitBlt to DirectX

    I refuse to believe that there's anything bitblt can't manage at 3 FPS, however, if you want to use DX, go for it! It's a great tool, and something you'd probably end up using anyway if you take...
  24. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    If you have any questions about my code feel free to ask and I'll explain it. I think most of it's pretty well organised and done efficiently, but I do recall there being a few things where I just...
  25. Replies
    2
    Views
    1,841

    Re: C Data type abbreviations

    awesome, thanks

    metal
  26. Replies
    2
    Views
    1,841

    C Data type abbreviations

    int input;
    scanf("%d", &input);
    If I understand correctly, the first parameter of the second line of code is the abbreviation for an integer variable. What's the abbreviation for a long?

    cheers,...
  27. Replies
    12
    Views
    1,002

    Re: Book for learning C for uni course

    Even if that was true, it would then leave the problem of me trying to write something in C and it not compiling because I put something from C++ in there.

    metal
  28. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    Yeah I realise that autoredraw creates the backbuffer, but the point is that using bitblt with the buffer will mean that everything gets presented at the same time.
  29. Replies
    12
    Views
    1,002

    Re: Book for learning C for uni course

    OK so I had a lab for this subject today, and the woman taking us for the lab said that the set text was OK, but that this was a better book. I think this is what I was after when I referred to...
  30. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    I see what you're getting at here. Because of the line-by-line nature of code execution, you'll see one section of graphics move, then the next, then the next. I have 2 answers to this:
    Firstly, if...
  31. Replies
    9
    Views
    2,457

    Re: [RESOLVED] VB6 BitBlt to DirectX

    You're welcome! What was the other forum you asked at, out of curiosity? And what turned out to be the slow piece of code?
  32. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    I just realised I don't know whether you're using VB6 or .net. Which are you using?
  33. Replies
    12
    Views
    1,002

    Re: Book for learning C for uni course

    Nah I don't think I need OOP, it was just in some extra sections of the set text for this subject. I'll ask the subject convenor tomorrow whether or not the OOP in the book will actually be used.
    ...
  34. Replies
    47
    Views
    5,193

    Re: Need some help with animation

    Ahh, if I'd been even slightly less lazy and even glanced over your project I would've been able to give you some tips that will improve performance dramatically.
    For starters- timers are evil. You...
  35. Replies
    9
    Views
    2,457

    Re: VB6 BitBlt to DirectX

    Out of curiosity, I made a test project. I was going to push it until it started to lag, but when it easily did 2500 sprites moving at random speeds across the screen at the fastest rate a standard...
  36. Replies
    12
    Views
    1,002

    Re: Book for learning C for uni course

    That's all good advice, but I was hoping for some titles... :p

    cheers,
    metal
  37. Replies
    12
    Views
    1,002

    Re: Book for learning C for uni course

    As far as I know the course sticks to C at first. THe subject it's for is called "Robotics and Mechatronics Project", so I think the programs should be fairly basic procedural type stuff to guide a...
  38. Replies
    9
    Views
    2,457

    Re: VB6 BitBlt to DirectX

    Bitblt is fast. If you don't believe me, you can check the game in my sig, which was done entirely with bitblt. It can do stacks of fast-moving sprites at up to 100 FPS. Taking 20 seconds to draw...
  39. Replies
    12
    Views
    1,002

    Book for learning C for uni course

    Today I started an Engineering/Science double degree and the language we focus on for first year is C. I knew this already so I don't know why I've left it this late to ask the question...
    The set...
  40. Thread: Game Help

    by metalmidget
    Replies
    2
    Views
    834

    Re: Game Help

    Periodically add some value to the .Top value of each shape

    I believe I already answered your question about collision detection. All you have to do is find the collision and then set .Visible to...
Results 1 to 40 of 404
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width