Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

TypeError

Plugin.param is not a function :)

Ops, my bad!

See this now:

https://1drv.ms/u/s!Ak26Cghab3NhhpFpIiY9ir9DUg7TDw?e=lLJRYm

Sorry to be a burden, the formatting i was hoping for is Hours : Minutes : Seconds . Milliseconds

So time looks like this 0:00:00.12

Gosh. I tough it will be something like this with my changes:

  • 00:00:0000

So you want it like this? Including the points?

  • Hours : Minutes : Seconds . Milliseconds (00:00:00.00) ?

I understand almost nothing about SQL, can you tell me exactly why you need that? Maybe there is a way to use javascript and format it differently on your side?

Yup that's correct, I'll take a look to see if I can edit it before uploading it.

All I really know is that if it's : instead of a . I then have to reformat the sql cell to allow decimal or no time shows up at all, and if I don't modify it so there's a fullstop between second and millisecond then the millisecond will always just appear 00

You had anymore luck with this?

Hey! Sorry about that, I forgot about this. See if this second patch it will work. Put below my timer plugin.

https://1drv.ms/u/s!Ak26Cghab3NhhpF635BUcZaKv_YTvg?e=3DRVkh

If it does not, you can open the patch with any text file and try to edit it yourself:

So the first 4 functions are just to format their unit time to a text format. There is a method called "padZero(NUMBER)" on them. The number you insert between their parenthesis will be the number of ZEROS or Numbers shown on the timer. By default, they are all 2. But I put the hour to 1 according to your last example.

Now on the create text function where the plugin will get all time units and create the timer text. There are 3 red dots. Each one points to you where it does have the "separator" text between each unit. You can change them to whatever you want.

(4 edits)

It looks perfect, however for some reason the millisecond number doesn't show.

Can't figure out why. Mega weird. :) I put a colon or no punctuation between ${this.getTextForSeconds()} and ${this.getTextForMilliseconds()}` it will show milliseconds,  if I use any punctuation , . ! etc. it will not work.

Could it have something to do with lines 498 - 516 in the plugin? I haven't the foggiest :D

Adding to the weird and wonderful... if I create an event and use the command $gameTimer.getText() it will show the milliseconds after the fullstop.


Good news after an hour of pissing about :) I fixed it, I had to turn Fix Shaking to false.... I will leave it to your great genius to figure out why the hell that worked :)
As always you've been incredible, thank you for all your support. You're the best.

hahaha!! I will certainly take a look at this! xD
Nice you manage to make work! But hey, the timer is shaking? o.O