Cursor-Vorschau: Pac-Man - 1 - cute-cursor.com

Cursor-Paket

Pac-Man

Classic Arcade282 Mal hinzugefügt

Pac-Man cursor pack for Chrome - gaming themed default pointer and player hand hover. Video game fan art.

Zur Erweiterung hinzufügen

Gamers can now add a touch of nostalgia to their browsing experience with the Pac-Man cursor from Games Cursor Collection. This fun and playful cursor features the iconic yellow character with his signature open mouth, chasing dots as he maneuvers through the maze. It is the perfect addition for those who want to make their browsing more entertaining. With this cursor, users can relive the classic video game and add some excitement to their browsing experience. The Games Cursor Collection offers a variety of retro and modern game-inspired cursors for users to choose from.

Cursor-Dateien

Lade die Datei herunter oder kopiere fertigen CSS-, JavaScript-, React- und Roblox-Code mit dem richtigen Hotspot.

Cursor - 1 - cute-cursor.com

Cursor

Lade die Datei herunter oder kopiere den Einbettungscode für deine Website, React, JavaScript oder Roblox.

Füge dieses CSS in dein Stylesheet ein. Die Hotspot-Koordinaten sind bereits enthalten.

.custom-cursor {
  cursor: url('https://cute-cursor.com/cdn/packs/10027/arrow.png') 5 2, auto;
}

Füge dieses JavaScript ein, um den Cursor mit dem richtigen Hotspot anzuwenden.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/10027/arrow.png';
const HOTSPOT_X = 5;
const HOTSPOT_Y = 2;
const CURSOR_FALLBACK = 'auto';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Kopiere diese React-Komponente und umschließe deinen Inhalt damit.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/10027/arrow.png';
const HOTSPOT_X = 5;
const HOTSPOT_Y = 2;
const CURSOR_FALLBACK = 'auto';

export default function CustomCursor({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomCursor>Your content</CustomCursor>

Lade das Bild zu Roblox hoch, ersetze YOUR_ASSET_ID und füge dann dieses LocalScript ein.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/10027/arrow.png
-- Hotspot: 5, 2
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 5
local HOTSPOT_Y = 2
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
Zeiger - 2 - cute-cursor.com

Zeiger

Lade die Datei herunter oder kopiere den Einbettungscode für deine Website, React, JavaScript oder Roblox.

Füge dieses CSS in dein Stylesheet ein. Die Hotspot-Koordinaten sind bereits enthalten.

.custom-pointer {
  cursor: url('https://cute-cursor.com/cdn/packs/10027/hand.png') 44 3, pointer;
}

Füge dieses JavaScript ein, um den Cursor mit dem richtigen Hotspot anzuwenden.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/10027/hand.png';
const HOTSPOT_X = 44;
const HOTSPOT_Y = 3;
const CURSOR_FALLBACK = 'pointer';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Kopiere diese React-Komponente und umschließe deinen Inhalt damit.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/10027/hand.png';
const HOTSPOT_X = 44;
const HOTSPOT_Y = 3;
const CURSOR_FALLBACK = 'pointer';

export default function CustomPointer({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomPointer>Your content</CustomPointer>

Lade das Bild zu Roblox hoch, ersetze YOUR_ASSET_ID und füge dann dieses LocalScript ein.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/10027/hand.png
-- Hotspot: 44, 3
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 44
local HOTSPOT_Y = 3
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
100 % kostenlos

Hol dir die Cursor-Wechsler-Erweiterung

Kostenlos für Chrome. Einmal installieren, dann bei jedem gewünschten Cursor auf „Hinzufügen“ klicken.

Zu Chrome hinzufügen