Jump to content

Recommended Posts

There, added points.

The trickiest thing was where to put the points. An independent element was my first thought but I just couldn't get it placed correctly. Then I thought I could stick it in the element itself, but the scaleX that it's doing was reversing the text. Couldn't override the transform: property no matter what I tried - then I accidentally discovered I could transform:inherit which would either scaleX(1*1) or scaleX(-1*-1) and resolve the problem.

I have now spent multiple hours on this. All that for just one day...

Link to comment
https://forums.phpfreaks.com/topic/308538-duck/#findComment-1565766
Share on other sites

2 minutes ago, kicken said:

Worth it though.  I like it

You have Elon Musk's duck tweet to thank for this idea. Otherwise I would have done something boring like change the site to say "ASP Freaks". Or "Python Freaks: Where Whitespace Is Important".

Link to comment
https://forums.phpfreaks.com/topic/308538-duck/#findComment-1565768
Share on other sites

Yup. Clicking spawns one immediately and another after a few seconds. Also fixed it so you can't click the same one multiple times for extra points.

(animals spawn automatically up to a limit and only if the tab/window is open, and despawn automatically after a few minutes)

Unrelated: someday I need to put a Konami code easter egg on here.

Edited by requinix
Link to comment
https://forums.phpfreaks.com/topic/308538-duck/#findComment-1565771
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.