Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualStrangeTurtle

Posted 28 July 2012 - 04:39 PM

hi
I am having collision problems and it stopped my progression in learning java Posted Image... (ive put it down for a couple of weeks)  As it seems to just turn into trial and error as I cant seem to get the results wanted.

I did have the charcter bounce off the wall in the negative velocity and this produced a glitchy very bouncy person
It seems as I solve one symtptom another comes up such as sticking to walls or passing through walls in one direction

the applet can be tried tested here
http://www.strangeturtle.com/JAVA.html

sprite sheet is here
http://www.strangetu...spritesheet.gif

view the full unglitchy(formatted) source code here
http://www.strangetu...range61112.java

Ive also attached the current glitchy version which has jumping in it.( just unzip and run the strange61112html.html)
i dont know where the problems are if they are in key released/pressed or in plymove or all of the above.

my goals were to have stable jumping and walking of course any hints in the right direction would be appreciated so i can move forward with other game features.

thanks!

edit: In an effort to increase replys:) all good replys that directly result in me solving the jumping collision glitches I will provide advertising link/picture on my web page to a link of your choice for atleast a year or more.

#2StrangeTurtle

Posted 28 July 2012 - 04:33 PM

hi
I am having collision problems and it stopped my progression in learning java Posted Image... (ive put it down for a couple of weeks)  As it seems to just turn into trial and error as I cant seem to get the results wanted.

I did have the charcter bounce off the wall in the negative velocity and this produced a glitchy very bouncy person
It seems as I solve one symtptom another comes up such as sticking to walls or passing through walls in one direction

the applet can be tried tested here
http://www.strangeturtle.com/JAVA.html

sprite sheet is here
http://www.strangetu...spritesheet.gif

view the full unglitchy(formatted) source code here
http://www.strangetu...range61112.java

Ive also attached the current glitchy version which has jumping in it.( just unzip and run the strange61112html.html)
i dont know where the problems are if they are in key released/pressed or in plymove or all of the above.

my goals were to have stable jumping and walking of course any hints in the right direction would be appreciated so i can move forward with other game features.

thanks!

#1StrangeTurtle

Posted 27 July 2012 - 09:48 AM

hi
I am having collision problems and it stopped my progression in learning java :(... (ive put it down for a couple of weeks)  As it seems to just turn into trial and error as I cant seem to get the results wanted.

I did have the charcter bounce off the wall in the negative velocity and this produced a glitchy very bouncy person
It seems as I solve one symtptom another comes up such as sticking to walls or passing through walls in one direction

the applet can be tried tested here
http://www.strangeturtle.com/JAVA.html

sprite sheet is here
http://www.strangeturtle.com/spritesheet.gif

view the full unglitchy(formatted) source code here
http://www.strangeturtle.com/Strange61112.java

Ive also attached the current glitchy version which has jumping in it.( just unzip and run the strange61112html.html)
i dont know where the problems are if they are in key released/pressed or in plymove or all of the above.

my goals were to have stable jumping and walking of course any hints in the right direction would be appreciated so i can move forward with other game features.

thanks!

PARTNERS