Skip to main content

A module for text based games

Project description

SC ENGINE

SC-Engine is a rotation engine coded by @SplatCraft

It works with Oz-Engine (or other libraries)

SETUP

In shell, type the following command :

pip install SC-Engine

In your file, write this:

import SC

USE

Let's try to rotate a point around another point !

new = SC.rotate([1,1] , 90 , [3,3])

# here we are rotating the point at x=1 y=1 around the point at x=3 y=3 to 90 degrees

# this function returns a list of two integers [x,y]

print(new)

Run the project and see what happens

[5, 5]

And those are the new coordinates of the point !

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SC-Engine-1.0.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SC_Engine-1.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file SC-Engine-1.0.1.tar.gz.

File metadata

  • Download URL: SC-Engine-1.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for SC-Engine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 32e8884aba2a1265efa42b263f7cdd3de0adf2b9941ef1ce42bb69cd5d5bf013
MD5 fcafbb495eaf755a0a5dc8813b2cf736
BLAKE2b-256 f775d1d512178d79e4c665f33a6fd5ecbcf7843d9236f8803eea5233d17e421e

See more details on using hashes here.

File details

Details for the file SC_Engine-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: SC_Engine-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for SC_Engine-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0dec80a2a33878327e18732f745b4da9698da352648179ed8602cf7a796fbbb
MD5 76165e023a56ee6043588a67a95013f2
BLAKE2b-256 89574d540600519798832830cb3d4321af98349aa71fa9d3193a1fd5556b6784

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page