Your channel viewers will see links here, including "subscribe" and "add as friend".
Profile
Name
Heated_gamerz
Description
Subscribers
86
Subscriptions
Recent Activity
|
Heated_gamerz
Here's a fruit idea for blox fruits one is the fruit one is the transformation
Eclipse Fruit – Blox Fruits Concept
Type: Mythical
Transformation: Eclipse Beast
Mechanics & Meters
The Eclipse Fruit has two energy meters:
1. Moon Meter 🌙 – Required to transform into Eclipse Beast.
2. Light Meter ☀️ – Required to activate Sun Mode.
How Meters Work:
Every attack fills both the Moon and Light Meters.
You start in Moon Mode (Base Form).
Once Moon Meter is full → Click it to transform into Eclipse Beast.
While in Eclipse Beast Form, the Light Meter fills automatically.
Once Light Meter is full → Click it to activate Sun Mode.
Sun Mode lasts 10 minutes.
After Sun Mode ends, you return to Moon Mode, and the cycle resets.
Transformation: Eclipse Beast
Requires: Moon Meter full
How to Activate: Click on the Moon Meter
Appearance: Becomes a dark celestial beast with glowing golden markings.
Abilities: Enhanced speed, durability, and unique M1 attacks.
Passive: Fills Light Meter automatically.
Sun Mode ☀️
Requires: Light Meter full
How to Activate: Click on the Light Meter
Duration: 10 minutes
Abilities: Stronger attacks, increased attack speed, and burning effects.
Passive: Attacks cause flare explosions and solar burns.
End Effect: After 10 minutes, you return to Moon Mode automatically.
Ultimate Move (Sun Collapse ☀️🌑)
Triggers automatically when Sun Mode is about to end.
Effect: Releases a massive solar explosion, dealing AoE burning damage and temporarily blinding enemies.
Aftermath: Resets both meters and returns to Moon Mode.
(Please if any devs are seeing this add this to the game it took me a lot of effort and time to make the transformation.)
|
||
|
Heated_gamerz
Wanna make a 2d game that looks 3d its easy first search pydroid 3 in play store and then it will show two of the one Pydroid 3 and one Pydroid repository plugin download both of them then open Pydroid them to to pip then type numpy after that install the library then run this code in the normal one.
import pygame
import random
import numpy as np
import math
# Game Constants
WIDTH, HEIGHT = 800, 600
TILE_SIZE = 40
MAZE_SIZE = (15, 15) # (rows, cols)
FOV = math.pi / 3 # Field of View (60 degrees)
NUM_RAYS = 120
MAX_DEPTH = 8
# Colors
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
GRAY = (100, 100, 100)
# Initialize Pygame
pygame.init()
screen = pygame.display.set_mode((WIDTH, HEIGHT))
clock = pygame.time.Clock()
# Player Class
class Player:
def __init__(self, x, y, angle):
self.x, self.y = x, y
self.angle = angle
self.speed = 3
def move(self, forward, strafe, rotate):
self.angle += rotate * 0.05 # Rotate camera
# Convert joystick movement to world movement
move_x = forward * self.speed * math.cos(self.angle) + strafe * self.speed * math.sin(self.angle)
move_y = forward * self.speed * math.sin(self.angle) - strafe * self.speed * math.cos(self.angle)
# Collision Detection
new_x, new_y = self.x + move_x, self.y + move_y
if maze[int(new_y // TILE_SIZE)][int(new_x // TILE_SIZE)] == 0:
self.x, self.y = new_x, new_y
# Maze Generation
def generate_maze(rows, cols):
maze = np.ones((rows, cols), dtype=int)
stack = [(1, 1)]
maze[1, 1] = 0
while stack:
x, y = stack[-1]
neighbors = [(x + 2, y), (x - 2, y), (x, y + 2), (x, y - 2)]
random.shuffle(neighbors)
for nx, ny in neighbors:
if 1 <= nx < rows - 1 and 1 <= ny < cols - 1 and maze[nx, ny] == 1:
maze[nx, ny] = 0
maze[(x + nx) // 2, (y + ny) // 2] = 0
stack.append((nx, ny))
break
else:
stack.pop()
return maze
# Raycasting
def cast_rays(player, maze):
rays = []
angle = player.angle - FOV / 2
for i in range(NUM_RAYS):
sin_a = math.sin(angle)
cos_a = math.cos(angle)
for depth in range(1, MAX_DEPTH * TILE_SIZE, 5):
x = player.x + depth * cos_a
y = player.y + depth * sin_a
if maze[int(y // TILE_SIZE)][int(x // TILE_SIZE)] == 1:
rays.append((depth, angle))
break
angle += FOV / NUM_RAYS
return rays
# Draw Scene
def draw_scene(player, maze):
screen.fill(BLACK)
rays = cast_rays(player, maze)
for i, (depth, angle) in enumerate(rays):
line_height = int(HEIGHT / (depth * 0.01))
color = (255 - min(255, depth // 2), 255 - min(255, depth // 2), 255)
pygame.draw.rect(screen, color, (i * (WIDTH // NUM_RAYS), HEIGHT // 2 - line_height // 2, WIDTH // NUM_RAYS, line_height))
# Draw Joystick
def draw_joystick():
pygame.draw.circle(screen, GRAY, left_joystick_center, joystick_radius)
pygame.draw.circle(screen, WHITE, left_joystick_pos, joystick_inner_radius)
pygame.draw.circle(screen, GRAY, right_joystick_center, joystick_radius)
pygame.draw.circle(screen, WHITE, right_joystick_pos, joystick_inner_radius)
# Handle Joystick Movement
def handle_joystick():
forward, strafe, rotate = 0, 0, 0
# Left Joystick (Movement)
dist_x = left_joystick_pos[0] - left_joystick_center[0]
dist_y = left_joystick_pos[1] - left_joystick_center[1]
forward = -dist_y / joystick_radius # Up is forward, down is backward
strafe = dist_x / joystick_radius # Left and right movement
# Right Joystick (Rotation)
rotate = (right_joystick_pos[0] - right_joystick_center[0]) / joystick_radius
return forward, strafe, rotate
# Main Game Loop
maze = generate_maze(*MAZE_SIZE)
player = Player(TILE_SIZE * 1.5, TILE_SIZE * 1.5, 0)
exit_pos = (MAZE_SIZE[0] - 2, MAZE_SIZE[1] - 2)
# Joystick Variables
joystick_radius = 50
joystick_inner_radius = 20
left_joystick_center = (100, HEIGHT - 100)
right_joystick_center = (WIDTH - 100, HEIGHT - 100)
left_joystick_pos = left_joystick_center
right_joystick_pos = right_joystick_center
dragging_left, dragging_right = False, False
running = True
while running:
clock.tick(60)
screen.fill(BLACK)
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
if event.type == pygame.MOUSEBUTTONDOWN:
if math.dist(event.pos, left_joystick_center) < joystick_radius:
dragging_left = True
if math.dist(event.pos, right_joystick_center) < joystick_radius:
dragging_right = True
if event.type == pygame.MOUSEBUTTONUP:
dragging_left, dragging_right = False, False
left_joystick_pos = left_joystick_center
right_joystick_pos = right_joystick_center
if event.type == pygame.MOUSEMOTION:
if dragging_left:
left_joystick_pos = event.pos
if dragging_right:
right_joystick_pos = event.pos
# Limit Joystick Movement
if dragging_left:
dx, dy = left_joystick_pos[0] - left_joystick_center[0], left_joystick_pos[1] - left_joystick_center[1]
dist = math.hypot(dx, dy)
if dist > joystick_radius:
left_joystick_pos = (left_joystick_center[0] + dx * joystick_radius / dist,
left_joystick_center[1] + dy * joystick_radius / dist)
if dragging_right:
dx, dy = right_joystick_pos[0] - right_joystick_center[0], right_joystick_pos[1] - right_joystick_center[1]
dist = math.hypot(dx, dy)
if dist > joystick_radius:
right_joystick_pos = (right_joystick_center[0] + dx * joystick_radius / dist,
right_joystick_center[1] + dy * joystick_radius / dist)
# Handle Joystick Input
forward, strafe, rotate = handle_joystick()
player.move(forward, strafe, rotate)
# Draw Scene & Joystick
draw_scene(player, maze)
draw_joystick()
# Check Win Condition
if (int(player.y // TILE_SIZE), int(player.x // TILE_SIZE)) == exit_pos:
print("You Win!")
running = False
pygame.display.flip()
pygame.quit()
|
||
Friends
Channel Comments
There are no comments for this user.
Add comment





