Skip to content

Instantly share code, notes, and snippets.

View cyberience's full-sized avatar
💭
Working on Gitlab, cause its better.

Cyberience cyberience

💭
Working on Gitlab, cause its better.
  • Hong Kong
View GitHub Profile
@cyberience
cyberience / main.lua
Last active August 29, 2015 14:12 — forked from sixman9/main.lua
--[[
Provided by Tim Closs see https://devnet.madewithmarmalade.com/questions/3701/kinematic-bodies-in-marmalade-quick.html
Ping pong game.
Drag the bats up and down, and attempt to keep the ball in play.
The bats and ball are physics "sensor" objects, so generate collision
events but no physical responses.
--]]
local dw = director.displayWidth
/**
* Base contract that all upgradeable contracts should use.
*
* Contracts implementing this interface are all called using delegatecall from
* a dispatcher. As a result, the _sizes and _dest variables are shared with the
* dispatcher contract, which allows the called contract to update these at will.
*
* _sizes is a map of function signatures to return value sizes. Due to EVM
* limitations, these need to be populated by the target contract, so the
* dispatcher knows how many bytes of data to return from called functions.

Keybase proof

I hereby claim:

  • I am cyberience on github.
  • I am maverihk (https://keybase.io/maverihk) on keybase.
  • I have a public key ASCOZ9VKXuLo_v5uIAXRFEU_OXCP0gA8qzzu9eKqAm5YKAo

To claim this, I am signing this object: