Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Creating 2d applets need someone to help with some basic stuff  (Read 1610 times)
0 Members and 1 Guest are viewing this topic.
Offline bfy51

JGO n00b
*

Posts: 3



« on: 2008-02-13 18:37:14 »

I have a man normally moving area the applet , but i wanted to create a sort of "wall" so that if the player moves in the direction of the object and get close enough it would be able to move through but would have to move around the whole thing , i though of simply placing an if(player is 1 away from object){ move player back 1} but it just feels wrong , if anyones nice enough to assist it would be really nice of you
Offline bfy51

JGO n00b
*

Posts: 3



« Reply #1 on: 2008-02-13 18:39:03 »

and sorry i typed in a few errors , smoking and typing at the same time get a little bit hard XD
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 21 queries.