Skip to content

SkapaGame is a 2D endless skateboard runner game built in Unity where players control a skateboarder character performing various tricks while navigating through different levels.

Notifications You must be signed in to change notification settings

CodeByStella/SkapaGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ScreenRecorderProject1_8.mp4

Unity TMA - Skate

boarding Game

A Unity-based 2D endless runner skateboarding game with Telegram integration, featuring multiple environments, trick systems, and online leaderboards.

๐ŸŽฎ Game Overview

Unity TMA is an engaging 2D skateboarding endless runner game built with Unity 2022.3.9f1. Players control a skateboarder through various environments, performing tricks, collecting coins, and competing on global leaderboards. The game features seamless Telegram integration for user authentication and data synchronization.

โœจ Key Features

๐Ÿƒโ€โ™‚๏ธ Core Gameplay

  • Endless Runner Mechanics: Smooth 2D skateboarding with lane-switching and jumping
  • Trick System: Perform various skateboard tricks including Ollie Flip, Impossible, Method, Nollie, and more
  • Multi-Environment Support: Three distinct locations - School, Krasnodar, and Las Vegas
  • Progressive Difficulty: Dynamic obstacle generation and speed increases
  • Coin Collection: Collect different value coins (1, 2, 3 coins) with smart positioning

๐ŸŽฏ Game Mechanics

  • Lane Switching: Swipe up/down to change lanes (top, middle, bottom)
  • Jumping System: Single tap for basic jump, double tap for advanced tricks
  • Trick Execution: Perform tricks on big ramps with combo sequences
  • Lives System: 3 lives with visual feedback and game over mechanics
  • Tutorial System: Interactive learning mode for new players

๐ŸŒ Online Features

  • Telegram Integration: User authentication via Telegram Bot API
  • Profile Management: Create and manage user profiles
  • Coin System: Earn and spend coins with server synchronization
  • Leaderboards: Global and local score tracking
  • Daily Login Rewards: Consecutive day tracking and rewards
  • Trick Purchases: Buy new tricks with earned coins

๐ŸŽจ Customization

  • Character Skins: Multiple t-shirt designs to choose from
  • Trick Unlocks: Purchase and unlock new skateboard tricks
  • Visual Feedback: Animated character with smooth transitions

๐Ÿ—๏ธ Technical Architecture

Backend Integration

  • REST API: Custom backend server at https://api.skapa.world/
  • User Management: Profile creation, coin updates, tutorial completion
  • Score System: Local and global record tracking
  • Trick Management: Purchase and status updates for tricks
  • Daily System: Login tracking and reset functionality
  • Coin Synchronization: Real-time backend-frontend coin sync

Core Systems

  • MethodsAPIScript: Main API communication handler with error logging
  • TelegramManager: Telegram integration and user authentication
  • UserData: User profile data management
  • MoneyGoldCount: Coin collection, spending, and backend synchronization
  • Shop System: In-game purchases for skins and tricks

Recent Updates (v2.1)

  • โœ… Fixed Coin Synchronization: Direct backend coin fetching and syncing
  • โœ… Improved Error Logging: Tagged error messages for better debugging
  • โœ… Simplified API Flow: Removed unnecessary profile creation for coin sync
  • โœ… Enhanced Stability: Added null checks and error handling

๐ŸŽฎ Game Controls

Mobile/Touch Controls

  • Swipe Up: Move to upper lane
  • Swipe Down: Move to lower lane
  • Single Tap: Basic jump
  • Double Tap: Advanced trick jump
  • Multi-touch: Enhanced jump mechanics

Desktop Controls

  • Spacebar: Jump/Trick execution
  • Mouse Drag: Lane switching
  • Mouse Click: Jump activation

๐ŸŒ Game Environments

1. School Level

  • Theme: Educational campus setting
  • Background: School buildings and campus environment
  • Difficulty: Beginner-friendly
  • Special Features: Learning-focused obstacles

2. Krasnodar Level

  • Theme: Urban city environment
  • Background: City skyline and urban architecture
  • Difficulty: Intermediate
  • Special Features: City-specific obstacles and ramps

3. Las Vegas Level

  • Theme: Casino and entertainment district
  • Background: Vegas strip and neon lights
  • Difficulty: Advanced
  • Special Features: High-speed sections and complex trick opportunities

๐Ÿ› ๏ธ Development Setup

Prerequisites

  • Unity 2022.3.9f1 or later
  • Visual Studio or compatible IDE
  • Git for version control

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd "Unity TMA"
  2. Open the project in Unity Editor

  3. Ensure all dependencies are imported

  4. Configure build settings for your target platform

Build Configuration

  • WebGL: Optimized for browser deployment
  • Mobile: Android/iOS builds supported
  • Desktop: Windows/Mac/Linux standalone builds

๐Ÿ“ฑ Platform Support

WebGL

  • Browser-based gameplay
  • Telegram Web App integration
  • Optimized for web performance

Mobile

  • Touch controls optimized
  • Responsive UI scaling
  • Performance optimizations for mobile devices

Desktop

  • Keyboard and mouse support
  • Full-screen gameplay
  • Enhanced graphics for larger screens

๐Ÿ”ง API Endpoints

Profile Management

  • POST /profile/create - Create new user profile
  • PUT /profile/update-coins - Update user coin balance
  • POST /profile/get-coins - Retrieve current coin balance
  • PUT /profile/tutorial/complete - Mark tutorial completion

Records System

  • POST /records/save - Save player score
  • POST /records/local - Get local player records
  • POST /records/global - Get global leaderboard

Trick System

  • POST /tricks/purchase - Purchase new trick
  • PUT /tricks/update-status - Update trick usage status
  • POST /tricks/tricks - Get user's purchased tricks
  • POST /tricks/tricks/all - Get all available tricks

Daily System

  • POST /daily/daily/check - Check daily login status
  • POST /daily/daily/reset - Reset daily login counter

๐ŸŽฏ Game Progression

Tutorial System

  1. Basic Movement: Learn lane switching
  2. Jumping: Master single and double jumps
  3. Trick Execution: Perform basic tricks
  4. Score System: Understand scoring mechanics
  5. Lives System: Learn about health and consequences

Progression Mechanics

  • Coin Collection: Earn coins through gameplay
  • Trick Unlocks: Purchase new tricks with coins
  • Skin Customization: Buy and equip different character skins
  • Score Improvement: Compete on leaderboards

๐ŸŽจ Assets and Resources

Sprites and Graphics

  • Character Animations: Smooth skateboarder animations
  • Environment Art: Unique backgrounds for each level
  • UI Elements: Modern, responsive interface design
  • Particle Effects: Visual feedback for tricks and jumps

Audio

  • Background Music: Dynamic music system
  • Sound Effects: Jump, trick, and collection sounds
  • Ambient Audio: Environment-specific audio

๐Ÿš€ Deployment

WebGL Deployment

  1. Configure WebGL build settings
  2. Set up Telegram Web App integration
  3. Deploy to web server
  4. Configure HTTPS for secure connections

Mobile Deployment

  1. Configure platform-specific settings
  2. Optimize for target device specifications
  3. Test on various screen sizes
  4. Submit to app stores

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

๐Ÿ“„ License

This project is proprietary software. All rights reserved.

๐Ÿ†˜ Support

For technical support or questions about the game:

  • Check the Unity Console for error messages
  • Review the API documentation for backend issues
  • Test on different platforms and devices

๐Ÿ”ฎ Future Enhancements

  • Multiplayer Mode: Real-time multiplayer gameplay
  • More Environments: Additional themed levels
  • Advanced Tricks: Complex trick combinations
  • Social Features: Friend systems and challenges
  • Achievement System: Unlockable achievements and rewards

Unity TMA - Where skateboarding meets endless adventure! ๐Ÿ›นโœจ

About

SkapaGame is a 2D endless skateboard runner game built in Unity where players control a skateboarder character performing various tricks while navigating through different levels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published