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

Pages: 1 2
Ask a Question / Re: Crash on AI death
« on: July 24, 2011, 02:45:50 am »
Ahh, thank you so much :) Now my Rabbit finally can jump!

Ask a Question / Re: Crash on AI death
« on: July 24, 2011, 02:30:42 am »
Can you clarify what you mean inside loop? It can't be under; When Created?  :)
Have even tried the while block.  :-\

Thank you!

Put under When created:

Do every (4) secounds
  If (self) is alive.
    (Rest of the blocks/code)

Ask a Question / Re: Crash on AI death
« on: July 23, 2011, 07:23:27 pm »
Got a similar error message myself after actor was killed. Maybe somehing we do wrong.

When I Try to get my Bunny to jump, with the timed event block.

   public dynamic class Design_14_14_HareBehavior extends ActorScript
            override public function init():void
          runLater(1000 * 4, function(timeTask:TimedTask):void
          actor.applyImpulseInDirection(270, 30);
          actor.applyImpulseInDirection(180, 10);
      override public function update():void
      override public function handleCollision(event:Collision):void
      override public function draw(g:Graphics, x:Number, y:Number):void

      public function Design_14_14_HareBehavior(actor:Actor, scene:GameState)
         super(actor, scene);
         nameMap["Actor"] = "actor";
Get this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at Function/<anonymous>()[C:\Users\stale\Documents\StencylWorks\sandbox\flash\scripts\]
   at stencyl.api.engine::TimedTask/update()[/Users/jon/Desktop/stencyl/plaf/flash/root/stencyl/api/engine/]
   at stencyl.api.engine::GameState/innerUpdate()[/Users/jon/Desktop/stencyl/plaf/flash/root/stencyl/api/engine/]
   at stencyl.api.engine::GameState/postUpdate()[/Users/jon/Desktop/stencyl/plaf/flash/root/stencyl/api/engine/]
   at stencyl.api.engine::GameState/update()[/Users/jon/Desktop/stencyl/plaf/flash/root/stencyl/api/engine/]
   at org.flixel::FlxGame/update()[/Users/jon/Desktop/stencyl/plaf/flash/flixel/org/flixel/]

What do I do wrong?

Edit: Important, happens when I jump on him with the player.

[Solved] thanks to KungFuFurby and Galdon2004
Solution: Put under (Do every secounds block. Not Do after secounds block

Resolved Questions / Re: Game menu freezes?
« on: July 20, 2011, 01:12:48 pm »
Strange.. Very strange. It seems it tries to fade in your menu, but fails somehow, If you have tried reuploading, and it doesn't help, I really don't know. It might be something with the engine that mismatces somehow.

I would had tried backuping the game, then re-upgrade Stencyl. Also look at the latest engine update instructed on the News\patces page of this forum. Then re-upload, upgrade your game.

Resolved Questions / Re: Game menu freezes?
« on: July 20, 2011, 11:05:30 am »
It seems to lock up my explorer aswell, Google Chrome. Looks to me, by experience, that it constantly draw the menu, or tries to. Have you checked the switch from your logo to menu. It may also be missing some files under upload.. Try uploading again. Does it work fine locally, on your stencyl?

Resolved Questions / Re: Object spawning at players hand?
« on: July 19, 2011, 08:55:53 am »
I havent thought of the math blocks at all, these will give me lots of more possibilities :P
How can I cave missed all the arithmetic? Thank you for waking me up !  :)


Resolved Questions / [Solved] Object spawning at players hand?
« on: July 18, 2011, 03:27:36 pm »
Hi again people!

I have a question about object creation.
I have created a behavior so that my player shoots out a knife when my action1 is pressed.
I have solved directions and pointing of the knife in all four directions, and it beginning to shape up well.

I just wonder how I can make the knife spawn at my players hand, (give it another x,y on self)
Now it just spawns in the middle of the player sprite. Cant quite figure it out.. Maybe I'm tired :)

Thanks in advance!

Windows / Mac / Flash / HTML5 / Re: Cute Blocks
« on: July 03, 2011, 06:31:18 am »
Ohh, thanks :)
I was just about to ask how to do this. I will fix it asap!

Windows / Mac / Flash / HTML5 / Re: Drivin' Along (work in progress)
« on: July 03, 2011, 02:04:19 am »
Hehe, I bet I've been pretty car sick on that bus  :D
Fun, but make more levels ;)

Windows / Mac / Flash / HTML5 / Cute Blocks
« on: July 03, 2011, 01:41:34 am »
Hello :)

I have started a game who I originally started 1 year ago in another engine. It was forgotten and lost.
Now it begins to get a new life here on Stencyl.

It's simple, but still fun. Have always loved games based on physics, pushing boxes etc.
This game is about a ball trying to survive thru several dungeons and puzzles.
It's still in alpha. Only got a few levels. But will be updated semi frequently with new content.
Still missing sounds and music, but will be added soon.

Tell me what you think.

* Added Intro music, (Just finished composing:))
* Added some sounds.

Here is the projector file of the (original Cute BloX). The one that I lost all my source for, I have started all from scratch again: So this was another story, If you like Cute Blox, And cant wait for more levels unil I find it for good to make some, play this, It has above 5 levels that is huge step for me ;)

Just click this link:
And your good to go.

The new game will be updated soon.

Ask a Question / Re: Problem updating game.
« on: June 30, 2011, 01:43:55 pm »
Thanks for all the help and fast responses, that really is great support.  :D I have now started from
scratch to build up the game. I have wrapped up a zip of the old game, so you may have a look at it.

Ask a Question / Re: Problem updating game.
« on: June 30, 2011, 09:24:26 am »
Ohh thanks, here is the log. Hope it helps :)
How do I try to recover the game? still the same message when I try to start it.

Ask a Question / Re: Problem updating game.
« on: June 29, 2011, 05:40:44 pm »
Oh, now I see what might have gone wrong, all my stuff in the resouce drawer of the game have gone to 0 bytes. Checked the data.xml, and everything there seemed fine. It must have messed somehow on the save prosess. Well. I tell myself and others; Remember to backup! Seems I have to start over.

Pages: 1 2