Search:

Type: Posts; User: david37370

Search: Search took 0.08 seconds.

  1. Re: game development- collision detection question

    no... maybe i didnt explain myself at the beginning. i dont want the objects to change direction, but to simply stop (vx=0 or vy=0, according to collision direction). and not only stop, but stop the...
  2. Re: game development- collision detection question

    thanks for the detailed reply!
    i tried the code i posted above, and it determines the collision direction fine, according to the first rectangle.
    now, i dont know how to respond to the collision:...
  3. Re: game development- collision detection question

    Allrighty now, i made some progress: realised there is the Rectangle.intersects() method! god it is gonna save me so much headache (thought it feels like cheating :D).
    so now, i made two rectangles:...
  4. Re: game development- collision detection question

    contains is helpful if i am trying to check if there is a rectangle INSIDE an other rectangle, which is not collision detection. you said, "depending on what you have done in the implementation so...
  5. Re: game development- collision detection question

    you are right, i should really have thought about it... not spending efficiency of program on such things as checking collision between far objects, thanks.
    you didnt answer my question, though: how...
  6. game development- collision detection question

    hello.
    I am working on a strategy game, and i made a few models of collisions between rectangles in the past but now i need it to be precise and the code to be versatile.
    i am not going to show you...
  7. Replies
    9
    Views
    1,601

    Re: JAVA game development issue

    here is my progress:
    game.rar - Speedy Share - upload your files here
    no real menu yet, just the image. i do not intend the game to be lavarunner like it is, its just for the meanwhile fun :D but...
  8. Replies
    9
    Views
    1,601

    Re: JAVA game development issue

    thanks!
  9. Replies
    9
    Views
    1,601

    Re: JAVA game development issue

    I meant an in game menu, like in most computer games, with a few buttons. why do you recommend taking a step back? i (think) i know what im doing, and i like programming anyway.
  10. Replies
    9
    Views
    1,601

    Re: JAVA game development issue

    hmm enigne? none XD
    I program it all by myself and a friend who knows to draw. i already made a nice game in about 3 days, an imitation of "this is the only level" game.
    about the menu, should i...
  11. Replies
    9
    Views
    1,601

    JAVA game development issue

    hello!
    first of all, I am making a game. ;)
    the game is 2D and a simple side-scroller.
    the problem is, that i want to make menu's. and i dont have a clue how. i mean, how to make the main menu, (I...
  12. Replies
    14
    Views
    988

    Re: sequences help

    ok, i'll just do it manually
  13. Replies
    14
    Views
    988

    Re: sequences help

    maybe i'll send it to you as a java file?
  14. Replies
    14
    Views
    988

    Re: sequences help

    thats wierd because i always do that, and when i look at eclipse now its like you said, but when i copy paste it it gets unorganized, as you explained
    maybe if you copy it back to an IDE, it will be...
  15. Replies
    14
    Views
    988

    Re: sequences help

    you're right i'll edit it now
    is it better now?
  16. Replies
    14
    Views
    988

    Re: sequences help

    ok thanks you. i didnt explain myself good enough i guess: i wanted to know if i did stupid things or wasted efficiency or if i could make it better, shorter, etc. if i could somehow improve the...
  17. Replies
    14
    Views
    988

    Re: sequences help

    i understand. i do it the same but just without the class brackets, because im used to doing so but i can move them all 4 spaces. does it really matter?
  18. Replies
    14
    Views
    988

    Re: sequences help

    i dont understand what do you mean "too many statements start in the first column". you meant i should space it more?
  19. Replies
    14
    Views
    988

    sequences help

    hello.
    im quite new here, and this is my first post- so straigh for the business, i was making a program at eclipse, that is supposed to get an input of an integer, another integer and an array of...
Results 1 to 19 of 19