Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
May 09, 2025 - @604.21 (what is this?)
Activity rating: Four Stars Posts & Arts: 67/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :happy:  :pc: There are community newsletters here! :pc: :happy: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ♺ ∙ Web Crafting Materials
| | |-+  MelonEngine - Mini Three.js Game Engine


« previous next »
Pages: [1] Print
Author Topic: MelonEngine - Mini Three.js Game Engine  (Read 2931 times)
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Ozwomp wants to know your locationHyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travels
« on: November 13, 2021 @690.56 »

This is a placeholder topic! At some point I will write a more formal tutorial!

MelonEngine is a javascript based wrapper for Three.js, in short it makes it super easy for you to make virtual worlds with JavaScript. It works well on desktop and mobile and supports full browser viewing!

Its a little more complex than X3D, however it lets you make much more advanced worlds. I suggest you get comfortable with JavaScript before trying HOWEVER if you want to start exploring the code yourself and trying to mess with it you can find a sample project here that gives you a virtual art gallery.

See a live demo here: https://melonking906.github.io/MelonEngine-Gallery/
See the sample project here: https://github.com/Melonking906/MelonEngine-Gallery
« Last Edit: March 22, 2025 @804.65 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
ellievoyyd
Casual Poster ⚓︎
*


Webmistress of Cybergrunge.net - Futa - she/her

⛺︎ My Room

View Profile WWW

First 1000 Members!Joined 2022!
« Reply #1 on: February 22, 2022 @261.66 »

 :omg: :omg: :omg: :omg:

this is amazing!!! its so fast!!!!

wow... im gonna try to make something with this maybe...

i had previously only really used p5.js and blend4web, both of which are super limited and can be very slow...
Logged

== Official WebMistress of Cybergrunge.net ==
purblepale
Casual Poster
*


⛺︎ My Room

View Profile WWW

Joined 2024!
« Reply #2 on: March 22, 2025 @717.42 »

The sample doesn't appear to be working, is the link correct? It says that there isn't a github page for that when I use the other link, too
Logged
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Ozwomp wants to know your locationHyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travels
« Reply #3 on: March 22, 2025 @807.75 »

sample doesn't appear to be working, is the link correct?
Fixed! It looks like it got bugged out by the emote switch over!

I meant to do a more detailed write up here a long time ago, but I've never really returned to it. Largely because it requires really quite a high level of JavaScript knowledge - to that point that if you have the knowledge, chances are you're the kind of person who can figure out how to use this based on the source code alone :ziped:

That said if you have any questions when you're snooping it I'd be happy to answer them!
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
purblepale
Casual Poster
*


⛺︎ My Room

View Profile WWW

Joined 2024!
« Reply #4 on: March 23, 2025 @43.56 »

If someone were to use the engine would they be able to switch over to wasd controls over the default UnrealED style movement?
Logged
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

View Profile WWWArt

Ozwomp wants to know your locationHyperactive DonutGreat Posts PacmanOfficially DogThanks for being rad!a puppy for your travels
« Reply #5 on: March 23, 2025 @52.96 »

able to switch over to wasd controls over the default
In theory yes, the control system can use any Three.js compatible control system. By default it calls "getStandardControls()" whitch returns a preconfigured OrbitControl object - this assumes a hacked control system it has actually based on GoogleMaps style click and drag navigation. It assumes there is a camera target mounted in front of the camera - so as long as you're control system has a ".target" child then it should all just work!

Overwriting MELON.me.three.controls = xxx with whatever control object you want should do it. Iv never tested using a different control system, so I've no idea how it would effect other things! I'd love to know how it turns out :cheerR:
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
NoxidKin
Casual Poster ⚓︎
*


Hey please check out my blog! :)

⛺︎ My Room

View Profile WWW

Joined 2025!
« Reply #6 on: March 23, 2025 @53.40 »

That's awesome Man, thanks for giving us another amazing toy!  I can't JS much, but now I want to learn.  :D
Logged

Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Pixel Art - Mini Contest - New message icons!

Started by MelooonBoard ☑︎ ∙ Events and Activities

Replies: 21
Views: 5814
Last post July 18, 2024 @680.65
by Zunne
°˖ ✧-:game assets:・゚✧

Started by cinniBoard ✎ ∙ Art Crafting

Replies: 6
Views: 2938
Last post August 10, 2024 @53.38
by bugholder's epiphany
What's your favourite mobile game?

Started by NeonriserBoard ♖ ∙ Video Games

Replies: 58
Views: 9471
Last post April 13, 2025 @127.75
by fawn

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi