A Python package to make the creation of Doodle actors easier!
Project description
adopt-a-doodle
A Python package to make the creation of Doodle actors easier!
Dependencies
adopt_a_doodle depends on Panda3D. If you have not installed it already, you can do so with the following command:
pip install Panda3D
Installing
To install the latest version of adopt_a_doodle, open your favorite command terminal and use the following command:
pip install adopt_a_doodle
If for whatever reason you are unable to install adopt_a_doodle through pip, you can also install it through the latest source distribution released on GitHub. Download the tar.gz file and open your favorite command terminal. Navigate to wherever the file was downloaded and run the following command:
pip install [file]
Usage
With adopt_a_doodle, the creation of Doodle actors becomes much easier.
Like with any other Panda3D Toontown project, you must first extract the Phase Files. You can do so with the following command, with [x] being replaced by the id of the phase file:
multify.exe -xf phase_[x].mf
With adopt_a_doodle, you will need phase_4, phase_5, and phase_5.5. Once these files are extracted, drop them into the same directory you want to have your Python files in. Your directory should look similar to this:
| phase_4
| phase_5
| phase_5.5
| example_doodle.py
Next, go into phase_4/models and find TT_pets-mod.bam. This is the model file for doodles. Drop this file into your main working directory, which should now look like this:
| phase_4
| phase_5
| phase_5.5
| example_doodle.py
| TT_pets-mod.bam
Now that all the necessary files are here, you can open the Python file containing your scene and start to program! Here's an example scene:
from direct.directbase.DirectStart import base
import adopt_a_doodle
example_doodle = adopt_a_doodle.adopt(adopt_a_doodle.Doodle(
color=(0.546875, 0.28125, 0.75, 1.0),
eye_color=(0.242188, 0.742188, 0.515625, 1.0),
pattern=adopt_a_doodle.Pattern(ears="phase_4/maps/BeanCatEar3Yellow.jpg",
body="phase_4/maps/BeanbodyLepord2.jpg",
legs="phase_4/maps/BeanFootYellow1.jpg",
tail="phase_4/maps/BeanLongTailLepord.jpg"),
animation=adopt_a_doodle.Animation(file="phase_5/models/char/TT_pets-speak.bam",
anim_loop=True,
loop_from=None,
loop_to=None,
loop_restart=None,
pose=False,
pose_frame=None),
eyelashes=False,
hair=None,
ears="catEars",
nose=None,
tail="longTail"))
example_doodle.setPos(0,5,-1.2)
example_doodle.setH(180)
example_doodle.reparentTo(render)
base.run()
This code will produce the following doodle:
Documentation
You can find documentation for adopt_a_doodle in the rustydoodle lib.rs file.
License
Code in adopt_a_doodle is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file adopt_a_doodle-0.0.3.tar.gz
.
File metadata
- Download URL: adopt_a_doodle-0.0.3.tar.gz
- Upload date:
- Size: 138.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1db6dcf8da91c8735cc8ae5515c2a6f6624ca44f8b6216922bd71970b6f33ddd |
|
MD5 | aeda0cfa1a9f5ae0c98ae8630567c1b1 |
|
BLAKE2b-256 | 7714b9adcaeae40899ce26027fc69c0a2a4a0b616543fb0413352077abb82af4 |
File details
Details for the file adopt_a_doodle-0.0.3-cp312-none-win_amd64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp312-none-win_amd64.whl
- Upload date:
- Size: 145.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dc3b600ca9321f9e30d2bbb21c0848f2f4813ef04ddde92fcff871ebe424361 |
|
MD5 | 8565ab668370322df83cb6c13aa1ad28 |
|
BLAKE2b-256 | a69767f1b0d9b6f8d78d9e54483226e742a72b60cb21bce7b930bc278a61e38b |
File details
Details for the file adopt_a_doodle-0.0.3-cp312-none-win32.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp312-none-win32.whl
- Upload date:
- Size: 140.3 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f547cc217922e63b37729123caa3f5255520f9dabd2f65786e773b2ddb71b9 |
|
MD5 | 9fae0b68879a22523126f5ca8532f949 |
|
BLAKE2b-256 | 8df3e8da737de9dcdc26a61cf70ac4d3e704baecd9b9307b49db6d15da393d4b |
File details
Details for the file adopt_a_doodle-0.0.3-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 207.4 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562a1ed51f102253ee462dc4c0e4bef6a4726518f7e425374853c736e0d290de |
|
MD5 | 5682728419975523d3fff8293e2c4153 |
|
BLAKE2b-256 | 2187d2a6c8686aac4d61dc56546d9cffc21a84907f778a5eb72cf032139c0768 |
File details
Details for the file adopt_a_doodle-0.0.3-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 215.0 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f69134064a669c56a5ce517caf6b6f961d33bb58fd5f273747e419100302443 |
|
MD5 | 837ca7e188b991f562863361e63e479e |
|
BLAKE2b-256 | a6b9a6dae259c8f7db6592d70bd5862021efdc4e9180f5c73207c286a478db42 |
File details
Details for the file adopt_a_doodle-0.0.3-cp311-none-win_amd64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp311-none-win_amd64.whl
- Upload date:
- Size: 144.2 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9473f39563da154d1b83b4041544dd23c1ed832f5ba5b9b4e4b4219ab95bbe32 |
|
MD5 | 95b5c448670eb94816439e0858c954ca |
|
BLAKE2b-256 | a65eaaf9f3f84e9c42bdcbadaacf9b30226d349bf38e74aeb2cd01682203109e |
File details
Details for the file adopt_a_doodle-0.0.3-cp311-none-win32.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp311-none-win32.whl
- Upload date:
- Size: 139.6 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e3350bb1436008823aff71264aa61e059350413f756acd27cc85bd7e888f9c |
|
MD5 | 6ef23c6b7f6594b9078cbcca21eaf9c3 |
|
BLAKE2b-256 | a75f2976f824e73562762dbc9b46e54db05637ab89171195c301a5af166d583e |
File details
Details for the file adopt_a_doodle-0.0.3-cp311-cp311-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 241.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e83aafdedd302e9459349ad74c8574f59b29cbc2792ddfb277ddcc09c071776e |
|
MD5 | 01b86a7b432c13d7429ed6e35320976e |
|
BLAKE2b-256 | b6eceb206a131638f92e486ce0613bbd0276127d06085a977ae757672aaf6b4e |
File details
Details for the file adopt_a_doodle-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 207.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34a607c3a86e87031948ce73bda87d028a97d49f3834639b01b2085c14549cd0 |
|
MD5 | 8bee5b0b13ab67cf164cb9fe332945f4 |
|
BLAKE2b-256 | 55261c025cd3dcc1cd18da8975283d2b8ba2a2f903a2a001d872ff25d2a4baac |
File details
Details for the file adopt_a_doodle-0.0.3-cp311-cp311-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: adopt_a_doodle-0.0.3-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 215.2 kB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ddfc4c8f9ff631f307ecec1f8a75dc49aa72ce8ef5566fdd9198540d0bae4e8 |
|
MD5 | 58ae9998e4f0f836fc2608a1e51cf5a0 |
|
BLAKE2b-256 | 28da57c84be7811cd351fb590a4a99ed5a84b70351448cb658392379fef857c2 |