Profile

Cover photo
Daniel Pickford
Worked at 15below
Attended University of Brighton
Lives in Eastbourne
23 followers|15,374 views
AboutPostsPhotosYouTube

Stream

In his circles
93 people
Have him in circles
23 people
Leo Kwok's profile photo
Sarah Bell's profile photo
Ed Grave's profile photo
Chris Blyth's profile photo
Michael Newton's profile photo
Neil Chalk's profile photo

Daniel Pickford

Discussion  - 
 
Hey guys, first off thanks for writing such an awesome engine so far i've really enjoyed developing with it. I have started adding touch to my little game and was wondering if there is a way of snapping a Sprite to the mouse cursor without having to click down. The game I'm working on is here: http://www.danpickford.com/Munch Any tips greatly appreciated... what i want to happen is the character sticks to the mouse when it enters the scene.
1
Gerrit van Huyssteen's profile photoDaniel Pickford's profile photo
4 comments
 
Just wanted to update this with the solution. Taking Gerrit's advice I combed through the Breakout code and found out how to do this.
I added this.p.x = Q.inputs['mouseX']; into the Sprite class for Munch and Q.input.mouseControls(); just after the Quintus declaration. Thanks again for the help!
Add a comment...
People
In his circles
93 people
Have him in circles
23 people
Leo Kwok's profile photo
Sarah Bell's profile photo
Ed Grave's profile photo
Chris Blyth's profile photo
Michael Newton's profile photo
Neil Chalk's profile photo
Education
  • University of Brighton
    2008
Basic Information
Gender
Male
Work
Employment
  • 15below
    Developer
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Eastbourne
Previously
Melbourne Australia - Melbourne - Brighton
Links
Contributor to