Docs.rs
pyxel-engine-1.8.2
pyxel-engine 1.8.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
kitao
Dependencies
array-macro ^2.1
normal
chrono ^0.4
normal
gif ^0.11
normal
image ^0.24
normal
indexmap ^1.8
normal
noise ^0.7
normal
once_cell ^1.13
normal
parking_lot ^0.12
normal
platform-dirs ^0.3
normal
rand ^0.8
normal
rand_xoshiro ^0.6
normal
zip ^0.6
normal
cc ^1.0
build
sdl2 ^0.35
normal
sdl2 ^0.35
normal
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate pyxel
Version 1.8.2
All Items
Structs
Constants
Traits
Functions
Type Definitions
?
Crate
pyxel
source
·
[
−
]
Structs
Channel
Image
Music
Sound
Tilemap
Constants
APP_FILE_EXTENSION
APP_STARTUP_SCRIPT_FILE
BACKGROUND_COLOR
CLOCK_RATE
COLOR_BLACK
COLOR_BROWN
COLOR_CYAN
COLOR_DARK_BLUE
COLOR_GRAY
COLOR_GREEN
COLOR_LIGHT_BLUE
COLOR_LIME
COLOR_NAVY
COLOR_ORANGE
COLOR_PEACH
COLOR_PINK
COLOR_PURPLE
COLOR_RED
COLOR_WHITE
COLOR_YELLOW
CURSOR_DATA
CURSOR_HEIGHT
CURSOR_WIDTH
DEFAULT_CAPTURE_SCALE
DEFAULT_CAPTURE_SEC
DEFAULT_COLORS
DEFAULT_FPS
DEFAULT_QUIT_KEY
DEFAULT_TITLE
DISPLAY_RATIO
EFFECT_FADEOUT
EFFECT_NONE
EFFECT_SLIDE
EFFECT_VIBRATO
FONT_DATA
FONT_HEIGHT
FONT_WIDTH
GAMEPAD1_AXIS_LEFTX
GAMEPAD1_AXIS_LEFTY
GAMEPAD1_AXIS_RIGHTX
GAMEPAD1_AXIS_RIGHTY
GAMEPAD1_AXIS_TRI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N
KEY_RSHIFT
KEY_S
KEY_SCROLLLOCK
KEY_SELECT
KEY_SEMICOLON
KEY_SEPARATOR
KEY_SHIFT
KEY_SLASH
KEY_SLEEP
KEY_SPACE
KEY_STOP
KEY_SYSREQ
KEY_T
KEY_TAB
KEY_THOUSANDSSEPARATOR
KEY_U
KEY_UNDERSCORE
KEY_UNDO
KEY_UP
KEY_V
KEY_VOLUMEDOWN
KEY_VOLUMEUP
KEY_W
KEY_WWW
KEY_X
KEY_Y
KEY_Z
MAX_EFFECT
MAX_FONT_CODE
MAX_NOTE
MAX_SKIP_FRAMES
MAX_TONE
MAX_VOLUME
MIN_FONT_CODE
MOUSE_BUTTON_LEFT
MOUSE_BUTTON_MIDDLE
MOUSE_BUTTON_RIGHT
MOUSE_BUTTON_UNKNOWN
MOUSE_BUTTON_X1
MOUSE_BUTTON_X2
MOUSE_POS_X
MOUSE_POS_Y
MOUSE_WHEEL_X
MOUSE_WHEEL_Y
NOISE_VOLUME_FACTOR
NUM_CHANNELS
NUM_CLOCKS_PER_TICK
NUM_COLORS
NUM_FONT_ROWS
NUM_IMAGES
NUM_MEASURE_FRAMES
NUM_MUSICS
NUM_SAMPLES
NUM_SOUNDS
NUM_TILEMAPS
OSCILLATOR_RESOLUTION
PULSE_VOLUME_FACTOR
PYXEL_VERSION
PYXEL_WORKING_DIR
RESOURCE_ARCHIVE_DIRNAME
RESOURCE_FILE_EXTENSION
SAMPLE_RATE
SQUARE_VOLUME_FACTOR
TILEMAP_SIZE
TILE_SIZE
TONE_NOISE
TONE_PULSE
TONE_SQUARE
TONE_TRIANGLE
TRIANGLE_VOLUME_FACTOR
VIBRATO_DEPTH
VIBRATO_FREQUENCY
Traits
PyxelCallback
Functions
atan2
blt
bltm
btn
btnp
btnr
btnv
camera
camera0
ceil
channel
circ
circb
clip
clip0
cls
colors
cos
cursor
drop_files
elli
ellib
fill
flip
floor
font
frame_count
fullscreen
height
icon
image
image_no
init
input_keys
input_text
is_fullscreen
is_keyboard_key
line
load
mouse
mouse_wheel
mouse_x
mouse_y
music
noise
nseed
pal
pal0
pget
play
play1
play_pos
playm
pset
quit
rect
rectb
reset_capture
rndf
rndi
rseed
run
save
screen
screencast
screenshot
set_btn
set_btnv
set_mouse_pos
sgn
show
sin
sound
sqrt
stop
stop0
text
tilemap
title
to_integrated_key
tri
trib
width
Type Definitions
Color
Effect
Key
KeyValue
Note
Rgb8
SharedChannel
SharedImage
SharedMusic
SharedSound
SharedTilemap
Speed
Tile
Tone
Volume