Giter Site home page Giter Site logo

asbl / miniworldmaker Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 136.87 MB

Educational 2d Engine for Python - moved to codeberg: https://codeberg.org/a_siebel/miniworldmaker

Home Page: https://miniworldmaker.it-teaching.de

License: MIT License

Python 100.00%
pymunk games 2d-engine python

miniworldmaker's Introduction

miniworldmaker

miniworldmaker allows you to create 2D mini worlds and games.

It is a 2D engine inspired by greenfoot and gamegrid based on pygame.

![example.png]

Tutorial

Features

  • miniworldmaker supports pixel-based games as well as games with tiles (e.g. Rogue-Likes), hexboards and processing-like graphics
  • Easy creation of animations
  • Music and sound effects
  • Integrated GUI elements like console for output, toolbar, ...
  • Load and Save to SQLite Databases
  • Integrated Physics-Engine based on Pymunk
  • Open Source
  • miniworldmaker is a 2D Engine based on Python 3, pygame and pymunk.

Examples

Top-Down games

video

Tile Based RPGs

video

Image Processing

image]

Physics

video

video

Angry-Birds-like

video

NEW: Hex Boardgame:

video

Links

Codeberg | Documentation | PyPi | Cookbook

miniworldmaker's People

Contributors

asbl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

miniworldmaker's Issues

AttributeError: 'Token' object has no attribute '_collision_rect'

While playing around with example/basics/playground_basics.py:

Traceback (most recent call last):
  File "playground_basics.py", line 11, in <module>
    player.add_costume(source="images/player_1.png")
  File "source/miniworldmaker/tokens/token.py", line 312, in add_costume
    if self.collision_rect == "static-rect":
  File "source/miniworldmaker/tokens/token.py", line 750, in collision_rect
    return self._collision_rect
AttributeError: 'Token' object has no attribute '_collision_rect'

Typing Error

In appearences/appearence.py l. 379 "set_image" der Klasse "Appearence":

def set_image(self, value):
  if 0 <= value < len(self.images_list) - 1:  # <---- Dort
    self.image_index = value
    self.dirty = 1
    self.parent.dirty = 1
    self._reload_all()
    self.update()
    return True
  else:
    return False

Der Index "value" auf welchen in der Liste zugegriffen werden soll darf < len(Liste) sein,
nicht nur < len(Liste) - 1, da man so nicht auf den letzten Index zugreifen kann.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.