Search:

Type: Posts; User: pocket

Search: Search took 0.06 seconds.

  1. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    I've tried this while loop,

    I placed the If and End if statements in the


    Private quit As Boolean = False

    Private Sub StartLoop()
    checkhit()
    'This would be in a...
  2. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    I tried moving my code snippets around, with the managed game loop. The private boolean is declared at the top of my code form.

    And at the very bottom is the gameloop


    Private Sub...
  3. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    As I've explained in my previous posts, my aim is getting two bitmaps hitting another, and then two other images loads, while the first two are removed. Which I have done.

    I now want to loop all...
  4. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    In bold that is one piece of the code for the program. Nothing happens.

    I also used just another If and End If for the debris. I only thought about that as I woke up not long after.
  5. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    Yes, I ordered a VB.net programming book for CE on Amazon UK for £2.90, for reference on GDI+, may be for animation effect if possible. And button usage.

    But my concern was doing as I stated, but...
  6. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    The rotating of the image at any angle? But the picture box requires an updated image, right..?

    I can't open the bouncy ball file using VS 2003.
  7. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    dday, well I've learnt that pictureboxes cannot be rotated.:D I had to make a few compromises for my little project, for educational purposes.

    Well I've read the code, still puzzeling.
  8. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    Ah right, Hmm. When I read the article is referred to XNA that is obviously desktop related. I thought GDI+ was actual type up code. I haven't use any of that. That is much more complex for little...
  9. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    I'm not using any XNA, dday. I'm developing for a WM Pocket CE device.
  10. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    So I should code in the timer1 section instead of using a loop to get the overall objective done. That is what you are getting at..

    Well I'm notsure how else to get the repeating pattern if not...
  11. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    Right I pasted this, the error is gone. How ever none of my bitmaps are moving. Whether I place it in either Timer1 or the private sub checkhit() And in form, the program doesn't even load.:rolleyes:
  12. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    It still displays an error that the intersectsWith is not a member of the system windows forms picturebox.

    Regardless of where I place the Loop code.
  13. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    But it states an error, does the loop code line go in private sub or the timer1? Eitherway it doesn't change. I did edit the names, obviously. 'ship2.IntersectsWith(PictureBox3)'

    That is correct,...
  14. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    No ship 1, and 2 move towards picturebox3 as a timer. There is no random movement. How ever for the computer controlled ship, I'll want to try and get something like that going for the missiles.
    ...
  15. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    Well once the two bitmaps hit the other bitmap which is picturebox3, they both are removed, while two new bitmaps take the location of the former images, and then the whole process begins again....
  16. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    Well ship2 collides with picturebox3, once done it is removed from the screen. So I need the whole process to start again. I'm doing this for two bitmaps that collide with picturebox3. I still...
  17. Replies
    34
    Views
    4,896

    VS 02/03 Re: Creating a loop for bitmap movements

    My code already makes collision of two bitmaps, one in motion and the other stationary.

    I need example code of how to loop it so that it repeats the same process all over again.




    How does...
  18. Replies
    34
    Views
    4,896

    VS 02/03 Creating a loop for bitmap movements

    Hi,

    I would like to loop my bitmap that I have hitting another bitmap.


    If (ship2.Top + ship2.Height >= PictureBox3.Top) And (ship2.Top <= PictureBox3.Top + PictureBox3.Height) And...
  19. VS 02/03 Re: How to get two bitmaps to a certain point on a form

    I failed Maths, it isn't something I can learn the way others here would know. I was in a low, low foundation Maths class with about ten students for two years in my last two years of Secondary...
  20. VS 02/03 Re: How to get two bitmaps to a certain point on a form

    I value what you've typed, in the last paragraph about waiting for someone else to type up the code example, which I don't wan it all done for me, otherwise there isn't much fun out of that....
  21. VS 02/03 Re: How to get two bitmaps to a certain point on a form

    Unfortunately, I'm on a ten year old computer. And the copy of VS I have has the full package.

    I'm not a computer programmer in a career path, I'm just trying to learn some VB.net for educational...
  22. VS 02/03 Re: How to get two bitmaps to a certain point on a form

    Hi,

    ^I changed the values -,+, yes it works now:):cool:

    Now I need some code example to get the two bitmaps to hit center one, I need a new event to remove them, for new images to display....
  23. Replies
    15
    Views
    23,041

    Re: What IS Assembly??

    Thats is informative. I actually thought VB was like a blanket over the processor.:bigyello: Ha!
  24. VS 02/03 Re: How to get two bitmaps to a certain point on a form

    I am using VS 2003 it is all I have access to.;)



    Both^ are facing opposite with the bitmap for trigger in the center.

    (Location of ship1> 106,216 Going down to 96, 120

    ( Location of...
  25. VS 02/03 How to get two bitmaps to a certain point on a form

    Hi,

    I'm using a timer to move two bitmaps, I want to get them to a certain point, and then disappear with alternative bitmaps loading and then not long after they vanish too.

    I know how to get...
  26. VS 02/03 What is the code line for a MobileSmart/pocket device project buttons

    Hi there,

    I wanted to know, for anyone that has tried developing for the smart device projects some years ago.

    What was the actual code for the buttons on the device? "softkey1" is the name of...
  27. Replies
    1
    Views
    866

    VS 02/03 How to animate a bunch of lines

    Hi there,

    Using vertex lines how do you go about animating them quickly in a sequence. Like below. I imagine that a number of variations of these lines would be needed to animate them in on the...
  28. Replies
    14
    Views
    12,683

    Re: GDI+ For Beginners

    Sure, Well it was what came to my mind. The movement of the lines would animated one at a time quickly, or a bunch of them would, and would go through a sequence.
  29. Replies
    14
    Views
    12,683

    Re: GDI+ For Beginners

    106473

    How about animating some lines using vertex, sort of like a sequence, each one moving about at different moments, like a flickering light bulb?
  30. Replies
    14
    Views
    12,683

    Re: GDI+ For Beginners

    But for this example, move this line with the arrow key up, then rotate left using the left arrow key or whatever key as an example?

    Actually vertex graphics positioning is complex, especially for...
  31. Replies
    14
    Views
    12,683

    Re: GDI+ For Beginners

    This is interesting, how ever if you want a vertex graphics drawn ship, how do you get that moving around?

    Almost all graphics used in 2D games are usuall bitmap.
  32. Re: 2D game development for the desktop as well the long gone WM2003 OS

    I've only just read this page on the site about gameloops, I guess the part about CPU usage is for complex 2D games right? :rolleyes:. I guess some of the examples for 2D games should probably work...
  33. Re: 2D game development for the desktop as well the long gone WM2003 OS

    GDI+ is vertex graphics for VB.

    With python, I don't know if it's as simple as the way you have described it. I have tried Python Pygame, and I have my vertex ship, but to move it using an arrow...
  34. Re: 2D game development for the desktop as well the long gone WM2003 OS

    I don't think that would really be necessary.

    The WM dev is similar to desktop programming. But leaving that aside, I think images are probably easier to move than vertext graphic pieces? I...
  35. Re: 2D game development for the desktop as well the long gone WM2003 OS

    I don't own a Windows phone. I'm not a computer programmer, how ever lets say with old sotfware such as VS 2003 and the old dated Windows mobile 2003 OS, it may be possible to create a bare bones...
  36. Re: 2D game development for the desktop as well the long gone WM2003 OS

    I guess other languages were used using VS for mobile programs and not vb itself.
  37. 2D game development for the desktop as well the long gone WM2003 OS

    Hi there,

    I wanted to type asking about 2D game creation in Visual basic. I came across an old topic post, and it is an example for use in Visual studio 2008 or something, I imagine it may work in...
Results 1 to 37 of 37



Click Here to Expand Forum to Full Width