Material drop down menu
A Pen by Merrick Kavolsky on CodePen.
import pygame | |
""" | |
Solution for reddit user found at: | |
https://www.reddit.com/r/pygame/comments/3uw9ja/player_jumps_but_cannot_be_seen_going_upwards/ | |
""" | |
pygame.init() | |
HEIGHT = 360 | |
WIDTH = 480 |
#!/bin/python2 | |
""" | |
Simply takes a simple, insecure alphabetic phrase | |
and turns it into a useable password. | |
Use a friendly phrase you can easily remember to generate | |
a password no one can ever guess. | |
""" |
<div class="user-button"> | |
<span class="user-icon"> | |
M | |
</span> | |
</div> | |
<div class="user-info"> | |
<div class="user-icon-container"> | |
<span class="user-icon"> | |
M |
<button class="material-btn"> | |
<div class="wave"></div> | |
WAVE | |
</button> | |
<button class="slide-btn"> | |
<div class="text">SLIDE</div> | |
</button> |
<div class="searchbox" onClick="onClick(event)"> | |
<input type="text" onFocus="onFocus()" onBlur="onBlur()"/> | |
<button> | |
<i class="fa fa-search" aria-hidden="true"></i> | |
</button> | |
</div> |
///Singleton audio manager | |
class AudioManager{ | |
constructor(){ | |
this.sounds = {}; | |
this.queue = []; | |
this.currentlyPlaying = null; | |
this.currentAudio = null; | |
this.paused = false; | |
} |
//controller function | |
function Controller($timeout){ | |
this.loadingImages = true; | |
this.allTheImagesHaveLoaded = () =>{ | |
//... | |
this.loadingImages = false; | |
}; | |
{ | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaFeatures": { |