A Flash Developer Resource Site

Search:

Type: Posts; User: tariqm

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. Need help on Beta Testing and Security argument

    Hello,

    My partner and I have been developing a flash game for quite a while and are only a few months away from releasing it. My partner would like to beta test this with strangers from the...
  2. Replies
    0
    Views
    11,042

    Agal Register Question

    When using the following AGAL code my particle is rendered:

    Vertex Shader:
    "m44 op, va0, vc0 \n" +
    "mov v0s, va1" // is this necessary?

    Fragment Shader:
    "mov oc, fc"

    The following my...
  3. Replies
    4
    Views
    1,686

    I would make the background a Sprite container...

    I would make the background a Sprite container with a whole bunch of Bitmap tiles inside that reference only one BitmapData object.

    I made this code quickly, and is untested. But basically it...
  4. Replies
    7
    Views
    1,094

    I just noticed u posted another AS3 Example fla....

    I just noticed u posted another AS3 Example fla.

    I edited the one in your first post.
    Commented things out that were causing errors.

    And basically got the dragging of the two components...
  5. Replies
    7
    Views
    1,094

    cancerinforms code is written in Actionscript 3....

    cancerinforms code is written in Actionscript 3.
    And he showed you some things you needed to do to make it AS3 compatible.

    It just says php code because that's what the forum software supports...
  6. What have you made so far? Do you have any...

    What have you made so far?

    Do you have any specific questions?
    Problems with certain parts of the game/code?
    For example, movement, collision, boundaries.


    For a split screen you can...
  7. Replies
    2
    Views
    4,362

    I do something like this. var...

    I do something like this.



    var movingLeft:Boolean = false;

    stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
    stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);

    //will cause the...
  8. Thanks for the example cancerinform! But would...

    Thanks for the example cancerinform!

    But would this work if I download the movie and play it using the Flash Player virtual machine program?

    I noticed that it uses Javascript somewhat.
    ...
  9. How do I communicate between AS3 and embedded AS2?

    I'm working on a game where the the engine is made in AS3, yet the interface is made in AS2.

    Basically I am embedding the GUI as a AS2 .swf into my main AS3 .swf. I want the AS2 GUI to be able to...
  10. Thanks Unknownguy. This could actually work....

    Thanks Unknownguy.
    This could actually work. Especially if I want to clear my array to 0.
    Even if I use char(byte) I can still set every byte to 0, thereby clearing all my pixels to a 100%...
  11. I see how triple buffering would be quicker this...

    I see how triple buffering would be quicker this way, but I don't know if multi-threading is allowed in Flash using C++ via Alchemy. Never tried it though. Will keep an open mind about Triple...
  12. [C++][Alchemy][F10]Faster ways to clear a bitmap?

    Not sure where to put this question as it relates to Alchemy...

    I'm making a game which does all the rendering in C++, and passes as an address in memory to be created as a BitmapData from a Byte...
  13. It works neznein9. Instead of using the draw...

    It works neznein9. Instead of using the draw methods matrix parameter I just scaled the vector graphic before drawing it to a bitmapData. So no need for a better render method...

    The one thing I...
  14. I'll try that out, Thanks neznein9

    I'll try that out,

    Thanks neznein9
  15. Looks like that just renders an already created...

    Looks like that just renders an already created bitmapData object. Interesting link though, but I'm looking for something that turns a vector into a bitmapData object without too much distortion.
    ...
  16. [RESOLVED] Better Bitmap draw method or render class, need help

    Hi,

    I was wondering if anyone knows of any custom classes created by the community that can render vector graphics onto bitmapData objects better than the current flash vector renderer. The...
  17. Replies
    13
    Views
    1,861

    ImprisonedPride I got those errors, then upgraded...

    ImprisonedPride I got those errors, then upgraded to Flash 10. After that no errors. Maybe your current version isn't installed right or something.

    Anyways here are some of the results I got:
    ...
  18. Replies
    1
    Views
    1,700

    Try this: I explain everything in the...

    Try this:

    I explain everything in the comments, havn't tested it though, so not sure about it.


    private function bitmapLoader(ImageTxt:String, Image_x, Image_y ) {
    var loader:Loader = new...
  19. Replies
    9
    Views
    959

    I really suggest you look over this code, it...

    I really suggest you look over this code, it looks as if your just trying to take examples and put them together. You should learn how this code works and why it works. Also try stuff from scratch,...
  20. you can reuse the same function. function...

    you can reuse the same function.


    function mouseUpHandler(evt:MouseEvent):void {
    gotoAndPlay(2);
    evt.currentTarget.removeEventListener(MouseEvent.MOUSE_UP,mouseUpHandler);
    }

    the...
  21. Replies
    9
    Views
    959

    Can't believe I forgot this, but I forgot to...

    Can't believe I forgot this, but I forgot to increment the count variable...

    Just add "count++;" as the first statement the snowflake function calls.


    I attached a fix version of what you...
  22. Replies
    9
    Views
    959

    What exactly do you want happening with the flash...

    What exactly do you want happening with the flash file you want?

    I mean what effect do you want. Do you want to create a snowflake every 50-100 frames, have it fall then make it disappear after a...
  23. Replies
    9
    Views
    959

    You can create a counting integer variable that...

    You can create a counting integer variable that adds every time it enters the snowflake function and a goal variable to tell the function at which frame number to initiate the code in the function,...
  24. I would remove the event listener from...

    I would remove the event listener from menubutton1. I would also not create the function inside the parameter.



    menubutton1.addEventListener(MouseEvent.MOUSE_UP,mouseUpHandler); ...
  25. Replies
    3
    Views
    612

    When you create the variables at runtime they...

    When you create the variables at runtime they just cause confusion for developers later on, basically your right they can get out of hand. They also make it harder to debug code in my previous...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center