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

Pages: 1 2 3 ... 18
I'd make a 2d list with all the necessary info in it, actor type, timing, start position etc:

[0[10.0, UP,]] [1[11.5, DOWN]] , [2[15.2, LEFT]] etc

just check the first entry every 0.1 second against your time attribute, then pass the other info to a reusable constructor event or flag when the time matches;

create actortype [get 0,2 from list] at X, Y
remove 0 from list

Ask a Question / Re: Playing background music over a channel.
« on: August 26, 2015, 10:27:44 pm »
Not sure i understand what you want to do here, Is it you want to have Music keep playing between your Level Select Scene and Level1? Try switching your Boolean Attributes from local to Game Attributes..

Ask a Question / Re: Sound Panning
« on: August 12, 2015, 05:59:14 am »
Hi there,

Yeah it should be possible, although ive heard that only Mono audio will pan properly due to the way OpenAL does things, still the SoundTransform class has a 'pan' field:

See more here;

Legend! Thanks mdotedot!

Thanks Merrak ,

That's exactly what I'm looking to do. I remember a year or so ago someone did post some a few lines of code to achieve this in 2.2  in a thread about loading external music, I actually had this code saved on my old computer but I can't find the old thread now.  I'll just have to try and muddle through with this haxe stuff, unless anyone else has an solution?

Thanks Innes! better approach there Aykay..

Hi Guys,

As above,

How do I open a dialogue window to choose a file on my computer and load it?


Ask a Question / Re: I want my little guy to collect coins !
« on: July 22, 2015, 06:51:32 pm »
You need to write a behaviour for either your player actor or your coin actor or your game scene that says:

If player collides with coin
   Kill coin
   Play some coin collect soundfx
   Increment coin number attribute +1

If you want a popup combo-icon you could make a "+1" actor  which would spawn when the coin is killed:

If player collides with coin
   Kill coin
   Create a "+1" above the player
   Play some coin collect soundfx
   Increment coin number attribute +1

You then would need to write some logic for your "+1" actor
When created
move to the top of the screen
kill self when leaving screen

Ask a Question / Re: How can I make...
« on: July 22, 2015, 06:42:56 pm »
In the scene blocks ;

If <mouse is clicked>
        For each actor in region
              Kill Actor

If <Not Actor/Self is on screen>
kill Actor/Self
 create Actor at x,y

Paid Work / Re: Some Custom Extensions
« on: July 13, 2015, 08:06:55 pm »

Ask a Question / Re: iOS 9 Beta 3
« on: July 13, 2015, 07:59:13 pm »
Im not entirely sure, I suspect it's something to do with updating stencyl from 3.0 to the new version.  Maybe the load/save blocks have been updated?

Ask a Question / Re: iOS 9 Beta 3
« on: July 12, 2015, 08:26:44 pm »

Ok could be a bunch of stuff. If you have any loading/saving blocks on the first scene behaviours, disable them and try that first..

Ask a Question / Re: iOS 9 Beta 3
« on: July 11, 2015, 07:58:09 pm »
Does the game compile and then crash ingame or does it not compile? What error does Stencyl give you?

Pages: 1 2 3 ... 18