Understanding Hardon Collider

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Garan
Prole
Posts: 17
Joined: Tue May 01, 2012 2:37 am

Understanding Hardon Collider

Post by Garan »

So I have a game that is stable, but I'm still trying to work out how to use Hardon Collider. I am aware that the player jumps at the beginning when you first move it, but after that initial glitch the x movement works fine.
What I am trying to work out is how to use the callbacks. How do I set them (and what should I change) and what other callbacks should I be aware of? I'm a little unsure of the syntax I'm supposed to be using with the library.

By the way, to enable gravity just go into the main.lua and uncomment the player.gravity lines. I know I should be commenting a bit more and turning some things into functions to make it easier to read, but hey, nobodies perfect.
Any other suggestions would also be appreciated.
Attachments
Platformer.love
(4.26 KiB) Downloaded 106 times
SerTrollface
Prole
Posts: 3
Joined: Tue Mar 12, 2013 8:12 pm

Re: Understanding Hardon Collider

Post by SerTrollface »

You have to change the file paths, it searchs anim8 in the appdata/roaming/love folder. It shoild search it in the .love file.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests