VortexDocs
  • Vortex Engine
    • Installation
      • 1. Install Python
      • 2. Install VortexEngine
      • 3. Install Additional Dependencies
    • Getting Started
      • 1. Initialize Vortex
      • 2. Create Game Objects
      • 3. Add Labels
      • 4. Add a First Person Controller
      • 5. Run the Game
    • API Reference
      • 1. Vortex Class
      • 2. Tool Module
      • 3. Data Module
    • Example
      • 1. Basic Example
      • 2. API Integration Example
    • Troubleshooting
      • 1. ModuleNotFoundError
        • 1. Verify Installation:
        • 2. Check Python Environment:
        • 3. Verify Import Statement:
      • 2. Color Not Recognized
        • 1. Check Color Input:
        • 2. Refer to color_dict:
        • 3. Update Color Usage:
        • 4. Verify Code:
    • Additional Resources
  • Vortex Breakout
Powered by GitBook
On this page
  1. Vortex Engine
  2. Getting Started

1. Initialize Vortex

To begin using Vortex, you need to initialize it with your private key, address, and chain. Here's how you can do it:


from vortex import Vortex

# Create a Vortex instance
vortex = Vortex(PrivateKey="your_private_key", Address="your_address", Chain="Aptos")

Replace "your_private_key" and "your_address" with your actual private key and address. Ensure that "Aptos" is the correct chain you want to use.

PreviousGetting StartedNext2. Create Game Objects

Last updated 9 months ago