Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Issgraph
>
Howto
Issgraph
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
List of Forums
Developers (1)
Help (1)
Open Discussion (1)
How to use Issgraph
How To Use!
Install pygame
pip install pygame
Initializing
from issgraph import *
import sys
Utils.init()
window = Graphics(800, 600)
Main Loop
while True:
window.show()
window.paint(0, 0, 0)
window.update()
Sprites
while True:
window.show()
window.paint(0, 0, 0)
window.image(Img.img("z.png"), x_pos, y_pos)
window.update()
Keyboard Input
while True:
window.show()
window.paint(0, 0, 0)
window.image(Img.img("z.png"), x_pos, y_pos)
if Utils.keys(Utils.KEYS["right"]):
print("right")
window.update()
Scaling
scaled_image = Img.scale(Img.img("file.png"), width, height)
Mouse
Mouse.get_pos()
Mouse.get_pressed()
Collision
Utils.collide(x1, y1, x2, y2, width, height)
Sound
sound = Utils.sound()
sound.music.load("n.wav")
sound.music.play()
Download File List
Wiki