Pastebin PRO Accounts EASTER SPECIAL! For a limited time only get 40% discount on a LIFETIME PRO account! Offer Ends Soon!
- old paste http://pastebin.com/mKMBHnHS
- Cuff Clinton, Bern Bernie and Kill Hill Game Modding
- Recently at http://stumptrump2016.com/ there was a game about Trump, but it sucked. It was too unrealistic. However, I figured we all could make it great.
- Thanks to fellow anons for all the assets, since I last checked the most recent versions are
- Kill Hill
- http://jsfiddle.net/t2fyaj64/7/
- http://killhill.weebly.com/
- Cuff Clinton
- http://jsfiddle.net/84xcgghf/8/
- http://cuffclinton.com/
- Bern Bernie
- http://jsfiddle.net/8ohgyzp5/21/
- http://bernbernie.weebly.com/
- So here's the deal, in that low energy game mentioned earlier the assets are actually quite easy to swap. So really, they can be from any image host. I'll leave it to the asset artists, which are great people by the way, to help make these mods even greater. Or make their very own mods, whatever you want.
- For image assets it's as simple as changing urls such as
- Bernie Head: var _head = "http://i.imgur.com/eDLtB8q.png";
- Clinton Head: var _head = "http://i.imgur.com/VPLqltP.png";
- You can copy source files (probably outdated) at
- http://s000.tinyupload.com/index.php?file_id=77953841569772157883
- Head: hed.png 88x106
- Left Arm: arm.png 53x121
- Left Leg: leg_b1.png 108x234
- Left Thigh: leg_t1.png 108x234
- Right Arm: arm2.png 53x121
- Right Leg: leg_b2.png 108x234
- Right Thigh: leg_t2.png 108x234
- Body: bod.png 128x234
- Feet: shoes.png 108x234
- Stump: stump.png 180x211
- Shadow: shadow.png 230x98
- Splat Effect: splat.png 218x187
- Background: bg.jpg 944x634
- Logo: logo.png 621x348
- Blood Effects: bloodsheet.png 900x700
- FB Splash Logo: fbthumb.jpg 551x398
- Game Over: gameover.png 551x398
- Setting up on Weebly
- Very straightforeward
- 1. Select Theme as Welcome to Slick
- 2. Click Edit HTML/CSS
- 3. Click on main_style.css and delete all of the code
- 4. Click on custom.js and delete all of the code
- 4.5 Remove all header type files except for one and rename it index
- 5. Click on index and paste this over everything
- <!DOCTYPE html>
- <html>
- <head></head>
- <body class=' wsite-theme-light'>
- <div style='display:none'>{title}</div>
- <div style='display:none'>{menu}</div>
- <div>{content}</div>
- <div style='width:100%; text-align:center;'>{footer}</div>
- </body>
- </html>
- 6. Click Build on top nav bar and drag embed code to top half portion. Paste in this
- <iframe width="100%" src="" allowfullscreen="allowfullscreen" frameborder="0" style="height: 93vh;"></iframe>
- 7. Go to jsFiddle you want to display and click Embed
- 8. Make sure you click iFrame
- 9. Finally copy just the url and paste into src, for example: //jsfiddle.net/8ohgyzp5/21/embedded/result/dark/
- <iframe width="100%" src="//jsfiddle.net/8ohgyzp5/21/embedded/result/dark/" allowfullscreen="allowfullscreen" frameborder="0" style="height: 93vh;"></iframe>
- 10. Click settings and update title, hit save
- 11. Click SEO and update description, hit save
- 12. Hit Publish
- Sounds
- I had trouble with finding a suitable host for sounds, until I realized I can base64 encode audio, just drag the mp3 (dont know if other file types work) into it and copy/paste the base64 encoding.
- If you want to host your own domain, just embed the iframe snippit
- style="height: 93vh; //This modifies the height of the jsFiddle embed
- Social Media
- Just examine the setSocialMedia() function, I'm sure you can figure it out
- Feel free to fork stuff on jsFiddle and change things, for instance if you want a zerg rush just change _spawnWaitTime to 100.
- var _spawnWaitTime = 500; //Minimum Time interval in milliseconds between spawns
- function changedScore() {
- smult = Math.min(4, 1 + score / 20);//Time Squatting Multiplier, lower value means exagerrated sqatting before jumping
- jmult = Math.min(1, 100 + score / 40);//Distance of Jump Multiplier, higher values increase distance per jump
- jhmult = Math.min(1.5, 1 + score / 40);//Jump Height Multiplier higher values increase height of jump
- jchance = .1 + .9 * Math.min(1, score / 100);//Chance to jump in time interval, smaller values approaching 0 means standing longer
- tchance = .3 + .01 * Math.min(1.15, score / 100)//Chance of spawning in time interval, smaller values approaching 0 increases number spawned
- }
RAW Paste Data

