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

Pages: 1 ... 7 8 9
121
Ask a Question / Actors attaching at seemingly random points
« on: August 08, 2013, 12:57:27 pm »
Evening all

I'm trying to make my platformer character shoot when he as enough bullets in his gun and you hit the fire button. However something odd is going on and the bullets are being attached somewhere seemingly off screen. At present if you fire, move in the direction you fired and then wait a bit, you'll see the bullets come in from off screen behind you. I'm completely stuck as to working out the cause of this. Weirdly If you shoot in the direction of one of my test enemies they'll still detect the collision and get bounced around by it (even though whatever hit them is invisible).

Also only the jumping+shooting anims ever get switched too, the rest just never happen.

I'm assuming it's a code ordering thing I'm unable to spot/fix?

I've been struggling with this for days. Any advice would be much appreciated

Thanks


122
Ask a Question / Re: Ladder Regions! Help!
« on: August 03, 2013, 07:02:51 am »
Ahh! Wonderful! Thanks! I tried that previously but evidently didn't put my "on ladder = false" far enough down the chain. Stuff the regions!

In the interests of expanding my knowledge is there a way of doing it with regions?

123
Ask a Question / Re: Ladder Regions! Help!
« on: August 03, 2013, 06:48:07 am »
I tried using collisions but couldnt work out how to do a test for "is not colliding" with the ladder actors. If you can tell me how to do that it'd be a perfectly viable solution.

124
Ask a Question / Ladder Regions! Help!
« on: August 03, 2013, 06:23:27 am »
Hiya

I'm trying to make a game with the ability to do 4 directional movement, jumping, shooting and ladders, without using pre-made behaviours (I need more flexibility to do some alert/not alert based stealth elements) I've managed to get about 60% of the way to finishing my basic controls but I'm stuck on the ladders.

I've created regions inside the level called "Ladders 0" and "Ladders 1" and am using some "when player enters/exits region" blocks to set an "is on ladder" var that triggers the alternate ladder controls and it seems to sort of work. However, I want to set all the ladder regions in my game to be usable at the same time and at the moment I only seem to be able to get one or other to work (by adding a "set ladders to region" event to the level's on created block). Is anyone able to make suggestions of how to keep all the ladder regions in my level working?

Any words of wisdom gratefully appreciated.

Thanks

P.S. I've attached all the code on my level so you can point out where I'm messing up?

Pages: 1 ... 7 8 9