Hovercraft Online

@Cardioth the bug with doubled speed should be fixed now. Could you give it a new try ?
(I erased you last entry from database so that you can have a chance to score again :joy: )


By the way guys, nice update : ability to compete against ghosts !
I record the positions and rotation within the physics loop.
@Joe_Kerr , @Mr_Anderson , we was speaking about this : please have a try :grin:

Please note that the ghost is sent to the server only when you beat your previous score.


Now, I’m curious to see what it will look like in VR… Stay tuned for more :stuck_out_tongue:

++
Tricotou

Appears to be working flawless :slight_smile:

I achieved an honourable 4th place. You inspired me to add country flags to the leaderboard in my game!

If you want to check it out it’s gridfort.net, quite different to yours.

1 Like

Ok, first things first: Go France :fr: :rofl:
Next, I quickly wanted to give it a try while working on my own project with about 20 tabs opened in Chrome on my old testing rig (gpu amd 5570 1gb from 2013!… no need to comment :joy:).
Though, with I believe a ‘reasonable’ 25fps (for this config and context) I am pretty much unable to control the thingy. I will test later on my gaming rig (that’s not laughable such as the french sector of industry is :grin: (sry: swiss joke here :switzerland: :grin:)… however, there might be a little something to be improved here around physics (and physX with framerate). Just saying…
Else, GJ (and welcome to our forum). Meanwhile, have a great day :sunglasses:

1 Like

Ahh, there is a checkbox! lol, was about to complain about the missing ghost :smiley:

Btw. just noticed an error in the console. Did not seem to interfere with the game though.

sound.ts:485 Uncaught TypeError: this._readyToPlayCallback is not a function
    at e._audioBufferLoaded (sound.ts:485:18)
    at AudioContext.<anonymous> (sound.ts:496:22)
e._audioBufferLoaded	@	sound.ts:485
(anonymous)	@	sound.ts:496

i see more competition on the boards , I had a few more rounds to get a sub 2 min time now hehe , i will try the ghost out later

I haven’t been around the last couple of days, just checked your project and the amount of progress you made in this is absolutely amazing! :star_struck:

Yes that’s the only error I could not get rid of.
It’s triggered on a simple sound load :

let engine_sound = new BABYLON.Sound("engine", "path/to/file.mp3", null, scene, {
    loop:true,
    autoplay:false,
    volume: 0.6
});

Any idea where does this come from ? :thinking:
[EDIT] I just found the bug : scene and null (callback) params was inverted ! Surprisingly, sound stills works…


Ahah yes, it’s nice :smiley:


Thanks you :smiling_face:

++
Tricotou

Got a top 10 finish, but gosh I need to brush up on my driving skills haha I’m coming for you guys :smiley:

2 Likes

I am wondering - if you make a game like this public, is it against some kind of privacy policy to save and display the country flag?

Seems innocent to me, but who knows.

I feel like that has a real boost in players engagement :smiley:

Same for me. Like you said, who knows… That’s a good question. At first I thought it was obvisouly not a problem since IP adress is public and is provided by default each time you access internet…

But after reading some stuff on internet I’m not so sure anymore. Maybe just to make sure I should add a banner to be accepted, like for cookies… :slight_smile:

Yes for sure it motivates a lot people to honor their country by scoring as best as possible ^^

++
Tricotou

Hello guys,

A big update is pushed on :arrow_right: Hovercraft Online :arrow_left:

  • New Lobby
  • Multiple Maps
  • Multiple Scene : Switch is instant after loading is done
  • 1 music per Map, with a custom fading function to smooth sound transitions
  • LeaderBoard + Ghosts saved per Map

In fact the biggest part of the update is invisible, but still I wanna speak about that :grin:

  • The server is hosted on AWS using NodeJS, with a DynamoDB database
  • Maps & Assets are now dynamically hosted internaly from a private S3 Bucket
  • For creating a new map, I have done a Blender Python Script, which is 100% automatic.:smiley:

It means that the script is :

  • Creating a new scene if doesn’t exists, based on Blender File Name
  • Exporting assets to .GLB, making a difference between collider, etc (based on a naming convention of the objects in the Blender Scene)
  • Exporting the Environnement Texture automatically
  • Some specific details are stored in a .JSON file which is sent along with assets
  • Sending any new update using Python HTTPS POST requests to the server

So basically now if I want to edit a map, I open the Blend file, I do an edit, I hit the button script. 1 second ! :grin: And if I rename the file and hit the button, BOOM, new map online :smiley:


I’ve added a funny concept map : NEON CITY :

As well as a new Lobby (The lobby scene counts as a map, update is the same “ease”)


Go have a try ! :slight_smile:

++
Tricotou

7 Likes

Superb! Man! you rock :slight_smile:

1 Like

great stuff , i had a go on the new track :wink:

1 Like

Beat the dev at his own game, I’d say that’s a win :sunglasses:

3 Likes

I’m always blown away by how much progress you make in such short time… I love the new map! the reflections on the water look amazing :star_struck:

1 Like

Did you see this demo for inspirational reason for steering :slight_smile:

Jetflow engine vessels control | Babylon.js Playground (babylonjs-playground.com)

a little bug report: disposing the scene in the console the sound and keypress still works. :wink:

maybe i’m too old for the fast camera movements. i get dizzy when the sky turns so quickly.

Couldn’t you make the hover move in the direction of the current mouse position and why can’t you glide over land, perhaps with more friction, i.e. slowing down? a bit of hovering and jumping over obstacles would also be great! :slight_smile:

nice!! :smiley:

3 Likes

No I did’nt, quite similar result indeed… :slight_smile:

Disposing the scene in the console ? Ahah but why would you ever do that ? :joy:
FYI, keypress + physics are not related to the scene. Also, there are multiple scenes, and the first one to be loaded which is the lobby, carries the Sound for the rest of the game

Yes totaly agree, I have this in mind for future released :stuck_out_tongue:

Ahah. That was the little easter egg I was waiting for the community to spot :grin:

++
Tricotou

1 Like

Well done Tricotou! :100:

I must admit that the controls are hard to pick up but once you get it, it’s super fun! It reminds me of the car drifting physics in Diddy Kong Racing.

Also I love the music!

Also… number 1!

Screenshot from 2024-05-14 19-57-15

Screenshot from 2024-05-14 19-57-23

Looking forward to racing in World 3! :smile:

1 Like