A baby minecraft try

MY-MC release 0.3.zip (1.2 MB)


Try to make glass(?) block.
press “2” and mouse-3 to set white block, “4” for glass block, “1” test shoot/bomb and “3” for quick build.

4 Likes

Now more
MY-MC release 0.7.zip (792.6 KB)

2 Likes

some optimize
demo-gif


MY-MC release 0.10.zip (676.5 KB)

2 Likes

Nice work! How’s it coming?

It’s slow, i’m thinking about building generation.

I was testing your application, and I got an error when clicking the mouse.

Traceback (most recent call last):
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 49, in eventLoopTask
    self.doEvents()
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 43, in doEvents
    processFunc(dequeueFunc())
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 99, in processEvent
    messenger.send(eventName, paramList)
  File "D:\Panda3D-1.10.15-x64\direct\showbase\Messenger.py", line 337, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "D:\Panda3D-1.10.15-x64\direct\showbase\Messenger.py", line 422, in __dispatch
    result = method (*(extraArgs + sentArgs))
  File "D:\Code\MY-MC release 0.7\page_game.py", line 1345, in del_block
    if page.testblockapi((x, y ,z)):
AttributeError: 'PageGame' object has no attribute 'testblockapi'
:task(error): Exception occurred in PythonTask eventManager
Traceback (most recent call last):
  File "MY_MC3.py", line 20, in <module>
    base.run()
  File "D:\Code\MY-MC release 0.7\my_frame.py", line 120, in run
    super().run()
  File "D:\Panda3D-1.10.15-x64\direct\showbase\ShowBase.py", line 3331, in run
    self.taskMgr.run()
  File "D:\Panda3D-1.10.15-x64\direct\task\Task.py", line 553, in run
    self.step()
  File "D:\Panda3D-1.10.15-x64\direct\task\Task.py", line 504, in step
    self.mgr.poll()
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 49, in eventLoopTask
    self.doEvents()
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 43, in doEvents
    processFunc(dequeueFunc())
  File "D:\Panda3D-1.10.15-x64\direct\showbase\EventManager.py", line 99, in processEvent
    messenger.send(eventName, paramList)
  File "D:\Panda3D-1.10.15-x64\direct\showbase\Messenger.py", line 337, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "D:\Panda3D-1.10.15-x64\direct\showbase\Messenger.py", line 422, in __dispatch
    result = method (*(extraArgs + sentArgs))
  File "D:\Code\MY-MC release 0.7\page_game.py", line 1345, in del_block
    if page.testblockapi((x, y ,z)):
AttributeError: 'PageGame' object has no attribute 'testblockapi'
1 Like