igeEffekseer
C++ extension Effekseer for 3D and 2D games.
Before running this tutorial, you have to install igeEffekseer
[pip install igeEffekseer]
The Editor
Get from link : https://effekseer.github.io/en/download.html
Tutorial
https://github.com/indigames/pyxieTutorials/tree/dev/igeEffekseer
Support
- Effeck : .efk
- Texture : .pyxi
APIs
Functions
-
static
- texture_loader
- set the texture loader callback
- use igeCore as a helper to load the texture then give back the texture information (width, height, id, has_mipmap)
textures = {} def f_texture_loader(name, type): print('f_texture_loader - ' + name) tex = core.texture(name) textures[name] = tex return (tex.width, tex.height, tex.id, tex.numMips > 1) igeEffekseer.texture_loader(f_texture_loader)
- texture_loader
-
getset
_particle = igeEffekseer.particle()
- framerate
- the desired framerate
- 60 fps as default
_particle.framerate = 60.0
- framerate
-
particle
_particle = igeEffekseer.particle()
- shoot
- update then render the effekseer system
- shoot(delta_time, clean_screen)
- delta_time : float
- clean_screen : bool optional
_particle.shoot(core.getElapsedTime())
- add
- add the effect to the effekseer system
- handle = _particle.add(name, loop, position, rotation, scale)
- name : string
- the effect string path
- loop : bool optional
- Optional Is looping or not
- position : tuple
- Optional The position optional
- rotation : tuple
- Optional The rotation optional
- scale : tuple
- Optional The scale optional
- name : string
_distortion_handle = _particle.add(name='Simple_Distortion.efk', loop=True, position=(0.0, 0.0, 0.0))
- remove
- remove the effect from effekseer system
- _particle.remove(handle)
- handle : int
- the effect handle
- handle : int
_particle.remove(_distortion_hd)
- stop_all_effects
- remove | stop all the effect from effekseer system
_particle.stop_all_effects()
- set_target_location
- set target location for the effect handle
- _particle.set_target_location(handle, x, y, z)
- handle : int
- the effect handle
- x, y, z : float location
- handle : int
- get_location
- get location from the effect handle
- result = _particle.get_location(handle)
- handle : int
- the effect handle
- result : tuple location
- handle : int
- set_location
- set location for the effect handle
- _particle.set_location(handle, x, y, z)
- handle : int
- the effect handle
- x, y, z : float location
- handle : int
- set_rotation
- set rotation for the effect handle
- _particle.set_rotation(handle, x, y, z)
- handle : int
- the effect handle
- x, y, z : float rotation
- handle : int
- set_scale
- set scale for the effect handle
- _particle.set_scale(handle, x, y, z)
- handle : int
- the effect handle
- x, y, z : float scale
- handle : int
- set_color
- set scale for the effect handle
- _particle.set_scale(handle, red, green, blue, alpha)
- handle : int
- the effect handle
- red, green, blue, alpha : int value channel (0-255)
- handle : int
- get_speed
- get speed from the effect handle
- result = _particle.get_speed(handle)
- handle : int
- the effect handle
- result : float speed
- handle : int
- set_speed
- set speed for the effect handle
- _particle.set_speed(handle, speed)
- handle : int
- the effect handle
- speed : float value
- handle : int
- is_playing
- checking the effect is playing
- result = _particle.is_playing(handle)
- handle : int
- the effect handle
- result : bool. True if the effect is playing
- handle : int
- set_pause
- pause the effect handle
- _particle.set_pause(handle, paused)
- handle : int
- the effect handle
- paused : bool value
- handle : int
- get_pause
- get the pause status from the effect handle
- result = _particle.get_pause(handle)
- handle : int
- the effect handle
- result : bool value
- handle : int
- set_shown
- switch between show or hide of the effect handle
- _particle.set_shown(handle, shown)
- handle : int
- the effect handle
- shown : bool value
- handle : int
- get_shown
- get the show status from the effect handle
- result = _particle.get_shown(handle)
- handle : int
- the effect handle
- result : bool value
- handle : int
- set_loop
- loop (true / false)
- _particle.set_loop(handle, loop)
- handle : int
- the effect handle
- loop : bool value
- handle : int
- get_loop
- get the loop status from the effect handle
- result = _particle.get_loop(handle)
- handle : int
- the effect handle
- result : bool value
- handle : int
- shoot
-
statistic
- drawcall_count
- return the drawcall count
- count = _particle.drawcall_count()
- vertex_count
- return the draw vertex count
- count = _particle.vertex_count()
- update_time
- return the update time take
- time = _particle.update_time()
- time : int (micro second)
- draw_time
- return the draw time take
- time = _particle.draw_time()
- time : int (micro second)
- drawcall_count
Metadata
Release files for igeEffekseer 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| igeEffekseer-0.2.1.tar.gz | 45.7 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igeEffekseer-0.2.1-cp39-cp39-macosx_12_0_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 12.0+ x86-64 | Details |
Total release size: 101.1 MB
Release files / igeEffekseer-0.2.1.tar.gz
| Download URL | igeEffekseer-0.2.1.tar.gz |
|---|---|
| Size | 45.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92bdf2d9b34fdb6c87e0672a1a95fd152157282bbd2292de978ce8ba264f62bc
|
|
BLAKE2b-256 checksum How to use checksums |
bd4dcd9973b9ef917bd009531e03639b91f426602b1cafef9ce8036608d74212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / igeEffekseer-0.2.1-cp39-cp39-macosx_12_0_x86_64.whl
| Download URL | igeEffekseer-0.2.1-cp39-cp39-macosx_12_0_x86_64.whl |
|---|---|
| Size | 55.4 MB |
| Tags | CPython 3.9 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
cd5aab5ffc6737a5e0266efb2c351739769520a92e35aa3648ae6ccfc921c37d
|
|
BLAKE2b-256 checksum How to use checksums |
41264e9368d67b4cf876e5dc3e849ca5e4f71dff9a3e9cc7a8425b303b3d2efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for igeEffekseer 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.