DozeMaster's Forum Posts

  • there is still much space to use

    How much of the 2 gb storage is ur system using IOS/Android?

    Cause your cache doesn't seem right. I think ur system is reading the entire Storage capabilities but give u the Browser usage, however it doesn't say how much of ur other apps in ur devices are occupying. So if u have other apps that take 50% from that 2.3 Gb u might of run out.

  • i got this popup when export to html5, i check my drive storage it still have much space.

    https://image.ibb.co/fas8wd/Capture.png[/img]

    what storage do i have to check?

    Probably the storage in the drive ur storing in, it might also give u that error if u don't have write privileges when ur saving.

    Try exporting to another folder desktop for example/ or make a new empty folder and place ur export there

    Unless ur using ur mobile phone or have a very small HDD /SSD then i don't know.

    Another reason is that u given a quota max on temporary files, for example ur exporting but also keeping a cache in ur browser instead of cloud or ur computer. And that storage space /cache space is filled ... u might want to move the caching method or clear it.

    One of the 3 id say are the problems. Im leaning towards the latest... seems more plausible.

  • > Possible. If only for audio playing purpose, you could try Video plugin and filechooser and in the video plugin .h264 url you input FileChooser.FileUrlAt(0) As source and then will play any sound source.

    Yeahh.. That's smart. But is plugin Video works in NW.js? Because I heard it's not.

    That i do not know, but you could try it out!

    Edited: did a quick test and exported to winx64 seems the audio does not play on Nw.JS export packages with this aproach.

    The 2nd solution is to use Tone.Js Api to play the audio since you are doing a C2 project. And use FileChooser same as above.

    The only Downside to that is that Tone.js Plugin is in works for a while now probably 1 year or so, the last time i checked it it was lacking looping audio i think, which you might need.

    If that is a no go, then what your left is modding the audio plugin or use Browser.ExecJs to create a custom audio media player that plays from the filechooser source url.

  • Hey there!

    I have one problem, I'm making a level editor for my rhythm-based game (on NW.js). I'd like to make that so people could import any music into a project and use it in their level. I don't really care in which way, with URL, iFrame or even folder in game's folder. Is that possible?

    Possible.

    If only for audio playing purpose, you could try Video plugin and filechooser and in the video plugin .h264 url you input FileChooser.FileUrlAt(0) As source and then will play any sound source.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey guys!

    Does any of you out there know how to make a slot machine game?

    Please some tips!

    Thanks!

    check this tut on scirra.com/tutorials

    scirra.com/tutorials/1137/fruit-machine

  • giphy.com/gifs/cA3VBmcNidt9fqC2wR

    That looks fun! Happy that i could help. Cheers!

  • is it also possible to store images in firebase and load them one by one when keep scrolling down the screen? This is the one I want to make. (like 9gag infinite scrolling with many images)

    If the sprite load img from url works then yes, would be possible, you would create a empty sprite and load a image url from Firebase and in theory should work. However i never used Firebase so i leave that answer to someone who already did it.

    However you would have to create a tiledbackground lets say and increase its size whenever a new image is loaded and use drag and drop, or a custom scroll to lets say to move the tiledbackground in reverse of mouse/touch position which would move the pinned image sprites with it up and down. Again in theory is doable.

  • I made my own sprite of frequency bars, will definitely try that out, thank your very much for your time and help! Appreciate it a lot man ;)

    No problem, i made a quick update in the C3 file so the bars increases when beat hits instead of shrinking, everything else is the same, for those that have the C2 file you might want to change the

    from

    10+abs((Audio.AnalyserFreqBinAt("music",0,Self.binNR)*Gain))

    to

    250+((Audio.AnalyserFreqBinAt("music",0,Self.binNR)*Gain))

    it will react a bit better.

    Those that have C3 version just redownload the file.

    If you don't want the big gaps between bars you can change the condition on Line 5 from > to >= and that will make all bars dance all time while still react a bit better but isn't a big difference at that point from the default Construct Audio analyser template.

  • When i said if has a angle set, i meant if the behavior has the checkbox of the parameter set Angle ticked, i miss typed that. If you have that checkbox ticked, it should work without changing the angle of motion or negate the speed to - or + value, but only changing the sprites angle by mirroring it. Since when you mirror the sprite the angle of the sprite is also reversed and the bullet basically goes towards where the sprite points at. Atleast thats how i remember working.

    Glad that you solved it eventually :).

  • totoe wow, thats your definition of patience ;)

    Thanks for sharing!

    Yea lol... No problem man. I also opened a blog adding all the tutorials and examples i make in the forum in there. Can be found here

  • totoe I have a lot of patience!

    Links updated! Have fun!

    Giving the FFT size recommended for mobiles is around 64-128 and for desktops 512 -1024 but if u dont worry about the cpu utilization then u can try 2^12 = 4096 FFT size which is more responsive and smooth visual effect.

    Download C3 file

    Download C2 File

    Edited:

    Note 1):

    Keep in mind that the result of the quality of the effect is direct influenced by the Audio files MHz size or SampleRate a sample rate of 36000 MHz Or 48000 MHz is preferable for best results. However a 16000 MHz Sample Rate has pretty good visuals also.

    Note 2):

    Might not be the best result, or how it should be made, but fakes the effect pretty good the approach i took.

  • totoe is there a construct2 example too you can share?

    No but it should apply to C2 also if you transfer the code to C2. Sadly has to be done manually since is not backwards compatible. I can transfer it myself if you have a bit of patience. :D

  • You mean like this?

    Download C3 file

    Download C2 File

  • Not sure if Blog post has a edit button yet, but i can't seem to find one, i have to save the content in a new post in a text editor and try my luck, then delete the post and create it again, for now works, but hopefully soon there will be a post edit button similar to the forum posts.

    While the edit Blog button is there when i clicked it i get this error message from my browser

    This page isn’t working www.construct.net redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS

    I followed chromes instructions on clearing my cookies on the specific site, and after removing all the cookies from Construct.net the error still persists and the Blog Edit button still doesn't work.

    Anyone else experiencing this?

  • You do not have permission to view this post