TwoDMaker (2DMaker) - Simple engine for 2D games making!

Overview

TwoDMaker (2DMaker) - Simple engine for 2D games making!

Create simple games (or ui) in one hour!

About.

This is a simple engine for game or gui app creation.
Haves many blankes, for fast developing.
Inherits PyQt5, more precisely based on it.

Install.

Install code,
Rename TwoDMaker-main to TwoDMaker,
Move it to $PYTHON_PATH\lib,
Done!

Example.

Lets make a simple app! It's have infinity spinning animation in window! Let's create main.py, and download Animation.gif

# Importing engine classes.
from TwoDMaker.window import Window # For window.
from TwoDMaker.widgets import Widget, QLabel # For widgets.
from TwoDMaker.assets import Asset # For assets importing.


app_window = Window() # Create new window instance.
app_window.new() # Create new window.

app_window.title('Simple animation.') # Set title for window.
app_window.icon('EngineBlank') # Set engine icon.

app_window.size([400, 220]) # Set window size.
app_window.pos([1000, 400]) # Set window pos.

app_window.resizable([400, 220], [400, 220]) # Set window resizable frames.

app_window.window.setWindowFlag(Asset('Engine', 'QtCore').get().Qt.FramelessWindowHint, True) # Remove window hat.

animation = Asset('Engine', 'QtGui').get().QMovie(app_window.data()[1]) # Import movies class.
animation.setFileName('Animation.gif') # Set animation.
animation.setSpeed(100) # Set speed of animation.
animation.start() # Start animation.

animation_widget = Widget() # Creating new widget instance.
animation_widget.new(QLabel, parent=app_window.data()[1]) # Creating animation, but this anyway widget.
animation_widget.get().setMovie(animation) # Set animation to widget.

app_window.windraise() # Raise window.
app_window.windexec() # Execute window.

Result is...

End.

Thanks for reading, have a good day, bye!

You might also like...
Open source Board Games Like Tic Tac Toe, Connect 4, Ludo, Snakes and Ladder etc...

Board-Games What to do... Add Board games like Tic Tac Toe, Connect 4, Ludo, Snakes and Ladder etc... How to do... Fork the repo Clone the repo git cl

A converter for the .BMR / .RLE bitmap files used in some Neversoft PS1 games.

Requirements python3 pyqt5 - can be installed with pip install PyQt5 pypng - Included Usage Instructions This program can be running py main.py in the

Overview: copain, your friendly AI framework to learn and play games

Overview: copain, your friendly AI framework to learn and play games Interface fceux with python and run reinforcement learning. Compatibility Current

Lutris helps you install and play video games from all eras and from most gaming systems.

Lutris Lutris helps you install and play video games from all eras and from most gaming systems. By leveraging and combining existing emulators, engin

Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature.

Insect Sweeper Minesweeper clone with 3 modes of difficulty, UI scaling and custom games feature. Mines are replaced with random insects that a player

Editing tool (read/write) .sc files (*_tes.sc , *.sc, *_dl.sc ) from Supercell games (Brawl Stars, Clash Royale, Clash of Clans and others).

SupercellSWF Version 0.1.0.2 About Editing tool (read/write) .sc files (*_tes.sc , *.sc, *_dl.sc ) from Supercell games (Brawl Stars, Clash Royale, Cl

Official PyTorch implementation of NAC from the paper:  Neural Auto-Curricula in Two-Player Zero-Sum Games.
Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games.

NAC Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games. We release code for: Gradient based ora

Launch any Heroic-Games-Launcher game using bash scripts without having to open Heroic.

HeroicBashLauncher Ever wanted to launch your EGS games installed through Heroic Games Launcher directly from the terminal, Lutris or any other fronte

Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time
Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time

Sukoku-solver Python About Sudoku is one of the most popular puzzle games of all time. As a logic puzzle, Sudoku is also an excellent brain game. Bein

Comments
Releases(1.4)
Owner
Ivan Perzhinsky.
Typical programmer on Python, Lua, Golang, Java. Welcome to my profile!
Ivan Perzhinsky.
pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame 5.6k Jan 1, 2023
A small module for creating a card deck, used for making card games

card-deck This module can be used to create small card games such as BlackJack etc.. To initialize the deck, use: Deck() To shuffle the deck, use: Dec

null 4 Dec 31, 2021
A launcher to launch games from Riot Games under Linux

rito-launcher A launcher to launch games from Riot Games under Linux Requirements: Python 3, with the following pip plugins: 'configparser, pathlib, w

null 6 Mar 7, 2022
Datamining of 15 Days of (free) Games at the Epic Games Store (EGS).

EGS: 15 Days of Games This repository contains Python code to data-mine the 15 Days of (free) Games at the Epic Games Store (EGS). Requirements Instal

Wok 9 Dec 27, 2022
Automates cubemap generation for Source Engine games.

AutoCube Automates cubemap generation for Source Engine games during compile-time. Download: see the release page Installation Using with CompilePal A

null 5 Feb 18, 2022
Python game engine for 2D multiplayer online games.

LAN-Caster The goal of LAN-Caster is to provide an easy-to-use code base (game engine) for developing 2D multiplayer online games. LAN-Caster original

Douglas Bakewell 1 Feb 11, 2022
Gamelib is a pure-Python single-file library/framework for writing simple games.

Gamelib is a pure-Python single-file library/framework for writing simple games. It is intended for educational purposes (e.g. to be used in b

Diego Essaya 15 Dec 22, 2022
Pong is one of the first computer games that ever created, this simple

Pong-Game Pong is one of the first computer games that ever created, this simple "tennis like" game features two paddles and a ball, the goal is to de

Lateefah Ajadi 0 Jan 15, 2022
A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.

PySol Fan Club edition This is an open source and portable (Windows, Linux and Mac OS X) collection of Card Solitaire/Patience games written in Python

Shlomi Fish 368 Dec 28, 2022
To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

To solve games using AI, we will introduce the concept of a game tree followed by minimax algorithm.

Vaibhaw 7 Oct 13, 2022