Iphone Joystick Problem

iPhone/iPod/iPad specific questions and discussion

Iphone Joystick Problem

Postby beginnerirvaz » Tue Sep 13, 2011 12:21 am

Hi I have been using GE for about a week now, i begun with the idea of making a worms type game. I now realise I should be starting with something not as complex.

So I have decided to make a basic platform game, the game will be for the iphone and consist of the usual, player, enemies, static and moving platforms and maybe some spikes.

I have followed the platform game tutorial but instead of using keys to move the player I would like a joystick that is able to move the player left, right, and up and down. I have searched the web and the tutorials but have found it hard to get to understand this concept.

Is there anybody that could direct me to a step by step tutorial or some sought of walkthrough on how to set up a joystick? please please can somebody help,!!!

Thank you in advance :)
beginnerirvaz
 
Posts: 37
Joined: Fri Sep 09, 2011 2:02 am
Score: 0 Give a positive score

Re: Iphone Joystick Problem

Postby Jagmaster » Tue Sep 13, 2011 12:30 am

There are a few demos and tutorials that could help

This tutorial covers onscreen buttons: http://game-editor.com/forum/viewtopic.php?f=4&t=9246

This demo shows the basics of an onscreen joystick: http://game-editor.com/forum/viewtopic.php?f=4&t=9989

If you need any more, I'll search around. I can try to answer any other questions as well.
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Iphone Joystick Problem

Postby beginnerirvaz » Tue Sep 13, 2011 1:56 pm

Thanks Jagmaster

Ive read both of those tutorials and love the second, I downloaded the file and tried to add me own images without success. I guess its a little more complicated than just changing images, Do you have any ideas?
beginnerirvaz
 
Posts: 37
Joined: Fri Sep 09, 2011 2:02 am
Score: 0 Give a positive score

Re: Iphone Joystick Problem

Postby beginnerirvaz » Tue Sep 13, 2011 7:56 pm

Hey I decided to have another go and I cant believe how stupid I was. I was replacing the image with my image and it was only 1 frame. I quickly created a 36 frame image in inkscape, exported and it works great!

Now for my player....
beginnerirvaz
 
Posts: 37
Joined: Fri Sep 09, 2011 2:02 am
Score: 0 Give a positive score

Re: Iphone Joystick Problem

Postby Jagmaster » Tue Sep 13, 2011 10:52 pm

Yep, rotation will be coming in 1.5 which will make that a little easier. Until now, you'll need to have multiple frames which, in a way, has more flexibility graphic-wise.
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score


Return to iOS

Who is online

Users browsing this forum: No registered users and 1 guest

cron