Search:
Type: Posts; User: DoomOfTheLiving
Search:
Search took 0.08 seconds.
-
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...
-
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...
-
@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...
-
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...
-
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) {...
-
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...
-
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...
-
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)....
-
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()...
-
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...
-
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,...
-
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...
-
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...
-
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...
-
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...
-
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];...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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,...
-
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...
-
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...
-
var gravity:Number = 1;
var oid1:MovieClip = new tertroid1;
oid1.x=oid1.y=20;
addChild(oid1);
stage.addEventListener(Event.ENTER_FRAME, onLoop);...
|
Click Here to Expand Forum to Full Width
|