Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Olivier Biot
@obiot
*detection
resize therefore became scale when we changed the based object used for body shapes
JSeligstein
@JSeligstein
Hey all. Has anyone sen an Entity.update(dt) have dt undefined?
José Calderón
@JosCald58273060_twitter
Hi, I'm trying to load the library but the "windows.onReady" didn't works ("Uncaught TypeError: window.onReady is not a function") I used an auto-executed anonymous function but shows other error melonjs.js:20018 Uncaught Error: me.video.init() called before engine initialization. Thanks to your help.
Daniele Piumatti
@piumaz
hi guys, I think there is a bug on the debugpanel.
if I add a body.shape to a container, it doesn't display it.
Daniele Piumatti
@piumaz
but i'm newbie, i don't know :-)
I am developing a multiplayer tank game.
if someone shoots from the outside of the visible screen, you can't see the bullet, but you're hit by it.
How can I fix it and see the bullet?
Michael Chow
@mikeychowy

Hi guys, i want to start learning melonjs for a personal project but i don't know where to even start.

The idea is a private multiplayer poker game(not using real money) for me and my friends to play.
Realtime data transfers will be handled by socket.io, no need for tutorials there, i've dabbled in it building realtime chat for an admin dashboard.

I've been googling for a basic example of this, but it's all platformers or shooters. Are there any resources(tutorials, guides, repos) on this or at least sprites for it so i can start mucking about?

Thanks beforehand.

Fabian Faßbender
@geNAZt
hi, i wanted to know if setting FPS > 60 is supported or not? when i set it to like 120 FPS the debug panel shows the new target FPS but the FPS still caps at 60 FPS (having a draw time of ~3,5ms [which should be ~400 FPS])
Olivier Biot
@obiot
Hi, the main loop relies on the window.requestAnimationFrame, in theory the standard says it should support at least 60fps and potentially higher based on the browser implementation, this said i never tried myself to go higher than 60 ;)
Have you tried on different browser as well ?
Fabian Faßbender
@geNAZt
i only have edge which simply crashes on me when i try to load melonjs :D
Olivier Biot
@obiot
Ahahahah
Fabian Faßbender
@geNAZt
ok, it loaded, it doesn't support my custom stuff but its 61 FPS on ~12,2ms (WebGL1)
Olivier Biot
@obiot
I thought you were using Chrome ?
Fabian Faßbender
@geNAZt
i am
but you asked me to try a different browser :D
Olivier Biot
@obiot
Ah you mean Edge other than Chrome, got it :)
Fabian Faßbender
@geNAZt
i will try firefox now and see what it tells me
yikes
43 FPS with around 18ms render times
Olivier Biot
@obiot
Wow that’s bad
With WebGL on the latest 8.0 version ?
Fabian Faßbender
@geNAZt
yes
Olivier Biot
@obiot
I noticed you use me.Text in your example, that’s just a performance killer in webgl
Fabian Faßbender
@geNAZt
and firefox managed to bring chrome down
Olivier Biot
@obiot
Ahahah
Fabian Faßbender
@geNAZt
chrome_ObLAugu4LR.png
chrome_VhDB51h3Ff.png
i had the website open in chrome and firefox
and firefox crashed the GPU
and chrome NOPE'd out
:D
Olivier Biot
@obiot
😅
Fabian Faßbender
@geNAZt
well so edge, firefox and chrome have the same behaviour, all cap at 60 FPS
Olivier Biot
@obiot
I’ll give >60fps a try tomorrow morning to see
Too late now, already 9:30pm here
Fabian Faßbender
@geNAZt
should i open a issue for it?
Olivier Biot
@obiot
Sure why not, at least to be sure melonjs allows it and that there is no hardcoded 60 limit somewhere
Fabian Faßbender
@geNAZt
It seems that requestAnimationFrame itself is limited by vsync
honkmother
@honkmother
@parasyte any idea why NSFileManager.DefaultManager.SetAttributes would segfault on me?
getting desperate here
Shahbaz ali
@ItsShahbazAli_twitter
Hello Anyone there? I need some help
Nikolay
@5TRAFE
Hello! Please help. How to prevent move object by another object? Objects extends me.Sprite. And how to set player or another sprites depth with tiled map layers?
@obiot
Sergio Caballero
@LaPieza
Hi, it's me again, I finished my game and wanted to tank you for the engine and support
just published it on itch.io -> https://lapieza.itch.io/roly-polo
Olivier Biot
@obiot
So cool! Thanks for sharing
Loving the ouya support 😊
Sergio Caballero
@LaPieza
Yeah, Ouya was my main target, but it's really hard to export to Android 4.1 these days.