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

2
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..

3
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;

http://www.openfl.org/documentation/api/openfl/media/SoundTransform.html

4
Legend! Thanks mdotedot!

5
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?

7
Thanks Innes! better approach there Aykay..

8
Hi Guys,

As above,

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

Thanks,

9
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

10
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

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

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

13
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?

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

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

15
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