daverival Posted January 10, 2014 Share Posted January 10, 2014 Hi all, I've just bought the Indie Edition of Leadwerks and in just a couple of hours have a map which a player has to run/jump across to get to the end. So far I've been really impresed with the engine but now I've got stuck and havn't been able to find any resources with the answer. I want to implement a timer that shows the players current time. I've had no problem starting and stoping it based on some collision triggers but I have no way to display it to the user. How can I add a UI layer to my application? Additionally, assume I wanted to add an in-game menu how would I add that. Many Thanks Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 10, 2014 Share Posted January 10, 2014 These are how you would do it, However it can get a bit hard if your new to programming. http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/context/ http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/window/ Here are some scripts that should help you learn and you can use them in you runner game as well http://www.leadwerks.com/werkspace/files/file/464-draw-text/ http://www.leadwerks.com/werkspace/files/file/456-flowgui-free/ Quote Link to comment Share on other sites More sharing options...
daverival Posted January 10, 2014 Author Share Posted January 10, 2014 Many Thanks nate066 I'll give it a try tonight. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.