This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-19 19:15:29

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Anyone know why

this doesn't work, in the website and the downloaded version?  It seems self-explanatory, but ask for any info.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2012-10-19 19:27:49

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Anyone know why

I ran across the same problem in Zombie Survival. The reason why this is happening is because sometimes, when your sprite moves back from touching the wall, it's still touching the wall, so it moves to the edge of the screen. The reason why it still might touching the wall is because the opposite of its velocity wouldn't get it off of the wall, though this is only true some of the time. I could try to fix it if you need me to.

Last edited by ErnieParke (2012-10-19 19:28:43)


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2012-10-19 19:33:06

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Anyone know why

ErnieParke wrote:

I ran across the same problem in Zombie Survival. The reason why this is happening is because sometimes, when your sprite moves back from touching the wall, it's still touching the wall, so it moves to the edge of the screen. The reason why it still might touching the wall is because the opposite of its velocity wouldn't get it off of the wall, though this is only true some of the time. I could try to fix it if you need me to.

Can you fix it?  Thanks!
Darn 1.9013e-8 century rule.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#4 2012-10-19 19:39:24

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Anyone know why

Firedrake969 wrote:

ErnieParke wrote:

I ran across the same problem in Zombie Survival. The reason why this is happening is because sometimes, when your sprite moves back from touching the wall, it's still touching the wall, so it moves to the edge of the screen. The reason why it still might touching the wall is because the opposite of its velocity wouldn't get it off of the wall, though this is only true some of the time. I could try to fix it if you need me to.

Can you fix it?  Thanks!
Darn 1.9013e-8 century rule.

I fixed it!

(link to project)


http://i46.tinypic.com/35ismmc.png

Offline

 

#5 2012-10-19 20:12:55

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Anyone know why

Also, is you want me to, I could make the wall collision better/smoother, though that would require trigonometry.


http://i46.tinypic.com/35ismmc.png

Offline

 

#6 2012-10-19 21:09:06

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Anyone know why

ErnieParke wrote:

Also, is you want me to, I could make the wall collision better/smoother, though that would require trigonometry.

Can you do that?  It seems too glitchy, and this is what I'm trying to simulate.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#7 2012-10-19 21:25:20

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Anyone know why

Firedrake969 wrote:

ErnieParke wrote:

Also, is you want me to, I could make the wall collision better/smoother, though that would require trigonometry.

Can you do that?  It seems too glitchy, and this is what I'm trying to simulate.

Oh... I was thinking of platformers at the time. I'll edit the project tomorrow.

Last edited by ErnieParke (2012-10-19 21:35:36)


http://i46.tinypic.com/35ismmc.png

Offline

 

#8 2012-10-19 21:37:04

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Anyone know why

Oh.  Just majorly revamped it.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#9 2012-10-20 09:16:11

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Anyone know why

Firedrake969 wrote:

Darn 1.9013e-8 century rule.

I called it the 60,000,000,000 nanosecond rule once  tongue


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#10 2012-10-20 10:22:28

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Anyone know why

Molybdenum wrote:

Firedrake969 wrote:

Darn 1.9013e-8 century rule.

I called it the 60,000,000,000 nanosecond rule once  tongue

All credit goes to you.  I copied your idea.  xD


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#11 2012-10-20 11:55:28

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Anyone know why

Firedrake969 wrote:

Oh.  Just majorly revamped it.

You know that all of that revamp was completely unnecessary? Anyway, I just updated the project to make the eyes more realistic.


http://i46.tinypic.com/35ismmc.png

Offline

 

#12 2012-10-20 12:01:39

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Anyone know why

Firedrake969 wrote:

Molybdenum wrote:

Firedrake969 wrote:

Darn 1.9013e-8 century rule.

I called it the 60,000,000,000 nanosecond rule once  tongue

All credit goes to you.  I copied your idea.  xD

lol  GLaD I didn't get the 1.113×10^45 Planck time rule this time.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

Board footer