Categories
blog game officialstupid toy box

Toy box – wasted time.

backup video – https://www.youtube.com/watch?v=l1W-58vCqSU

Build and drop. Animated CSS objects and .glb.

I would love to use .glb in the future. Currently, it needs huge optimization and seems to take an endless amount of time.

Problem: both kill smooth gameplay — almost 20 FPS. I feel ashamed to share the .glb, even though it was beautiful.

Animate

what’s new.

  • Logged-in users can create their own presets, save them, and share them publicly.
  • First map shared publicly 😄 — posted randomly on Reddit:
  • https://toy.dharan.city/toybox_game/duck-climb/ Anyone can play.
  • Logged-out users can also create and play using local storage.
  • tiny touch support game play for mobile but really really bad.

email me at rawi.rai@com or reddit me for sign up.

working on – touch devices

IMG

My 5-year-old is doing tiny jumps to play while I’m writing this draft.

Categories
blog officialstupid toy box

Toy Box

Animate

Why not add animated presets?

3:50 – 4:20 AM – Feb 23 2026 — crazy though.

Categories
blog officialstupid

Affinity Review: Honest User Experience

I saw a lot of tutorials online praising Affinity as a “good” and “awesome” app, so I decided to give it a try. After testing it myself, I found it to be overhyped and underwhelming—just heavy marketing by YouTubers rather than a truly impressive tool.

Categories
blog officialstupid toy box

Toy Box – How to use?

basic tool

add block, delete, color and preview.

Hold Shift to quickly add, delete, or color a block.”

Note: The video plays at 2× speed. If you want it slower, please change the speed to 0.5×.

Floor, Preset and Preview Mode.

“Hold C + Click” at any object, change camera angle to center, so easy to edit.

Preview Mode

Play & Game Mode

NOTE: double click any object(duck) to assign ‘ME’ player.

Categories
blog officialstupid toy box

Toy Box

more….. day 5 – not continued from 1 to 5 days, it’s just day 5.

The HTML/JS/CSS has been moved to WordPress – https://toy.dharan.city

Guest – build and play save local storage.

Login user – build and share url.

How to use?

Quick guide for dummies https://officialstupid.com/toy-box-how-to-use/

GOAL

Categories
blog officialstupid wordpress

Twenty Twenty-Five 1340px

magic number

1340px

#bookmark #2025 #TwentyTwentyFive

Categories
blog game officialstupid

more free hours for 3D Playground – image masking.

https://fun.dharan.city/3D-Playground

11 hours + 5 hours for the 2nd version.

ref: https://www.reddit.com/r/technepal/comments/1r733pj/3d_playground/

Categories
blog email officialstupid

bichara ma!

Screenshot 2026 02 19 at 13.36.29


‘random thought’ – after seeing this email at spam box.

bichara ma garib nepali lai UK bata proposal.

Categories
blog officialstupid open letter

Open Letter to Tailwind CSS Users and AI Prompters

Dear Tailwind CSS Users and AI Prompters,

Please remember to use the following when creating clickable buttons:

<button class="cursor-pointer ...">

This ensures proper user interaction and better usability.

Thank you for your attention.

Regards,
Rawi Rai

200w
Categories
officialstupid wordpress

WordPress . – file name

From: Screenshot-2025-12-04-at-12.36.02.webp
To: Screenshot-2025-12-04-at-12-36-02.webp

// Add this to your plugin - automatically fixes dots in uploaded filenames
add_filter('wp_handle_upload_prefilter', 'dgc_auto_fix_upload_filename');
function dgc_auto_fix_upload_filename($file) {
    $filename = $file['name'];
    
    // Replace all dots in filename (except the last one for extension)
    $last_dot = strrpos($filename, '.');
    if ($last_dot !== false) {
        $name = substr($filename, 0, $last_dot);
        $ext = substr($filename, $last_dot);
        
        // Replace dots with hyphens in the name part
        $fixed_name = str_replace('.', '-', $name);
        $file['name'] = $fixed_name . $ext;
    }
    
    return $file;
}

// Also fix when uploading via media library
add_filter('wp_handle_sideload_prefilter', 'dgc_auto_fix_upload_filename');
Categories
blog officialstupid threejs toy box

Toy Box

13 feb update

  • Block size: 1x – 8x. The new tool allows to add tiny blocks for precise design.
  • Delete: ‘Build’ button now acts like the ‘Delete’ block when you ‘right-click + space bar’ the mouse.
  • Undo: new button with keyboard support using ‘esc’ button.