Skip to content

Instantly share code, notes, and snippets.

View dibakarsutradhar's full-sized avatar
👾
Powered by Coffee

Dibakar dibakarsutradhar

👾
Powered by Coffee
View GitHub Profile
@dibakarsutradhar
dibakarsutradhar / made-with-love.html
Created May 21, 2018 14:35
HTML Love emoticon to use in Footer
<!-- to use hearts emoticon on a footer -->
<html>
<p>Made with <span id="hearts">&hearts;</span> by Dibakar</p>
</html>
@dibakarsutradhar
dibakarsutradhar / Main
Created April 8, 2018 15:10 — forked from Westenburg/Main
More advanced version of foggy bummer with particles, weather and bonuses. Two tabs - Particle and Main. New to GitHub so not sure if I've implemented correctly. Written for Codea
--# Particle
Particle = class()
--Class to deal with individual particles. Used for the starburst and raindrops
function Particle:init(x,y,xspd,yspd,type,fade)
-- you can accept and set parameters here
--map to the position of the 100 by 100 blocks in the sprite sheet. The location in the array refers to the type of particle
local map={}
map[1]={x=0, y=4}--stars
map[2]={x=2, y=4}--rain