[PLUGIN] Time manager

Post your completed addons to share with the community

Post » Wed Apr 11, 2012 1:21 pm

New update is online! The latest version is now 1.06!

This update adds a function and a couple of expressions to the plugin, as you can read below:

Check Counter Value
This condition function you can compare your current Time Manager Counter, to see if its larger (>), smaller (<) or not equal (!=) to a NUMBER value (regarded as milliseconds). The condition returns true if the check state is correct, false otherwise.

Convert NUMBER into a Time Manager string!
It have might happen, where you just simly and fast want to convert a NUMBER variable into a Time String, and you dont wanna convert it yourself. But you dont have a counter to make the conversion for you. But now you do!
The simple 8 different(!) expressions can easily convert your NUMBER value into a Time Manager string without the need to create a Time Manager counter! Just add the value into the expression and it will return a converted string to you directly, without any fuss!


I hope this update will be of big use for all of you who uses this plugin. To get the whole change list and more information, go to the top original post and get the new update now!
Original post

Thank you everyone for your feedback, suggestions and support! CodeMasterMike2012-04-11 13:23:54
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Tue May 15, 2012 11:04 am

It would be nice if you could also add "Equal to" "Less or equal" and "Greater or equal" to check counter value.
B
16
S
4
G
1
Posts: 47
Reputation: 2,542

Post » Tue May 15, 2012 12:39 pm

@Python
The problem with using == as a condition, is that its practically impossible to exactly get a situation where the values are "equal", due to the time calculation is calculated in milliseconds, and the values can be very high. And since the engine doesn't run once per millisecond, a equal condition might never be true, because the update might have taken 1 millisecond too long to be a match.

but I'm willing to test a equal condition, but its little different than a "ordinary" equal. I have added that if the time value is higher than the time at the previous update, and lower/equal to, than the current time during the current update, its considered equal and returns true.

I don't know how well it will work, so this needs to be tested properly before it can be accepted into the final code. But I'm releasing it now anyway so you can test it and see how it works.

I also added "Less or equal" and "Greater or equal" to the "Check counter value"-function.


New update is online! The latest version is now 1.07!

Check Counter Value
I added '==', '<=' and '>=' to the conditions in this function.
Although these conditions are still under testing (read above for more information), and they might change in later updates.

Remove Single Counter
his function removes a single counter from the Time Manager. I added this to get the option to remove unwanted timers that would only take up a spot in the Time Manager list and, in larger amount, more time to calculate active counters.

I hope this update will be of big use for all of you who uses this plugin. To get the whole change list and more information, go to the top original post and get the new update now!
Orginal post

Thank you everyone for your feedback, suggestions and support! CodeMasterMike2012-05-15 12:39:20
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Wed Jun 06, 2012 2:37 pm

*Edit - Nevermind, got itRockwell2012-06-06 21:08:26
B
37
S
6
G
6
Posts: 45
Reputation: 4,502

Post » Mon Jul 09, 2012 8:04 am

New update is online! The latest version is now 1.08!

This update fixes a issue where other counters may have been resetted, that shouldn't be resetted when adding new counters to the plugin.

I also added a new counter action, which allows you to set a "start value", so the counter starts at this value instead of default 0.

I hope this update will be of big use for all of you who uses this plugin. To get the whole change list and more information, go to the top original post and get the new update now!
Orginal post

Thank you everyone for your feedback, suggestions and support!
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Fri Aug 17, 2012 12:39 pm

Can't get it working. I've copied all files into plugins\Time_Manager_1_08 folder but C2 doesn't see it. Tried to put into plugins\Time Manager, but still no luck.
B
53
S
14
G
10
Posts: 282
Reputation: 7,578

Post » Fri Aug 17, 2012 4:28 pm

@tecbug

As with all plugins, you need to unzip the files and paste them into a folder under plugins. Then it will show up inside Construct 2.
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Mon Oct 08, 2012 3:40 pm

Is there a possibility to add a value to a countdown? I saw how to add a value to another variable when the time is counting up.
I would like to add 5 points and -5 points to a counting down time.
If the time is 0 the layout changes.

In this case I worked on so far the problem is that I collect points but the clock can not be 0 because it stops countding down on 5, if I collected 5 points.
I understand why, but still didnt find out how I can fix this.


Here is a game screen of the problem.
https://twitter.com/LintuSotaRauha/status/255315326441512960/photo/1
Everyone can win. But its not the big target. Hehe. :)

Points are on the left and time is on the right corner.LintuSotaRauha2012-10-08 15:43:59
B
7
S
2
G
3
Posts: 7
Reputation: 2,283

Post » Thu Oct 11, 2012 7:43 pm

@ LintuSotaRauha
first of all i recommend you to use the plugin instead of the old tutorial version. the plugin is much easier and faster to use.

if i really understand your issue, you need to take the current time value that you have, and add your points to that and restart the counter with the new time value.


at the moment i cant add a add/subtract function to the plugin beacuse i dont have time for it. and i wont have any time for the next several months either. but i will add it to the wishlist.
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Fri Oct 12, 2012 3:49 pm

Thank you very much. I will be patient.
B
7
S
2
G
3
Posts: 7
Reputation: 2,283

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest