A Flash Developer Resource Site

Search:

Type: Posts; User: DoomOfTheLiving

Page 1 of 3 1 2 3

Search: Search took 0.08 seconds.

  1. The first 4 images referenced in the XML file are...

    The first 4 images referenced in the XML file are on my hard drive, which I'm accessing through an Apache server. The rest are being downloaded from various websites. It turns out you were right...
  2. [RESOLVED] Making a slideshow, doesn't work if I test it in a browser

    I'm working on a slideshow using a class that I wrote that builds the slideshow and an XML file that points to the images. I plan on improving it later but for now I just want it to cycle through a...
  3. @cancerinform: I tried using a relative path like...

    @cancerinform: I tried using a relative path like you suggested and it gave me some error about how the file couldn't be accessed. I know I had the file path right so maybe it's not allowed in Flash...
  4. [RESOLVED] Loading files dynamically outside of the project folder

    I'm working on an image gallery in Flash that plays a slideshow of different images I have on my hard drive. I've got the basics of it working, but I'm still stuck on something. If my images are in...
  5. Ok, here's the new code: public function...

    Ok, here's the new code:

    public function isWalkable(tileX:int,tileY:int):Boolean {
    var isWalkableString:String;
    var isWalkable:Boolean = false;
    if (tileX >= 0 && tileY >= 0) {...
  6. Ok, so making a variable or function static...

    Ok, so making a variable or function static completely changes the way you need to access it, which is probably why my code is breaking. My biggest problem is that I can't figure out how to access a...
  7. Wow, I don't know how I missed that - I changed...

    Wow, I don't know how I missed that - I changed it so it passes mapData along to CheckInput and it works perfectly now. One more question - what's the difference between a public variable/function...
  8. [RESOLVED] Need Help With Character Movement/Blitting

    I'm coding a tile-based platform game and I'm having trouble getting the character movement working. I'm blitting everything in layers (background image, then level tiles, then player and enemies)....
  9. Replies
    4
    Views
    709

    I actually figured out what was going on. The XML...

    I actually figured out what was going on. The XML file wasn't being loaded quick enough, so the drawMap() function was being called before the file was done loaded, at which point the loadXML()...
  10. Replies
    4
    Views
    709

    Ok I've almost got everything working, I just...

    Ok I've almost got everything working, I just have one problem. I've made some pretty significant changes, so here's what I've got with the revisions:


    package app.loadData{

    import...
  11. Replies
    35
    Views
    2,712

    Poll: Ok, looking at your changes... I'm still not a...

    Ok, looking at your changes... I'm still not a fan of the stripes, but that's really up to you. It still has lime-green text on a teal background in a couple of places. You need contrast with text,...
  12. Replies
    35
    Views
    2,712

    Poll: I'm not sure what you mean. The zombies now have...

    I'm not sure what you mean. The zombies now have white eyes and a little yellow flag (or whatever that is) attached to them, so you must have changed it. I just clicked the same link that you...
  13. Replies
    35
    Views
    2,712

    Poll: The menus are still kind of distracting. Like I...

    The menus are still kind of distracting. Like I said above, the moving stripes need to be gone. You might be able to get away with the stripes if they're static, or slowly moving, but right now it's...
  14. Replies
    35
    Views
    2,712

    Poll: Well at least you know how to take criticism...

    Well at least you know how to take criticism well, maybe there's hope for you yet. ;)

    The reason I don't like the zombies piling up is you sometimes get a fake zombie covering up a real zombie so...
  15. Replies
    35
    Views
    2,712

    Poll: Ok, here's some honest feedback. The zombie level...

    Ok, here's some honest feedback. The zombie level made no sense at first - the fake zombies have one slightly different colored eye? There needs to be a clearer explanation of which one is or isn't a...
  16. Here's what I've got so far, adapted from your...

    Here's what I've got so far, adapted from your example.


    var xmlSplit:String = xml.r[0].split(",")[0];
    var xmlSheet:String = xmlSplit.split("-")[0];
    var xmlRow:int = xmlSplit.split("-")[1];...
  17. What I mean is, say I have a tile sheet called...

    What I mean is, say I have a tile sheet called "water" with 15 tiles, which is 5 tiles wide and 3 tiles tall. In my XML file, if I wanted to refer to tile 3,1 (3 over and 1 down) from the water...
  18. How would I actually use something like that,...

    How would I actually use something like that, though? I know how to get any given value using my method, even if it would be a nightmare to create and edit. Ideally I'd like to be able to do...
  19. So basically you're saying I could use an XML...

    So basically you're saying I could use an XML file, and then define the tile sheet, row and column inside that? I took a look at the posts you linked to but it doesn't make much sense to me. I think...
  20. I've got a basic map builder working already. I...

    I've got a basic map builder working already. I have an array that stores the position of each tile in the tile sheet (0, 1, 2, etc.). Then I have a Bitmap that contains the entire tile sheet for my...
  21. [AS3] Need Help Creating Tile-Based Map

    I'm working on a platform game and I'm a little stuck on the map building part. I've already got a working example that takes a set of tiles and draws a map with them, but it only works if all the...
  22. Replies
    4
    Views
    709

    [RESOLVED] Help Loading XML File

    I'm in the process of making a tile-based 2D side-scrolling game, and I'm having trouble loading the maps. I'm planning on storing them all in XML files on my hard drive, then loading them in,...
  23. Replies
    9
    Views
    1,135

    I probably should have explained the game better....

    I probably should have explained the game better. Basically it goes in a pattern - yellow, orange, red, blue, green. When you shift a row to the right or a column upward it moves to the next color...
  24. Replies
    9
    Views
    1,135

    Rubix Squared

    I just about have my first game finished (it's basically a Rubik's Cube, except square). I still have to add in the "you win" screen and the code to check if all the squares are the same color, but...
  25. var gravity:Number = 1; var oid1:MovieClip =...

    var gravity:Number = 1;

    var oid1:MovieClip = new tertroid1;
    oid1.x=oid1.y=20;
    addChild(oid1);

    stage.addEventListener(Event.ENTER_FRAME, onLoop);...
Results 1 to 25 of 63
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center