Okay, so I am trying to make a game much like an old game called "Chip's Challenge".
Right now I have a square that I can control with the arrow keys but I'm not sure how to make a wall that cannot be passed through, could anyone help me?
Zabzacon
-2
Newbie Poster
Recommended Answers
Jump to PostI'm not sure how to make a wall that cannot be passed through, could anyone help me?
There are different ways to use collision detection, but a basic way, using rectangles, is to use the rectangles bounds and position on screen. And make a check as to whether any …
Jump to PostAll of which the first hit on the google search would have told you (and much more) had you bothered to look. All I'm asking for is some visible effort on your part.
Jump to PostYou claimed to have searched already, but seemingly not properly, as you asked abut "boundaries" without ever mentioning anything that even came close to collision detection, so I gave you a term to search. You didn't want to so I did the search for you and provided you with a …
Jump to PostIn this regard I am here to help you learn, and part of that is doing research. The ability, but more importantly the willingness, to do research is a boon to any occupation and the opposite is a hindrance.
Edit: And FYI, everything I have posted here has been …
All 14 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
commented:
Very unhelpful
+0
Zabzacon
-2
Newbie Poster
masijade
commented:
Well, the next post contains your "useful" examples. Not necessarily in Java, but that shouldn't matter, the principle is the same.
-2
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
-2
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
-2
Newbie Poster
Akill10
96
Posting Pro
Zabzacon
commented:
Helpful and informative
+0
Zabzacon
-2
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
-2
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
-2
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Zabzacon
-2
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.