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 - vodkaman6661

Pages: 1 ... 6 7 8
106
Ask a Question / Re: Hold animation (switch animation question)
« on: June 14, 2012, 12:00:57 pm »
like this?


107
Ask a Question / Re: Hold animation (switch animation question)
« on: June 14, 2012, 09:09:05 am »
this is my push event which i also cannot get to work

108
Ask a Question / Hold animation (switch animation question)
« on: June 14, 2012, 08:45:05 am »
Hold animation (switch animation question)

Hi, I’m trying to create an event when if a block lands on the player it will change the player’s animation to that of him with his arms up as though he was holding the block. At first I thought this would be simple but I cannot get it to work for some reason. >:(

Any help would be great

109
Thanks again that made sense, sorry for all of the questions i've only really started learning programming.

It helped alot I've got the player moving left and right then you swipe and jump when you swipe up.  :D only one problem left though, when moving left or right the jump animation plays not the walking animation lol

 I'll keep looking as i'm starting to feel bad/stupid for not being able to do this haha

110
Right I got the movement working out I wanted (swipe left or right) and the correct animation would play. Then when I added jump behaviour it would constantly play the jump animation. I was using the “simple” walk and jump behaviours so I went on to have a go with the ones included with the ios platformer kit. I thought this may have worked because the animation manager is included but again the wrong animation plays, now when the player moves it only plays the idle animation  lol.
I’m sure it’s something simple; again any help would be welcome.

Ideally I’d like to have the player move left and right when you swipe and jump when you swipe  up or when you press an onscreen button, whichever one feels best. I’ve got all the controls to work apart from the animations . :-[ :-[

111
Thanks I've got it working now! Just need to play around with the friction to get the right movement and get the jumping to work now lol


112
Hi thanks for the reply Play

I took the "and touch is down" out of the if statement but it still continues to move one millimetre at best. You can see the walking animation for a spilt second then it goes back to the idle animation. Strange.

113
Old Questions (from 1.x/2.x) / Swipe to move player left and right?
« on: April 05, 2012, 01:07:04 pm »


Hi guys thanks for all of the help before but I’ve run into another problem. I started off with my player being moved around the screen by on screen buttons. I didn’t like the feel of them and found the buttons to stick on occasion.

So I had a play around with the “swipe” gesture in the mobile settings. I found this to be more of the feel I would like for the game but it needs a few tweaks.

I’ve managed to get the player to jump okay using the swipe up gesture but the walking I have a problem. I’ve got the guy to move but he will only move a very small amount. Like a millimetre.
I’ve tired adding holding down the touch and swiping left and right but it still only move a small amount of space.

Any ideas?

114
Old Questions (from 1.x/2.x) / Re: iPhone accelerometer question
« on: March 17, 2012, 08:35:59 am »
I’ve walked it out.  Lol I was using the position actor setting not the movement ooopps again thanks for all of your help :)   (beer and coding dont mix)

115
Old Questions (from 1.x/2.x) / Re: iPhone accelerometer question
« on: March 17, 2012, 07:56:06 am »
Thanks for all the help guys!!!

Right I’ve got the actor moving how I wanted. (tilt the phone left the actor moves left and tilt the phone right and the actor moves right)
By using this code

Always
set x to y of accel x -200 of self

But the actor doesn’t appear in the scene where it was positioned in the scene builder. In the scene builder the actor is placed on a ledge (top right) but when the game is loaded up on the phone it starts at the edge of the screen at the bottom right.
Also the block snaps back to its original position when the phone is placed flat. I would like to have the actor move but stay where it ends up. Like when you use the left and right buttons to move an actor. (You press left the actor moves left a while then stop, the player presses left or right and the actor moves from that position)
Would it be worth changing the platformer walk behaviour so that instead of pressing the left or right buttons and have the code for the accelerometer in place?
One more thing I’ve added gravity to the actor but it doesn’t seem to be affected by it at all :s (gravity is set to 85 as recommended )
Any help would be greatly appreciated 

I’ll continue to experiment 

116
Old Questions (from 1.x/2.x) / iPhone accelerometer question
« on: March 11, 2012, 03:21:58 am »


Hi just a quick question.

I added the iphone accelerometer code as shown in the istencyl video section to an actor so that the actor would move left or right depending on the direction of the phone. The only problem is that when I test the game the actor starts in the top left hand corner of the screen.  I’m looking for the actor to be moved left and right using the iphone accelerometer but still be affected by gravity. E.g the actor would start on a ledge the user tilts the iphone until the actor drops off.

I would be grateful for any steps in the right direction. (It doesn’t have to be the full answer lol I don’t mind working things out just need a hand getting it started :D)

Thanks for the help  :)

117
Okay I fixed it, I had forgot to change the com.domain.gamename in stencylworks lol

118
Hi I got my Apple Dev account today and just spend the last hour setting up the following:

http://www.stencyl.com/help/viewArticle/97

Created all of my certificates in openssl without any problems.

Added all of the profiles and certificates to stencylworks click adhoc  then ran into this.

“Your app's identifier doesnt match the one in your provisioning profile”

I hope this is easy to fix I’m excited to see the game on the idevice for the first time

119
Ask a Question / Re: Windows StencylBuilder Lite
« on: February 24, 2012, 11:58:37 am »
Thank you for your reply toml2003 I appreciate it!

120
Ask a Question / Windows StencylBuilder Lite
« on: February 24, 2012, 09:28:32 am »
Hi sorry if this is a repost. :(

Has anyone used the stencylbuilder and ran their game on a ios device?

StencylBuilder Lite

Build iOS Apps for your device from Windows. Build iStencyl Lite apps on our server, if you have an Apple Developer License and have prepared your developer certificate and provisioning profile. Learn how to prepare these on a Windows computer.


Ive read the documentation and it seems straight forward and we be the best option for our team creating an ios game on a pc and still being able to test the ios device features without buying a mac to use the ios simulator etc

I just wanted a quick easy to follow guide from someone that had “been there done that” or could point me in the direction of one.  :D

Ive read that you only need a pc, ios device , a apple dev account and adobe flash builder?

Pages: 1 ... 6 7 8