Im looking to change my menu code to something more practicable and simple. Im going to use the Hardon Collider for the game anyway so thought may as well use it for the menu too. Was just wondering if anyone knows a good way to do this. Very new to Hardon Collider and finding it pretty hard to find out how to use it because the tutorials seem like they might be written for a higher level programer. But anyway would be greatly appreciated if someone could help me out or recommended a better way to do my menu.
Im having trouble uploading a .love file so just follow the link to my project page and download Pre-Alpha 0.2.0 for a look at my code.
My project page on reddit if anyones interested: http://www.reddit.com/r/piquant2013
Make my menu use Hardon Collider?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Suspicious_37
- Prole
- Posts: 10
- Joined: Tue Oct 16, 2012 12:22 pm
- Location: Australia
- Contact:
Make my menu use Hardon Collider?
- Attachments
-
- SpaceGame.love
- (3.2 MiB) Downloaded 148 times
Re: Make my menu use Hardon Collider?
Correct me if I'm wrong but that is a library for physics not interface.
- Suspicious_37
- Prole
- Posts: 10
- Joined: Tue Oct 16, 2012 12:22 pm
- Location: Australia
- Contact:
Re: Make my menu use Hardon Collider?
It is for Collision detection I'm pretty sure?
Re: Make my menu use Hardon Collider?
My mistake, didn't realize it only handled collisions without resolving them.Suspicious_37 wrote:It is for Collision detection I'm pretty sure?
Glanced over the documentation, it seems pretty straight forward. I have to note that it does not look practical for an interface. Which parts are you having trouble with?
What kind of menu are you trying to do? Describe the functionality.
- Suspicious_37
- Prole
- Posts: 10
- Joined: Tue Oct 16, 2012 12:22 pm
- Location: Australia
- Contact:
Re: Make my menu use Hardon Collider?
The Menu is already finished. If you download my game you can see it and see how its coded. What I am trying to do is rebuild the menu code because its long and complicated. I was thinking of using this Library to do so.Azhukar wrote:My mistake, didn't realize it only handled collisions without resolving them.Suspicious_37 wrote:It is for Collision detection I'm pretty sure?
Glanced over the documentation, it seems pretty straight forward. I have to note that it does not look practical for an interface. Which parts are you having trouble with?
What kind of menu are you trying to do? Describe the functionality.
Re: Make my menu use Hardon Collider?
Unless your interface will be based on colliding shapes, I do not recommending using this library for it. The callback system it has is unsuitable for an interface and you only need a simple rectangular element to detect mouse and call a function.Suspicious_37 wrote:The Menu is already finished. If you download my game you can see it and see how its coded. What I am trying to do is rebuild the menu code because its long and complicated. I was thinking of using this Library to do so.
- Suspicious_37
- Prole
- Posts: 10
- Joined: Tue Oct 16, 2012 12:22 pm
- Location: Australia
- Contact:
Re: Make my menu use Hardon Collider?
Oh alright then fair enough then. thanks! Do you like the way my menu is done or do you recommend another better way? This is the main thing that my post is about. Im just looking for a better way that I could do my menu because I think its long and complicated and could be done a lot better. If you think its fine then I will stop worry about it haha.Azhukar wrote:Unless your interface will be based on colliding shapes, I do not recommending using this library for it. The callback system it has is unsuitable for an interface and you only need a simple rectangular element to detect mouse and call a function.
Who is online
Users browsing this forum: Google [Bot] and 4 guests