🚀 I’ve been building a small JavaScript game engine called KernelPlay.js, and recently I started working on something I’ve always wanted to try — a visual scene editor 🎮 It’s still early (and a bit rough 😅), but it’s already helping speed up how I prototype scenes. Right now, the editor includes: • A hierarchy panel for managing entities • A grid-based scene view • An inspector to edit components • Basic components like Transform, CircleRenderer, and Rigidbody Scenes are stored as JSON templates, and the editor acts as a visual layer to create and tweak that JSON — which has been surprisingly fun to build. There’s no live demo yet since things are evolving quickly, but I wanted to share a small milestone and get some thoughts from fellow devs 👇 What features would you expect or love to see in a web-based scene editor like this? #gamedev #javascript #webdev #indiedev #buildinpublic
KernelPlay.js Visual Scene Editor Development Update
More Relevant Posts
-
useEffect — The Hook That Confused Me (Until I Got This) useEffect was confusing until I understood one thing: dependencies control everything. The Rule: javascript // Runs ONCE after mount useEffect(() => { fetchData(); }, []); // Runs when userId changes useEffect(() => { fetchUser(userId); }, [userId]); // Runs on EVERY render (avoid!) useEffect(() => { console.log('render'); }); What I Learned the Hard Way: Missing dependencies = stale data Adding everything = infinite loops Cleanup functions matter (especially for subscriptions) My Checklist: What should trigger this effect? Do I need to clean up? Can this cause unnecessary renders? What's your React Hook survival tip? #ReactJS #JavaScript #FrontendDeveloper #WebDev #CodingTi
To view or add a comment, sign in
-
⚠️ Part 2 of 10: I think `useEffect` gets overused. A lot. I get why. Something changes. You want something else to update. `useEffect` feels like the move. But a lot of React complexity starts right there. State changes. Effect runs. Another state changes. Now you're tracing logic across multiple places for something that maybe could’ve been calculated directly. Once I started asking: “Is this syncing with something external?” instead of “How do I make this run after render?” my code got a lot easier to follow. That one shift cleaned up a lot for me. What’s your most overused React habit? #React #useEffect #ReactHooks #FrontendDevelopment #JavaScript #TypeScript #CleanCode
To view or add a comment, sign in
-
🚀 Just built a cool JavaScript mini-project! Today I worked on a simple but fun concept using DOM manipulation & mouse events 🎯 👉 Created a circle that follows the cursor in real-time 👉 Used event.clientX and event.clientY to track movement 👉 Applied dynamic styling with position: absolute 💡 This small project helped me understand: How browser events work Real-time UI interaction Importance of CSS positioning in JavaScript Sometimes, small projects teach BIG concepts 🔥 Excited to build more interactive UI experiences! #JavaScript #WebDevelopment #Frontend #Coding #Learning #DOM #BeginnerProjects
To view or add a comment, sign in
-
🚀 Built an Interactive FAQ (Accordion) using JavaScript Today I worked on building a dynamic FAQ section to strengthen my JavaScript fundamentals. 🔹 Used DOM manipulation to control elements 🔹 Applied `forEach` to handle multiple FAQ items 🔹 Implemented event listeners for user interaction 🔹 Created an accordion-style toggle (open/close answers) Through this project, I got a better understanding of how to manage UI state and handle multiple elements efficiently in real-world scenarios. Small projects like this are helping me improve my problem-solving skills and build confidence in JavaScript. 🔗See Live Preview : https://lnkd.in/gQPed8jE If you have any suggestions for improvement, I’d really appreciate your feedback 🤲 #JavaScript #WebDevelopment #Frontend #LearningByDoing #MERNStack #CodingJourney
To view or add a comment, sign in
-
If you think useEffect is just for API calls… you’re missing its real power. Let’s break it down 👇 🔹 useEffect runs AFTER render (commit phase) Types of Effects: No dependency → Runs on every render [] → Runs once (on mount) [dep] → Runs when dependency changes ⚠️ Common Mistake: Using useEffect for derived state Bad ❌ const [fullName, setFullName] = useState("") useEffect(() => { setFullName(firstName + lastName) }, [firstName, lastName]) Better ✅ const fullName = firstName + lastName 💡 Rule: “If you can calculate it during render → don’t use useEffect” 🔥 Senior Insight: useEffect is for SIDE EFFECTS only: API calls Subscriptions DOM manipulation #React #useEffect #FrontendEngineering #JavaScript #Coding
To view or add a comment, sign in
-
Just Built a Rock Paper Scissors Game Using JavaScript! ✨ I recently developed a Rock Paper Scissors game and it turned out to be a really fun and insightful learning experience. Through this project, I strengthened my understanding of: • DOM manipulation • Event handling • Game logic implementation • Writing clean and structured JavaScript code One thing I truly realized during this It doesn’t matter how small the project is — what matters is consistency and learning by building. JavaScript is such a powerful and exciting language It allows us to create interactive and realistic applications from scratch. Features of my project: • Interactive UI • Random computer moves • Score tracking system • Restart/New Game functionality I’m continuously improving my frontend skills and excited to build more projects like this 🔗 Check it out here: [https://lnkd.in/dtCyARpX] 🔗 Live Demo here :[https://lnkd.in/dR_6wr48] #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #Projects #LearningByDoing
To view or add a comment, sign in
-
Ever wondered how JavaScript handles all those asynchronous tasks without freezing up? 🤔 It's all thanks to the magical event loop! This clever mechanism keeps things running smoothly behind the scenes. Think of it like a tireless waiter at a busy restaurant, constantly checking on your requests. ☕️ The call stack handles immediate tasks, while the callback queue waits for those async operations to finish. Then, the event loop zips them back into the call stack for processing! It's a beautiful dance that keeps your web pages interactive. 🕺💃 #JavaScript #EventLoop #WebDevelopment #Coding
To view or add a comment, sign in
-
-
Turn boring scroll into smooth animations — without writing complex JS. ✨ No GSAP setup ✨ No heavy libraries ✨ Just add attributes → done Build scroll effects, parallax, counters & more in minutes. 👉 Try MotionFlow: motionflow.dev #webdev #frontend #javascript #webanimation #nocode #devtools #buildinpublic
To view or add a comment, sign in
-
PEP TASK-6 🚀 Just built a Countdown Timer using JavaScript This project focuses purely on the power of JavaScript to handle real-time updates and dynamic behavior. 🔹 What I implemented: • Real-time countdown logic using JavaScript • Time calculations (days, hours, minutes, seconds) • Automatic UI updates using DOM manipulation • Efficient interval handling with setInterval() Through this project, I explored how JavaScript can be used to build interactive, time-based features without relying on external libraries. 💻 Check it out here: 👉 https://lnkd.in/ghEA3jH8 Feedback and suggestions are welcome! 🙌 #JavaScript #WebDevelopment #Frontend #Coding #StudentDeveloper #Projects
To view or add a comment, sign in
-
-
Just wrapped up a highly satisfying 𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁 task: a fully playable 𝗠𝗲𝗺𝗼𝗿𝘆 𝗖𝗮𝗿𝗱 𝗚𝗮𝗺𝗲! 💻✨ As I progress through my 𝗜𝗧𝗜 𝗠𝗼𝗯𝗶𝗹𝗲 𝗖𝗿𝗼𝘀𝘀-𝗣𝗹𝗮𝘁𝗳𝗼𝗿𝗺 𝘁𝗿𝗮𝗰𝗸, I am focusing on writing 𝗰𝗹𝗲𝗮𝗻, 𝘀𝘁𝗿𝗼𝗻𝗴𝗹𝘆-𝘁𝘆𝗽𝗲𝗱 𝗢𝗯𝗷𝗲𝗰𝘁-𝗢𝗿𝗶𝗲𝗻𝘁𝗲𝗱 code. This project was the perfect playground to connect strict 𝗯𝗮𝗰𝗸𝗲𝗻𝗱-𝘀𝘁𝘆𝗹𝗲 logic with 𝗳𝗿𝗼𝗻𝘁𝗲𝗻𝗱 𝗨𝗜. 𝗧𝗲𝗰𝗵 𝗦𝘁𝗮𝗰𝗸 & 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀: 🛠️ 𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁: Heavily utilized Interfaces to define data structures and Classes (Game, Card, SoundManager) to handle states, matches, and the Fisher-Yates shuffle algorithm. 🏗️ 𝗛𝗧𝗠𝗟: Created a clean, semantic layout for the game board and progress tracking. 🎨 𝗖𝗦𝗦: Managed the grid layout and brought the cards to life using smooth, 3D CSS transforms and hover states. Mastering these strict OOP concepts and state management in TypeScript is the perfect stepping stone before diving into cross-platform mobile frameworks! https://lnkd.in/dUj-piVP #TypeScript #JavaScript #WebDev #SoftwareDeveloper #ITI #Coding #Frontend
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Thanks for checking out the project! I'm really enjoying the challenge of building a modular engine from scratch. Since I'm in the early Alpha stages, here are the best places to see what’s happening or get involved: 🌐 GitHub Repo: https://github.com/Soubhik1000/kernelplay (Star it if you like the direction!) 📦 NPM Package: https://www.npmjs.com/package/kernelplay-js 📖 Documentation: https://soubhik-rjs.github.io/kernelplay-js-demo/docs/ 🎮 Live Demo: https://soubhik-rjs.github.io/kernelplay-js-demo/