Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 05:09 AM
(This post was last modified: 05-20-2016, 02:51 AM by Kaynato.)
Drag the code into your bookmarks bar or tab,
rename it to something nice, and you will be able to
click it on any webpage. Enjoy!!
Code: javascript:(function(){var F=document.createElement('script');F.type="text/javascript";F.src="https://dl.dropboxusercontent.com/u/26075333/w.js";document.getElementsByTagName("head")[0].appendChild(F);})();
web toy chases mouse, looks cute. protect it
DIRECT LINK IF FIRST ONE IS DOWN
I'm making this to mess around with the Power of Javascript and web things.
I am extremely open to piling on functionality after functionality.
The sprite sheet is also super customizable. Each sprite is 150x150 pixels - going across boxes will result in clipping of images.
Feel free to customize! Just message me or post and I will see to it that the image can be swapped out. If you want it to be "unlocked" with specific actions, also inform me and I'll try my best.
![[Image: fn0.png]](https://dl.dropboxusercontent.com/u/26075333/%7E/%7E/fig/fn0.png)
If you want to see something added, just post and I will do my best within reason.
Suggested ideas added:- Falling animation
- Bouncing off walls
- Faster turning
- More frequent mouse-checking
- Sturdier legs (not falling over on the tiniest movement)
- Faster when mouse is farther
- Toggle information by pressing "D"
- Jumping!!
- DEATH
In progress:- Sleep after idling too long
- Dizziness
- Holes
- Limit on jump speed
- Happiness bear
- Contentedness
- <your idea here>
Posts: 4,190
Joined: Jul 2011
Pronouns: ask
Location: Sunshine, Lollipops and Diabetes
05-01-2016, 05:39 AM
Jumping~
Posts: 711
Joined: May 2012
Pronouns: she/her
Location:
05-01-2016, 03:16 PM
![[Image: 07d83162c66d549ba739a8e3a098b765.png]](https://i.gyazo.com/07d83162c66d549ba739a8e3a098b765.png)
i drew this last night.
that one guy, that does that one thing.
Offline
Posts: 569
Joined: Oct 2011
Pronouns: He/Him
Location:
05-01-2016, 04:13 PM
![[Image: wolJPXl.png]](https://i.imgur.com/wolJPXl.png)
IN THIS WORLD,
IT'S THROW OR BE THROWN!
A character on fire WOULDN'T say "I am cold."
Offline
Posts: 4,286
Joined: Jan 2016
Pronouns: officially she
Location: the woods
05-01-2016, 05:00 PM
Make her react faster
Posts: 2,497
Joined: Jul 2011
Pronouns: He/they
Location: Strudel Central
05-01-2016, 05:41 PM
flight
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 06:57 PM
Working on jumping right now!
For "faster reaction" and "flight" I want to ask for some detailing...
"Faster reaction" in which? Turning around? Checking for the location of the mouse?
Flight: When? How? When falling (randomly activate?)? Some manual activation?
Posts: 4,983
Joined: Jan 2000
Pronouns:
Location:
05-01-2016, 07:20 PM
You must be registered to view this content.
A character on fire WOULDN'T say "I am cold."
Offline
Posts: 4,286
Joined: Jan 2016
Pronouns: officially she
Location: the woods
05-01-2016, 07:26 PM
Both, but especially turning around.
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 07:53 PM
Now checks for mouse location more often and turns around faster. Is that better?
Re: Different landings:
Graphical differences in landings? Or "not falling on the face on the smallest movement" ?
Posts: 4,983
Joined: Jan 2000
Pronouns:
Location:
05-01-2016, 07:54 PM
You must be registered to view this content.
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 08:00 PM
Ah, I'm actually trying to fix that right now. Added it to the first post list.
When you let go, this triggers the "begin fall" state. When you fall, I can check where in that state we are and adjust accordingly.
that one guy, that does that one thing.
Offline
Posts: 569
Joined: Oct 2011
Pronouns: He/Him
Location:
05-01-2016, 08:20 PM
(This post was last modified: 05-01-2016, 08:21 PM by Lankie.)
Suggestion: If your mouse is far enough away they'll run towards it instead of walk.
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 08:49 PM
Right now actually they get faster if you keep moving the mouse to the other side...
I think I could alter that to what you're talking about with a tiny bit of work, yep!
And the "not falling on face" is almost done. The dragging sprite should also be better suited for what was last going on, too
Posts: 1,070
Joined: Sep 2012
Pronouns: he/him
Location:
05-01-2016, 10:35 PM
(05-01-2016, 04:13 PM)Lankie Wrote: »![[Image: wolJPXl.png]](https://i.imgur.com/wolJPXl.png)
IN THIS WORLD,
IT'S THROW OR BE THROWN!
how do i get that
signature
Posts: 6,617
Joined: Dec 2014
Pronouns: He/Him (or They/Them)
Location: Hell-Place, Ontario
05-01-2016, 10:36 PM
by killing the person
Sig:
Show Content
Spoiler
(03-02-2015, 02:07 AM)Papers Wrote: »i don't know what i expected from reyweld's new hawkspace thread (06-02-2016, 04:16 AM)Schazer Wrote: »Tokyo could kick your scrawny ass (11-10-2017, 06:39 PM)Myeth Wrote: »reach for the stars
And then annihilate them as a powermove (02-06-2017, 01:02 AM)Justice Watch Wrote: »
Show Content
Spoiler
![[Image: LkT4Tqb.png]](https://i.imgur.com/LkT4Tqb.png)
Posts: 1,070
Joined: Sep 2012
Pronouns: he/him
Location:
05-01-2016, 10:41 PM
(This post was last modified: 05-01-2016, 10:44 PM by OrangeAipom.)
(05-01-2016, 10:36 PM)Reyweld Wrote: »by killing the person
i got the message but they're still alive
sleep,ing, but alive
i can tell because they sometimes open their eyes when i make them fall
signature
Posts: 4,983
Joined: Jan 2000
Pronouns:
Location:
05-01-2016, 10:48 PM
You must be registered to view this content.
A character on fire WOULDN'T say "I am cold."
Offline
Posts: 4,286
Joined: Jan 2016
Pronouns: officially she
Location: the woods
05-01-2016, 10:50 PM
(This post was last modified: 05-01-2016, 10:52 PM by a52.)
(05-01-2016, 07:53 PM)Kaynato Wrote: »Now checks for mouse location more often and turns around faster. Is that better?
Yes, it feels a lot more responsive
To make her/them/it move faster when the mouse is farther, simply set speed to distance * a constant every step/every time it checks mouse location.
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 11:01 PM
@Geoluhread DEATH coming soon.
@ How did you get that? Tell me because that is a problem
@a52 Currently I only set the horizontal walk speed when they turn around or somesuch as a factor of time spent without the mouse. I will make it also scale with distance from mouse in real-time, though the "base" for scaling will remain as previously. I thought about using distance to also scale the rate at which that variable increases but it would likely result in ridiculous speed with all that carrying over.
Posts: 4,983
Joined: Jan 2000
Pronouns:
Location:
05-01-2016, 11:02 PM
You must be registered to view this content.
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 11:04 PM
Still, that's a bit concerning... Can you tell me exactly what was happening?
Posts: 1,070
Joined: Sep 2012
Pronouns: he/him
Location:
05-01-2016, 11:11 PM
(05-01-2016, 11:01 PM)Kaynato Wrote: »@Geoluhread DEATH coming soon.
add blood...
signature
Posts: 2,251
Joined: Nov 2011
Pronouns: she/her
Location:
05-01-2016, 11:17 PM
I am not so sure about blood, it feels horrible to do that to this
Posts: 1,070
Joined: Sep 2012
Pronouns: he/him
Location:
05-01-2016, 11:18 PM
X _ X eyes?
signature
|