Webtoy - now portable!

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webtoy - now portable!
#51
RE: web toy
I was about to bemoan how javascript doesn't allow you to use object elements like local variables in a var but then remembered it's a scripting language
#52
RE: web toy
I regret this rewrite incredibly
#53
RE: web toy
You must be registered to view this content.
#54
RE: web toy
Yeah. Big edits are pushed to the Git. Now I'm also doing edits on a different version, which seems to be functionally identical now.

I toned down the flick speed a bit but there's two finals coming up tomorrow.

Now that I've done a ton of generalization it ought to be relatively trivial to make the proposed ideas, though.

Another rewrite might work better, come to think of it. I was basically forcing a structure based around pure functions into one based on object orientation, and that did not come out very sane.
#55
RE: web toy
https://i.imgur.com/R1YtzlS.png
what does this mean

EDIT: it's stuck to my mouse and i can't let go
signature
#56
RE: web toy
wait what is going on what

I thought I was working on the dev version which oughtn't affect it...

In either case it's all good now. I'll have to be more careful checking what files I'm changing
#57
RE: web toy
Heya!

I think this is about "ok" and am thinking about working on a more ambitious project - a fully fledged web game.

https://github.com/Kaynato/RagdollWebtoy < I uploaded the source for this so you can see how awful it is.

I am not sure if I can ask for help regarding server backend development here, regarding the new project, however.
#58
RE: web toy
I want to make them happy. Let me show affection
[Image: tN4CQnw.png][Image: 6miAxpY.png][Image: xrt4V73.png]
[Image: LAbvoew.png][Image: kHYNSyp.png][Image: 2xEY8jD.png]
#59
RE: web toy
I made a new spritesheet. OP was updated.

Also, this is now portable!

You can put this web toy, for example, on your very own tumblr!

Anything that allows you to edit the html.

Put in the following in the HEAD of your page:

Code:
<script src= "https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="https://dl.dropboxusercontent.com/u/26075333/%7E/%7E/%7E.js"></script>
<link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/26075333/%7E/%7E/%7E.css">

Put in the BODY of your page, ONLY ONCE, before anything else and on the very outside (don't put inside other elements):

Code:
<div id="figure" ondragstart="return false;" ondrop="return false;" class="mass"></div>

CUSTOMIZATION: Download the css and replace https://dl.dropboxusercontent.com/u/2607...ig/fn0.png with a link to your spritesheet. It must fit the dimensions specified. Each square is 150x150 pixels.
#60
RE: web toy
I like the new art, even cuter!
Sig:
Show Content
#61
RE: web toy
Thanks!

Now I've also made it more portable.

INSTRUCTIONS:

Stick

<script src="https://dl.dropboxusercontent.com/u/26075333/%7E/%7E/webtoy-portable.js"></script>

Somewhere in your webpage.

If it doesn't work, stick

<div id="figure" ondragstart="return false;" ondrop="return false;" class="mass"></div>

As the first thing in the <body> section. That's it.
#62
RE: web toy
I gave her some friends.
#63
RE: Webtoy - now portable!
Now available on any site!

[Image: 8d68e9bd7041dc1ce283c0d1c733e69d.gif]
#64
RE: Webtoy - now portable!
[Image: qEY178G.png]

I wanted to have many and I was not disappointed.
signature
#65
RE: Webtoy - now portable!
Hahaha, wow, dang.

I've gotta add multi-instance support. Don't think it'll be TOO hard, actually.
#66
RE: Webtoy - now portable!
[Image: pNuy70K.png]

if you do that i think they should wave at each other
signature
#67
RE: Webtoy - now portable!
I love that the very last method is appendChild(). Like you are appending a webchild to your browser.
#68
RE: web toy
(05-20-2016, 01:59 AM)Dalmationer Wrote: »I gave her some friends.

The cats just keep on getting bigger. When does the madness stop???

Listening to memes of old for 5 minutes is a good use of time.
Sig:
Show Content
#69
RE: Webtoy - now portable!
I keep killing her when I scroll down Meloncholy