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

Pages: 1 2 3 4
1
Ask a Question / setting an actors attributes programatically
« on: March 22, 2015, 09:13:55 am »
If i create an actor with an attribute I know that i can drag an instance onto the scene and set it's attributes through the inspector, how do i do it programatically from the scene's events with actors that are dynamically spawned?

2
Ask a Question / Re: actors and specific instance id's
« on: March 22, 2015, 02:48:39 am »
is there any way to create an actor but not add it to the stage so that i don't have to set it's initial xy on creation?

3
Ask a Question / actors and specific instance id's
« on: March 21, 2015, 04:05:29 pm »
If i create an instance of an actor at x and y do i then have access to an ID of that instance?

For example in my game at the moment i create a score flash-up on the x and y of the mouse release which has an animation that lasts roughly a second (it shrinks in size).

I know i can do this through blocks but i was just testing the other behaviour to start off with.

is there any way to refer to this actor instance i've created rather than looping through actor of type which gets all instances and last created that could potentially select another actor that's been spawned (if i've got it correct how it works).


4
Ask a Question / showing device volume
« on: March 15, 2015, 02:56:35 pm »
Is there anything available or any ideas how to show the system volume? If i could get it as a percentage that'd be awesome.

5
Fixed Bugs (3.x) / Weird bug after adding a background
« on: March 13, 2015, 01:42:07 pm »
I've got a scene with 3 layers, a background and a couple more with actors on. When i add another background layer I can no longer click on any layers in the palette as i get a weird error showing up. If i don't add the background layers is can click in the palette no problem. Also I've tried various ways to add the background (through the palette plus sign and also attach scene within the background editor. Any help is appreciated.

6
Extensions / Re: iOS Video Player
« on: March 11, 2015, 09:00:18 am »
does this now support Android?

7
Ask a Question / Re: make eyes follow taps
« on: March 10, 2015, 06:41:14 am »
thanks. i'll try this at home tonight after work.

8
Ask a Question / Re: How do you import an .OTF font?
« on: March 09, 2015, 04:19:07 pm »
you need to import a true type font .ttf. there are online converters but they're not very good. what font is it?

9
Ask a Question / make eyes follow taps
« on: March 09, 2015, 04:14:51 pm »
how would i go about creating eyes that had pupils that followed the users tap input?

so if the user taps in the top left hand corner (the character would be stationary in the top right hand corner) then the pupils go over to the left of the eyeball. ideally i'd like to do it so it's a smooth tween taking a second or two. any crazy pseudo code ideas are welcome :)

10
Ask a Question / Re: creating audio playlist
« on: March 02, 2015, 06:11:40 am »
looks interesting. I'll give it a proper look later when i get home

11
Ask a Question / Re: creating audio playlist
« on: March 01, 2015, 02:40:20 pm »
posted an update on how i did it. i'll add some more once i do the next part

12
Ask a Question / creating audio playlist
« on: March 01, 2015, 09:05:43 am »
Are there any tutorials out there for creating an audio playlist? I have 10 tracks which i'd like to play one after the other with the option to switch to the next track. I'm going to have a go myself and post my results but i wondered if there was anything existing so that i could compare my results.


----update-----

Ok here's what i've done and it seems to be working so far.

I created a scene before my main splash/start screen. This pre splash has the first behaviour setup to play the first track. My tracks are called track1, track2 and track3.

On every other scene i simply do the second behaviour to see if i've got to the end of the track and if so play the next one. Where it's checking for 4 is simply where i reset the track count to one.

I'll add some more once i do the next track bit. Please let me know if anyone wants me to add any other functionality. i could probably do a randomizer

13
Ask a Question / Re: What kind of gameplay is easiest to code?
« on: February 26, 2015, 07:28:03 am »
maybe try a match the card game with your own pictures. there's probably a pre-built game out there somewhere. a pokemon type game is probably beyond your average newbie level.

14
Ask a Question / Re: Normal (blue) attributes VS Game (purple) Attributes?
« on: February 25, 2015, 01:22:29 am »
scope surely?

15
Ask a Question / Re: stacked actors and events
« on: February 24, 2015, 08:15:17 am »
so how do i do it so that only the top actor registers the click? the problem i have is that my lower actors behaviour is an actor one but my upper one is a scene behaviour (which seems to kick in before my other one). So when i do my behaviour for the lower one to see if both actors have been clicked on the upper one has already been registered and killed so i can't check if both have been clicked.

Is there any documentation on Event Lifecycle anywhere so i can figure out what is happening when?

Pages: 1 2 3 4