Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Micboy

Pages: 1 ... 4 5 [6]
76
Game Programming / Re: Marketing an App
« on: August 03, 2012, 08:23:40 am »
That would be a very good idea!

77
Game Programming / Re: Making a sprite 'jump'
« on: August 03, 2012, 03:30:52 am »
If you need to have the device respond to a touch event, then yes, you'll need to set up a touch area using TouchAdd() with the appropriate settings.

Have you read the Box2D tutorial about jumping?

http://www.dragonfiresdk.net/wiki/index.php?title=Tutorial%3AJumping_in_Box2d

Of course, that was the reason why I wanted to steer away from Box 2d. I am wondering if it is possible to make a sprite move up a few pixels then back down, within the OnTimer(), when the screen is touched.

78
Game Programming / Re: Making a sprite 'jump'
« on: August 02, 2012, 08:40:04 am »
Should I set the Touchadd function, then have the callback as jump(), with jump() having a calc that changes the Y coordinates into the jump height?

79
Game Programming / Making a sprite 'jump'
« on: August 02, 2012, 08:37:55 am »
Hi everyone, I'm new to dfsdk so i need some help.
As i am not too familiar with box2d, I will therefore make a sprite jump by changing the Y coordinates in OnTimer().
However, moving the sprite is easy, but how do I move it when the screen is touched?
Any help would be appreciated!

Pages: 1 ... 4 5 [6]