Skip to content

IllusionMarbler10/MarblesAndPhysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Python

Marbles And Physics

Version: 0.1.0 alpha

A Physics Game/Program Written In Python!

Warning

This program is IN ALPHA STATE!!! so it contains some bugs and errors. if you want to contribute on developing the program, see the CONTRIBUTING.md (Not made yet) file for more info. and if you want to test this python file yourself, take a look at on How to compile and build this program Here. Otherwise take a look at the to-do list of the next upcoming features here. Also if you are contributing this project, please we also need to fix some bugs and errors, take a look at the issues here.

isologotype

What is this program about?

Marbles and physics is a physics simulation program/2d physics sandbox game made by Marcos Perez (A.K.A. IllusionMarbler) it's written using Python, with the libraries Pygame(pygame-ce) , Pygame_gui and Pymunk.

this project was started using only AI-generated code. (cause he tought that Marcos was going to do it himself, but now it's a time-saver for him.)

in this program/game you can create objects, mechanisms, electricity (if that's possible yet!) and even Marble Races and Algathlons!

Screenshot1

Screenshot2

Screenshot3

Next upcoming features to do:

Here are the next upcoming features to do before it's first ever official release:

  • Objects Creation, Hinges and Springs Creation, Top Bar with New, Save, Load, Undo, Redo, And A Properties panel + a help/credits button and more for the first alpha. 1
  • Trails Creation (with customization), Size changing for objects, Text Boxes, Grid, Project Parts Saving/Loading and Textures/Images importing (that supports not just PNG and JPG, also WEBP and animated GIFs) and more types of Hinges!
  • A "New project" Button with 10 pre-made templates, and 10 example projects made by me.
  • Liquids Creation, Polygons (regular polygons/stars, and custom polygons, without mattering if it's concave or convex), Lines and Polylines creation
  • Multiplayer Mode and a place to share scenes with people
  • Lua Scripting Integration, Mods Creation and CSG Integration

How to compile and build this program?

to compile this program is needed to get these packages installed:

pip3 install pygame-ce pymunk pygame_gui

then you can run the following command in your IDE: 2

python3 main_physics_game.py

now, to build the program is needed to use pyinstaller installed in your virtual enviroment:

pip3 install pyinstaller

and then build the program with the pyinstaller package:

pyinstaller main_physics_game.py

Lastly, join the discord server if you also want to request new features, helping to fix some bugs and errors of this program, talk with the contributors and alpha/beta testers or also talk about the program for fun!


Footnotes

  1. https://github.com/IllusionMarbler10/MarblesAndPhysics/issues/1

  2. https://github.com/IllusionMarbler10/MarblesAndPhysics/blob/main/main-python-game/main_physics_game.py