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

#561
I have a room that I want to scroll upwards, while also running a TypeLine function. Both work perfectly independantly but they don't seem to like each other.

I start them at roughly the same time, and they run fine, but I can't start a new TypeLineInvis until the scrolling stops. It will just wait until the scrolling is done and then run the next line of text.

Is this something to do with them both being in repeatedly_execute_always?

This is in the room script:
Code: ags

function repeatedly_execute_always() {
vpx=GetViewportX();  // Get current viewport coordinates
vpy=GetViewportY();

oPurplestars.SetPosition(0, oy1-((vpy*5)/15)); //furthest parallax object
oWhitestars.SetPosition(0, oy2-((vpy*5)/10));//closest parallax object moves
  
}

#sectionstart room_c  // DO NOT EDIT OR REMOVE THIS LINE
function room_c() {
  // script for Room: Player enters room (after fadein)
if (GetGlobalInt(28)==1) {
  TypeLineInvis("Line One,", 5, 200, 20, 160, 275, 11);
  yposit=GetViewportY();
  xposit=0;
  while (yposit > 0) {
		SetViewport(xposit, yposit);
		Wait(2);
		yposit--;
	}
}


and this is in the grobal script:
Code: ags

function TypeLineInvis (const string say, int delay, int wait, int xpos, int vpos, int width, int queue) {
if (IsGamePaused()==0) {
		StopMoving(EGO);
		SetTextWindowGUI(31);
		StrCopy(displayedline,"");
		StrCopy (line, say);
		typecount=0;
					textid = CreateTextOverlay(xpos, 100, 400, 1, 1, displayedline);
		length=StrLen(line);
		SetTimer(6, delay);
		delaya=delay;
		vposa=vpos;
		xposa=xpos;
		waita=wait;
		widtha=width;
		cue=queue;
		}
}


In repeatedly_execute_always:
Code: ags

if (IsTimerExpired(6)) {
	  if (typecount<length) {
	    StrFormat(displayedline, "%s%c", displayedline, StrGetCharAt(line,typecount));
	    SetTextOverlay(textid,xposa,vposa,widtha,1,1,displayedline);
	     if (StrGetCharAt(line,typecount)!=' ') PlaySound(1);
	     typecount++;
	     if (typecount==length) {
	       if (waita>0) SetTimer(7, waita);
	       else RemoveOverlay(textid);
	       } 
             else {
	       SetTimer(6, delaya);
	       }
	  }
}


Code: ags

if (cuetli==1) {
  else if (cue==11) TypeLineInvis("Line Two", 5, 200, 20, 160, 275, 12);
  else if (cue==12) TypeLineInvis("Line Three,", 5, 200, 20, 160, 275, 13);
//// ... etc
  cuetli--;
}


AND this is in repeatedly_execute:
Code: ags

if (IsTimerExpired(5)) {
  if (cue==11) cuetli=1;
}


It's a bit all over the place, but it needs to be for the function to work with all the lines I use with it. Trust me.

Basically, the final number of TypeLineInvis is the number that determines what the next line to run after it has been removed will be.
#562
Another suggestion/question:

Would it be possible to fade in and out music tracks? This'd be really handy for me. Is it possible at the moment?
#563
General Discussion / Re: Personal questions :)
Mon 13/02/2006 10:31:21
The only way that could be dirtier is if that strawberry was a cherry.
#564
Awesome! That was really fun :)
#565
General Discussion / Re: Personal questions :)
Mon 13/02/2006 08:09:47
Helm: I had to read her response several times before I -didn't- read it that way myself. I was like, "Boyfriend period...? What the? o_o"
#566
General Discussion / Re: Yo!
Mon 13/02/2006 07:50:49
Chilly? I was in Hokkaido last week! I sleep with 4 doonas right now :P Okinawa at any time of the year will be like summer for me!

Trying to see if anyone wants to come with me right now, before I go making any special plans, seeing as I cane take 3 others. Which island are you on, btw? I'm actually not interested in going to the main city... I've heard most people are really disappointed if they do :/
#567
General Discussion / Re: Release Something!
Mon 13/02/2006 07:46:37
rharpe: It DOES mean to release anything at all, but like... at the official time in the official place :P You know, not trying to constrict you all with my rules or anything, but otherwise it defeats the point of having a deadline.

But I'm happy you're motivated! Check out the sticky thread in the comp forum for more details, people!
#568
General Discussion / Re: Yo!
Sun 12/02/2006 13:22:33
Actually, I was just tonight reminded that as my birthday's coming up in a month's time, I'll be able to use Japan's cheap flight deal to go on a holiday to Okinawa if I so desire. So, Vince, you up for Jittens? :D
#569
Ah well, basically, what I was after was a slow fade room transition, going straight into a scrolling room (actively scrolling, that is) for a nice effect.

I've seen discovered that even without the non-blocking aspect, FadeIn and Out doesn't work for me because I can't FadeIn after a room change.

I might have to use the full screen gui after all...

But I might alter my my suggestion to being able to have a slow fade in and out while using ChangeRoom.
#570
General Discussion / Re: Yo!
Sun 12/02/2006 08:08:31
Sorry Nik, your baby doesn't qualify. Don't ask why -_- *shakes head* It's a shame.
#571
Would it be possible to make the FadeIn and FadeOut functions non-blocking?
#572
Just an update. I've been working for 3 days solidly to get a demo released within the next couple of days! Much, much progress has been made!

It's mostly just scripting the intro pieces together, changing bits here and there and trying to get it -working-. You think these things are a few steps away from completion until you start trying to iron out all of bugs, and you find you've been sitting on your living room floor for 3 days.

I can't say the demo will be a reliable indication of how the game will look and play at the end, because I already have some big changes I want to make to the engine when I have time, but for now, this will be what it looks like. You'll get to play the intro, and wander in the first town. No fighting, sorry ^_^ Still too buggy!
#573
What video? Link!

EDIT: Never mind, I found it. My god ^_^
#574
General Discussion / Re: Yo!
Sun 12/02/2006 05:49:40
Wow, congrats! And welcome back! ^_^

I reckon we're gonna need some sort of Cutest Baby Award or Coolest Baby Name Award or just Best New Baby Award with all the births that have been going on. Maybe you and Vince can race them!
#575
No Haddas, NOOOO >_<

Nice sprite and all but... my precious Elaine!
#576
Oh, Squinky, your comment way back on the second page or so made me laugh a lot too ^_^ Can't remember what it was, but good stuff!
#577
Oh yeah! Dude, where have you been? DUH.
#578
Hahahahahahaha!

Oh my gut hurts... this thread has to stop.

I was once again wondering how a fairly blah thread got to 4 pages overnight. I should have guessed, but silly old me. I didn't expect this ^_^

QuoteListen, pal, I don't want any aliens coming along, ripping my head off, and laying their eggs down my throat so that their alien babies can incubate in my still warm corpse until they hatch and eat my remains. If that's racism, then yes, I'm racist against aliens who want to rip my head off and lay their eggs down my throat. Don't drink out of my water fountain, egg-laying aliens!!!

This almost made me pee, it was so funny!

Right.

Serious response.

Jet, now I've watched most of the X-Files. A lot. The first 4 seasons are sitting on a shelf in my house. Possibly the 5th too, I can't remember. I haven't seen all that much Noir though so I'll leave that one alone.

The X-Files isn't paranoia about aliens. All you people who said that should be ashamed of yourselves.

The paranoia in X-Files is related to the government! Anyone who honestly thinks the struggle in the X-Files is about the aliens is wrong. The real struggle is Mulder and to a lesser degree Scully's constant fight with the higher-ups, their realisation that they're being used and yet must allow themselves to do so in order to continue their work, and their bitter struggle to discover just what the feck the government is DOING or has done in the past.

Let's not forget the show is only -somtimes- about aliens. Heck, not even that often. MOST episodes are about guys that can fit through keyholes, and people that can set things on fire. Strange bugs that eat you alive brought about by prehistoric natural distaster, and occasionally the supernatural - ghosts.

Occasionally, we'll get an alien episode. These got more frequent as the show went on, and I might point out, as the show got WORSE. But that's a mute point.

Admittedly, the continuous storyline in the show revolved around aliens, but it ended up being less about aliens and more about super humans. And yet, through all this, the MAIN theme was the struggle of two FBI agents against a hidden government and all the dynamics of the lies and truths surrounded with the information they were given from "friends" and "enemies".

The X-Files was about GOVERNMENT at the heart of it. THAT was the paranoia!

GOVERNMENT!

Okay, now that we have that fact established (and I challenge you to ask any other self respecting X-Files fan to disagree with that... if so, I'll retract my statement that that was a fact), let me address your point of you without going through all of your arguments as everyone else has done.

Now, I can't say with 100% certainty that you're wrong. Noone can. Noone except Christ Carter, and the dozens and dozens of individual writers that wrote episodes for the show. But your ideas are really just insane. Chris Carter wrote a story about wacky things happening to two FBI agents. He never planned on the show being as popular as it was, or running for as long. Of course aliens were a common theme, they're something most humans are sure must exist through sheer mathetical probability and YES, humans are, as any creature is, afraid of the unknown. I personally have very little fear of aliens, and I'm instead deathly afraid of ghost girls with bleeding eyes. Meh, that's me.

But anyway, as I said before, that show was NOT about aliens in the first few seasons. It was about anything strange. It was about strange happenings. The common theme throughout it all was a fight with the government, and secrets surrounding them. Because THAT'S what people hav in this world, particularly in a place like America. It's a very romantic notion to think that the people that control our lives are hiding things from us. Chris Carter didn't even know -what-, which is why the show was so bloody ambiguous and went for so long (I half suspect Lost is doing the same thing), but he made it up as he went along, trying to make it all seem mysterious and sinister, and keep the viewers watching.

The reason the central focus is on aliens and not scary Russian worm bacteria, is because that's already a common theme in American culture. Roswell! Duh! Western culture is obsessed with stories about "real-life" alien encounters. Many, many people believe aliens have already visited Earth, so it's a VERY convenient plot to say that's what the government is hiding. Something that will make us go, "I KNEW it, you bastards!".


Now, one of the most tell-tale signs that your argument, Jet, is crazy, is that everyone thinks you're crazy! It's again a very romantic notion to think you know it all, you know what noone else has thought of (besides some weirdo woman on the internet) and we're all wrong. We just haven't opened our eyes, right? In actuality, the X-Files is one of the biggest TV shows ever and a good deal of people watching it are smart, are looking for symbolism in places it doesn't exist (far more in this show than in most others!) and many of those have even studied American psychology/racism studies. And yet, you're the only one here to have even heard of this theory. It's barely a theory because as far as I can tell, in the whole world, it's just you and this other woman.

Of course, it would be a kind of delicious irony if it turned out we were all just trying to throw you, the young Mulder, off track ^_^ But I think that would prove my point also.
#579
General Discussion / Re: tekken 5 fighters
Sun 12/02/2006 02:20:17
I saw Tekken 5. My fiance bought it because he's a Tekken fan. I thought, "This is an improvement on previous Tekkens. For sure. And yet"

It's -still- boring and crap!

Maybe you won't think so if you haven't played the Dead or Alive series, but it's impossible not to compare the two games and Dead or Alive just whips it all over the floor.

My fiance came to visit me over a month ago and he took an Xbox 360 + DoA4 back home with him. We couldn't play it here due to lack of the proper cable ;_; Anyway, everyone bak home has played it with him now, despire the 360 not being released in Aust. for ages! It's been released in Japan for awhile now and ironically, I have to wait another 6 months before I get back to Aust. to play it! (Well, I could try it in the stores but I'm not that much of a nerd and they never have DoA playing anyway).

DoA is beautiful, the girls are hot, the guys are awesome, and the fighting is fantastic. Plus, and here's the real kicker - Noone does crappy old capoera!
#580
General Discussion / Re: Release Something!
Sun 12/02/2006 02:14:31
rharpe: Uh, tha'ts great but please read what the post is about first ^_^ RS starts in a few days and is held in the comp forum.

But it's not a competition by any means so anything is welcome!

Thanks anyone who's gonna bring something out!
SMF spam blocked by CleanTalk