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.


Topics - Xietao

Pages: 1 2 3 ... 5
1
Resolved Questions / Stencyl Dial Logo?
« on: July 26, 2012, 07:48:59 am »
A Dial Logo for 'Speed Dial' this size:

2
Chit-Chat / My Pre-ship behavior library!
« on: July 13, 2012, 08:24:10 am »
Thanks to Joe here's my behavior library.

3
Chit-Chat / Your favorite game genre?
« on: July 07, 2012, 11:27:05 am »
Topic Title

I love strategy games and TD games :P
Here is my favorite game so far. :P ( Not requiered )

What is your favorite game genre? :))

4
Chit-Chat / Ideas for Custom Blocks?
« on: July 05, 2012, 04:50:28 am »
As I time ago say:
Quote
I don't very like make games.
Well, I love a lot custom blocks, so I still make a lot of "him". I have now 10 custom blocks:

-"As List" block
-Get item index
-Create circular region
-Create Box Terrain
-Create Circular Terrain
-Get Actor ID
-Set the game speed
-Get Current FPS
-Well the example in Stencylpedia
-The example for Y
 ;D ;D ;D ;D ;D ;D ;D ;D

5
Ask a Question / It's possible set the scene Width/Height?
« on: July 02, 2012, 10:34:07 am »
Hi!
Can I set the scene width/height when playing?
Thanks! :D

6
Resolved Questions / Value of this [Solved]
« on: June 30, 2012, 01:06:53 pm »
Can anybody tell me the value of this block?

7
Shared Resources / "On Rails" Behavior for 2.x
« on: June 30, 2012, 04:27:07 am »
If you are running "Jump and Run - Extended" you maybe get errors from the behavior "On Rails"
To fix this you replace the behavior with the .png file. I changed code to blocks to work in any version. (1.x, 2.x, 3.x..) Use the Import... feature.

8
Old Bugs (1.x/2.x) / [2.2] Controls Name
« on: June 29, 2012, 01:17:08 pm »
I change the controls name I close the Setting Menu, the names was the same, but for example:
Old Name: right New: Right
2.-Behavior
3.-Select control, name was right!!
4.-Restart Stencyl
5.-Setting
6.-The name change to right!!
I can post a log as well.

9
I can't see the difecence between:
Code: [Select]
FlxG.elapsed     FlxG.maxElapsedReturns the same: 0.033333
Is there's any difencence?  :o

10
Ask a Question / Coding...
« on: June 26, 2012, 10:09:21 am »
Stencyl give me this error:
Code: [Select]
Behavior: Design_4_4_DrawBugTest at line 99
El atributo public sólo se puede utilizar dentro de un paquete.
override public function forwardMessage(msg:String):void
My code:
Code: [Select]
package scripts
{
import flash.display.BlendMode;
import flash.events.*;
import flash.net.*;
import flash.filters.*;

import Box2DAS.Collision.*;
import Box2DAS.Collision.Shapes.*;
import Box2DAS.Common.*;
import Box2DAS.Dynamics.*;
import Box2DAS.Dynamics.Contacts.*;
import Box2DAS.Dynamics.Joints.*;

import stencyl.api.data.*;
import stencyl.api.engine.*;
import stencyl.api.engine.actor.*;
import stencyl.api.engine.behavior.*;
import stencyl.api.engine.bg.*;
import stencyl.api.engine.font.*;
import stencyl.api.engine.scene.*;
import stencyl.api.engine.sound.*;
import stencyl.api.engine.tile.*;
import stencyl.api.engine.utils.*;

import org.flixel.*;
import mochi.as3.*;
import flash.ui.Mouse;

            import flash.geom.Matrix;
import flash.display.GraphicsPath;
     import flash.ui.MouseCursorData;
import flash.display.Sprite;
import flash.display.Shape;


public dynamic class Design_4_4_DrawBugTest extends SceneScript
{
  //Graphics path data for an arrow
private var cursorPoints:Vector.<Number> = new <Number>[0, 8, 16, 8, 16, 0, 24, 12, 16, 24, 16, 16, 0, 16, 0, 8];
private var cursorDrawCommands:Vector.<int> = new <int>[1, 2, 2, 2, 2, 2, 2, 2];
public function MouseCursorDataExample()
{
    var mouseCursorData:MouseCursorData = new MouseCursorData();
    mouseCursorData.data = makeCursorImages();
    mouseCursorData.frameRate = 1;
    Mouse.registerCursor("spinningArrow", mouseCursorData);
    Mouse.cursor = "spinningArrow";
}
//Returns a Vector containing 8 cursor images
private function makeCursorImages():Vector.<BitmapData>
{
    var cursorData:Vector.<BitmapData> = new Vector.<BitmapData>();
    var cursorShape:Shape = new Shape();
    cursorShape.graphics.beginFill(0xff5555, .75);
    cursorShape.graphics.lineStyle(1);
    cursorShape.graphics.drawPath(cursorDrawCommands, cursorPoints);
    cursorShape.graphics.endFill();
    var transformer:Matrix = new Matrix();
    //Rotate and draw the arrow shape to a BitmapData object for each of 8 frames
    for (var i:int = 0; i < 8; i + +)
    {
        var cursorFrame:BitmapData = new BitmapData(32, 32, true, 0);
        cursorFrame.draw(cursorShape, transformer);
        cursorData.push(cursorFrame);
        transformer.translate(-15, -15);
        transformer.rotate(0.785398163);
        transformer.translate(15, 15);
    }

    return cursorData;
}
}
}

 
  override public function init():void
    {
                  print("" + "\u00e9\u00f1\u00ba");
    addWhenDrawingListener(null, function(list:Array, g:Graphics, x:Number, y:Number):void {
if(wrapper.enabled){
        g.drawString("" + "Espa\u00f1ol\u00ba\\\u00aa", 100, 9);
}
});

    }        

public function Design_4_4_DrawBugTest(ignore:*, scene:GameState)
{
super(scene);

}

override public function forwardMessage(msg:String):void
{

}
}
}

11
Topic Title
I haven't got any sounds in my game. I've got write permissions and can't test the game in flash or browser. :'(

12
Chit-Chat / My "short" words
« on: June 24, 2012, 02:39:02 pm »
poof = Bump
uff = "tired" or "lazy to do"
More... Thinking ???

13
Ask a Question / E-mail Change Request
« on: June 23, 2012, 02:54:18 am »
Can be change my e-mail, please to
Code: [Select]
xietaowanglin3@gmail.comThanks!!

14
Ask a Question / Difencence between x, x-center and x (on screen)?
« on: June 21, 2012, 06:29:25 am »
Topic Title.

15
Topic Title.

Pages: 1 2 3 ... 5