Time Trials and Better Leveltimers!

This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Time Trials and Better Leveltimers!

Postby PixelPest » Sun Aug 06, 2017 5:43 pm

Here's two Beta 4 APIs, one of which is basically leveltimer.lua on steroids and one which allows easy time trial integration into levels and episodes.

Image

Clock.lua
Documentation: http://wohlsoft.ru/pgewiki/Clock.lua
Features:
  • Very easy-to-use stopwatch and countdown timers
  • Tons of customizability
  • Multiple default settings
  • Trigger events when a timer runs out
  • Everything leveltimer.lua has and more!
TimeTrial.lua
Documentation: http://wohlsoft.ru/pgewiki/TimeTrial.lua
Features:
  • Used with clock.lua to create a full time trial system with one extra call
  • Tons of customizability
  • Default graphics for medals
  • Set times simply using a text file
  • Saves and can clear best scores
  • And more!
Download (includes both as well as a demo level): https://www.dropbox.com/s/8fqgib82i5176 ... a.zip?dl=0

At this point the documentations are not complete on the PGE Wiki however for clock.lua there is an extensive documentation in the file and the example level helps explain timeTrial.lua as well.

Enjoy!

superfido2
Bit
Bit
Posts: 68
Joined: Sat Jun 10, 2017 11:40 pm

Re: Time Trials and Better Leveltimers!

Postby superfido2 » Sun Aug 06, 2017 6:31 pm

This would go great with time based rewards in episodes. Can't wait for beta 4 so we can use these.

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Time Trials and Better Leveltimers!

Postby PixelPest » Sun Aug 06, 2017 6:33 pm

superfido2 wrote:Can't wait for beta 4 so we can use these.
Feel free to use them now

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: Time Trials and Better Leveltimers!

Postby MECHDRAGON777 » Mon Aug 07, 2017 2:09 am

So I this an edited version of: viewtopic.php?f=87&t=13088#p195538 ?

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Time Trials and Better Leveltimers!

Postby PixelPest » Mon Aug 07, 2017 7:45 am

MECHDRAGON777 wrote:So I this an edited version of: viewtopic.php?f=87&t=13088#p195538 ?
It's barely related and uses none of the same code

ElectriKong
Posts: 4650
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Time Trials and Better Leveltimers!

Postby ElectriKong » Mon Aug 07, 2017 4:51 pm

So where is the documentation within the files?

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Time Trials and Better Leveltimers!

Postby PixelPest » Mon Aug 07, 2017 8:02 pm

Electriking wrote:So where is the documentation within the files?
The top of the file of clock.lua


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari