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

Pages: 1 2 3 4 5 ... 17
31
Ask a Question / Re: How to make the score stop when actor dies
« on: July 29, 2015, 09:48:13 am »
can you export the whole project please?

32
Ask a Question / Re: How to make the score stop when actor dies
« on: July 29, 2015, 09:35:38 am »
you need to assign it to an actor, not an actor type. Actor types can not be alive or dead

33
Ask a Question / Re: How to make the score stop when actor dies
« on: July 29, 2015, 08:49:45 am »
for the 'do ever 1 second' you add a check to see whether the player is alive

34
Ask a Question / Re: How to make the score stop when actor dies
« on: July 29, 2015, 08:13:40 am »
Just add a check to see if they're alive

If player alive -> add score by 1, otherwise stop

35
Ask a Question / Rotating platform you can hop on and off
« on: July 29, 2015, 06:54:50 am »
I've been struggling with this, and would appreciate some help



Basically, it's a rotating platform that the player must hop onto, then ride to the other end and hop off. They are allowed to move to the centre if they choose.

I had it almost working, except the player was locked to the platforms rotation

36
Windows / Mac / Flash / HTML5 / Radioactive Decay Day 2
« on: July 24, 2015, 12:47:26 pm »

37
Extensions / Re: External Data Extension [1.4]
« on: July 11, 2015, 03:13:29 pm »
flash cs4

38
Extensions / Re: External Data Extension [1.4]
« on: July 10, 2015, 08:00:16 am »
From the looks of things, if I want a character to be on a 800x600 screen, I have to make  the swf 800x600? cause no matter what I put for x and y he sticks to the same spot

39
Extensions / Re: External Data Extension [1.4]
« on: July 09, 2015, 05:20:12 pm »
Would it be possible to import animations as a swf and play them over an actor to avoid massive filesizes?

40
Bug Archives / Any idea what's causing this message?
« on: July 05, 2015, 06:24:38 am »
[LOG] [Flash] com.stencyl.Engine#moveActorToLayer(2019): Layer ID: -1 does not exist
[LOG] [Flash] com.stencyl.Engine#moveActorToLayer(2020): Putting actor inside default group
[LOG] [Flash] com.stencyl.Engine#removeActorFromLayer(2001): Layer ID: -1 does not exist
[LOG] [Flash] com.stencyl.Engine#removeActorFromLayer(2002): Assuming default group


On 3.1 btw

41
I would prefer to use swf's for a character over pngs or jpgs

42
Ask a Question / Re: Best way to transition scenes and position actors
« on: April 17, 2015, 04:07:50 pm »
Can you post you edited code, included the 'created' event

43
Ask a Question / Re: Best way to transition scenes and position actors
« on: April 13, 2015, 07:24:59 am »
The method I used in Radioactive Decay is to have a global variable that on hitting a region, sets the scene name to the variable

So if I was in the lobby, and hit the dining room region, it would be 'set GV to lobby, switch to dining room'

Then on the Dining room scene, I would have a created block that reads 'if GV=lobby, create hero at X Y, set last created actor to hero(actor att)'

The reason I think you code isn't working is cause the first one expects a specific actor called 'Kali 1', and creating one would be Kali 2, or 3 or whatever
The reson I think

44
Dialog Extension / Re: How do I set actor animations via dialog?
« on: April 05, 2015, 04:16:23 pm »
Huzzah, it works

Well the 'code to actor' one at least. I'm not gonna try the event based ones

45
Dialog Extension / Re: How do I set actor animations via dialog?
« on: April 05, 2015, 03:01:10 pm »
The version available from last August I guess

Code: [Select]
/**
 * @author Justin Espedal
 */
import com.stencyl.models.Actor;

class GlobalActorID
{
public static var actors:Map<String, Actor>;

public static function get(name:String):Actor
{
return actors.get(name);
}

public static function set(name:String, actor:Actor):Void
{
actors.set(name, actor);
}
}

Pages: 1 2 3 4 5 ... 17