Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import random
from direct.showbase.ShowBase import ShowBase
from panda3d.core import Shader, RenderState, ShaderAttrib, LVecBase4f, PNMImage, loadPrcFileData, CardMaker
loadPrcFileData(
"",
"""
from direct.showbase.ShowBase import ShowBase
from direct.gui.DirectOptionMenu import DirectOptionMenu
from direct.gui import DirectGuiGlobals as DGG
app = ShowBase()
# Open the item container below the menu
DirectOptionMenu(
scale=0.1,
items=["Open Below", "New", "Save", "Load", "Quit"],

Keybase proof

I hereby claim:

  • I am fireclawthefox on github.
  • I am fireclaw (https://keybase.io/fireclaw) on keybase.
  • I have a public key ASBpyUPshgdDHvYkyYrJTKVTnAijrt-R_rrw1zyakmhH8Ao

To claim this, I am signing this object: