Menu

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.

Show posts Menu

Messages - Kinoko

#1281
Perhaps just using SetIdle and passing it as -1 when walking starts and re-setting it again when the character stops.
#1282
Adventure Related Talk & Chat / Facade
Fri 08/07/2005 12:13:14
Has anyone got Facade yet? I saw it was available for download on insertcredit.com a couple of days ago and I'm downloading it now (800MB, yikes). I remember hearing about this awhile ago and being rather interested in it, so now curiosity has got the better of me.

Anyone else have it? Want to tell me it's crap and save me ruining my bandwidth?
#1283
General Discussion / Re: London Subway
Fri 08/07/2005 03:02:32
Phew, so everyone's accounted for. I never realised how many people I knew in London until this happened and now I've been wondering and waiting for word from all sorts of people. Glad you're all okay!
#1284
Aha, that appears to be it. I did have an idle view with only one loop. I've increased it to all 4 loops now and the game didn't crash but yeah, the character did eventually start it's idle animation.

Perhaps to counter this, we could have some variable that changes to 1 when walking and have the engine check... hmm. Nope. I can't really think of a way to get the idle working properly. I could have a timer start after the character stops perhaps.
#1285
General Discussion / Re: I'm a-going to Japan!
Thu 07/07/2005 15:17:22
Hey Vince, do you think 15,000 yen is reasonable for a 5-7 year old fridge and stove? I haven't got pictures yet but ... seems kind of old.
#1286
General Discussion / Re: I'm a-going to Japan!
Thu 07/07/2005 08:05:27
I think he's referring to the fact that he lives riiiiiiight down the bottom of Japan where they never see the stuff ^_^
#1287
I'm a little confused, I'm not sure where in the code you're talking about.

I haven't written any code for changing the view between running and walking yet, so yeah, I have no idea why the erros are coming up.
#1288
Ah right. It works smoothly now :)

I'm still getting occasional errors with my newdirect == lines and it still animates too fast, but much better.
#1289
It sort of works. I had to change it slightly because I don't use diagonal loops, but I got a couple of illegal exceptions when walking around.

Basically I changed it like this:
Code: ags

// now animate the character
    if (Direct != DIR_STOP)
    {
      animFrame += 0.1;
      if (animFrame >= 10.0)
      {
        animFrame -= 9.0;
      }
      // change these if you only have four directions
      if (newDirect == DIR_DOWN_LEFT) player.Loop = 0;
      else if (newDirect == DIR_DOWN_RIGHT) player.Loop = 0;
      else if (newDirect == DIR_UP_LEFT) player.Loop = 1;
      else if (newDirect == DIR_UP_RIGHT) player.Loop = 1;
      else if (newDirect == DIR_LEFT) player.Loop = 1;
      else if (newDirect == DIR_RIGHT) player.Loop = 2;
      else if (newDirect == DIR_UP) player.Loop = 3;
      else if (newDirect == DIR_DOWN) player.Loop = 0;
      player.Frame = FloatToInt(animFrame);
    }
    else {
      // TODO: set the standing frame based on oldDirect
      player.Frame = 0;
    }


It'll occasionally give me an error for lines like       else if (newDirect == DIR_LEFT) player.Loop = 1; saying the loop specified isn't right, but... I can't figure out what could be wrong with that.

Also, it doesn't walk smoothly. If I walk in a straight line for a bit, it only animates a little, stops, animates a little, stops, animates a little, stops, etc...

Plus, it animates too fast but that's easily changed, really. ^_^
#1290
I have the midfortune to announce that it happens with edges in all 4 directions. I guess when I first started it just randomly worked but when I tested just then, it's not just happening with lower edges.

I also discovered it's not just happening with moving -diagonally- left or right either.

Basically, if I run to an edge (say a left edge)  - press up - no movement - press down - no movement - press right (walk away from the edge) - press left (walk back to the edge) - ... etc

That's always running, and I tested all that while letting go of every direction key before hitting another, so at no time was I holding two at once.

Another example [assuming 'run' is always held and all these keys are let go of before the next is pushed]:

DOWN [into an edge]
LEFT
RIGHT
UP
DOWN
LEFT
RIGHT
UP
DOWN
RIGHT
UP
DOWN
LEFT
UP

...etc

It doesn't even happen every second time anymore, just completely randomly. Each time I hit an edge and then try to move along it, it may work or it may not.
#1291
General Discussion / Re: I'm a-going to Japan!
Thu 07/07/2005 05:28:20
I'm hoping I can see Fuji from where I am :) My friend who's going to Fujiyoshida (pretty small town RIGHT at the base of Fuji) in Yamanashi has an unbelievable view of it from his window.

This is his backyard:
#1292
I just tried it with the num pad and it -always- works with the diagonal keys. However, it works on/off when I use the down key, then left/right.

Forget what I said earlier about contnuously holding down/letting go and holding it again. It's the same either way.

As far as I can see at this stage, it works fine if I approach the edge diagonally.

However, (if running) if I go straight down into it, then try to go diagonally left or right, it only works every second time, no matter if I'm using num pad or directional keys.

I tried changing my 'run' button a couple of times but it was always the same result. I'd try it on my laptop but I don't have any way of transferring files into it yet but if the issue is still unresolved by tonight, I'll give it a go there too, see if it is just this laptop.

The fact that it works every second time though seems suspicious. If it were a keyboard problem, wouldn't it either work or not work 100% of the time?
#1293
Phew, this is like a workout.

Okay, I updated the code and it works fine, no problems, on upper edges.

On lower edges, it -sometimes- works fine, and sometimes doesn't.

I tried to figure out exactly where it was working and wasn't, but there seems to be something random about it.

If I hold down walk into a lower edge, THEN press left or right without letting go out down, it will SOMETIMES move, and sometimes stay perfectly still.

If I walk onto a lower edge, let go of all the buttons, then hold a diagonal, it will always work (at least it did so everytime I did it).

EDIT: Oh sorry! I forgot a condition. The only times it WON'T work are while I'm also holding 'run'. When I'm walking, this works 100% of the time. If I hold run, THEN I get the 'sometimes yes, sometimes no'.

EDIT: It almost seems to be happening every second time. Assuming I'm always running, and never let go of 'down' once I hit an edge... If I walk into a lower edge and hit left/right, it won't work. If I go up and then down again, then hit left or right, it will work. Go up and down again, hit left/right, it won't work. Will work, won't work.

Could it be a float putting this out and correcting itself every second time, or something like that?
#1294
AGS Games in Production / Re: Hero Theorem
Thu 07/07/2005 04:07:42
Well, since it HAS been bumped, let me just say that this is without a doubt the best looking independant game I've seen in a long time. You're doing a phenominal job with the visuals.
#1295
I did check and change all of those.

I checked again and the character doesn't pop back a pixel if I let go (he stays in the exact same position) and if I let go of up or down but keep holding left or right, he does move left or right.

#1296
If I'm against an edge above or below me and holding up and either left or right, nothing. No movement.
#1297
It's a scrolling room. Given that I just had this exact same problem a couple of days ago, this should have occured to me.

Okay!! It's working for left and right, but not up and down (ie. Not when the character runs into a blockage above or below)
#1298
You were right, monkey. I hadn't changed the script header.

Well, the game compiles without any problems now, but when I test the game, my character won't move. The walkable areas are all still there.
#1299
It's true that it's usually like that (certainly for Greece) but here In Australia we still make constant use of our facilities. In fact, "Olympic stadium" is used all the time for all sorts of games.
#1300
General Discussion / Re: I'm a-going to Japan!
Thu 07/07/2005 01:40:41
I'm prefectural and I have -one- school, that's it. I'll most likely be teaching all three years at senior high school (so no little kids :\ Oh well, but at least I can communicate a bit more with the older ones) AND I'll be heading an adult class at the town hall, with about 10 people who are apparently really excited about me and always asking when I'm coming (awwww). I can't wait to meet them.

My apartment is in a block of other teachers (not ALTs, Japanese maths/social studies teachers some of which are also new to the school) and it's 2 storey. Kitchen, bathroom and a 6 tatami rookm downstairs, and 2 x 8 tatami rooms upstairs. My school doesn't provide anything though, and although I haven't received a list of stuff and prices from my pred, I get the feeling she's gonna charge a lot because she told me she paid US$1,400 to her pred. Well, she's REALLY nice but there's no way I'm paying that much if she asks, so I'm afraid I'm gonna be refusing quite a lot and bargaining like mad ^_^ Hopefully she takes it well.

My town just recently merged (don't ALL Japanese towns have a merger every year?? Seems like it) with Osuka-cho, which I think is technically where I live but I haven't found a decent enough map to find my street yet. Apparently I'm 6 blocks from my school, and 10 minutes from the ocean (which is the thing I wanted more than anything. I specifically made all my placements on the coast in the hopes I'd be close to the ocean, I never thought THIS close though!).

I haven't heard from my CO yet, just my pred, but it won't be long. They all only got my info yesterday (same as all the prefectural schools). Apparently all my teachers are incredibly nice people and my JTEs english is great - which is great. Apparently everyone's excited about me, so that's a big relief. I was preying I wasn't following a shitty ALT who made them all bitter.

Oh, plus she tells me she's only had 2 visits from the evil NHK man and the "wakarimasen, wakarimasen" trick worked both times :) YAY! I never, ever planned on paying and it was only a matter of whether that worked, or whether I'd have to be outright rude (which I'm always happy to do)
SMF spam blocked by CleanTalk