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

#1721
General Discussion / Re: What's your soapbox?
Fri 04/03/2005 01:07:40
Actually, I always wonder exactly what that thing fixes, because you still see "txt style spelling" everywhere. What specific things is it editing?
#1722
General Discussion / Re: What's your soapbox?
Fri 04/03/2005 00:36:45
I'm not gonna like it, but I know how to do it so I should be alright once I get there (or, if). I'm not gonna write it when I don't have to though :)

Incidentally, I do use 'z's instead of 's's in some words anyway. We come across American spelling a lot in Australia so you just pick it up without realising sometimes.
#1723
General Discussion / Re: What's your soapbox?
Fri 04/03/2005 00:21:33
BAM! ^_^

Yeah, I do have that awful habit of writing no one as 'noone'.  Gotta get that one out of my system.
#1724
Wow, my one little post caused such a fuss o_o

Fmarais: I wasn't trying to be insulting, but your posts on the whole ARE unreadable. You just need to type slower, do your best to spell out the words (we all understand if English isn't your first language, a lot of people here are like that, but they try), and don't result to throwing insults at people just because they criticize you. You'll get a lot of respect from people if you take it maturely, respond maturely (or not at all!) and stop calling people "jungle bunnies" (which is certainly a new one to me).

Posting about your IQ is unlikely to impress anyone here. What I think impresses people here is a generally nice and mature kind of person who on the whole, tries to get along with people and can argue matters without resorting to name calling.

I don't mean any offense by this, I'm just trying to help you out a little.

Rick: Aww thanks ^_^ You're a sweetie.

P.S. I'm not a 'dude', by the way, but it's a common mistake because my avatars are almost always of male characters :) It doesn't bother me much.
#1725
General Discussion / Re: What's your soapbox?
Thu 03/03/2005 23:57:41
I have too many. I basically adopt anything as my soapbox, even if I've never seriously thought about it before. I ADORE debating. A lot of my friends probably don't realise I mean it in an affectionate way.

Of course, sometimes I don't mean it in an affectionate way.

Since someone else has brought it up, horrendous spelling is one of them. I don't really bother making comments about it anymore because noone ever changes and there are just too many people out there doing it. Plus, it usually just means I can't read something so it gives me one less post in a thread to read.
#1726
Thank god, a decent looking detective game ^_^ These don't come around too often so I'm always happy to see another one. The graphics are GREAT!

So are you still doing this in RPG maker?
#1727
Man, I can't wait until teaching kids English is my hobby ^_^ (fingers crossed)
#1728
Quote from: Gilbot V7000a on Thu 03/03/2005 04:30:51
I haven't read all of the post yet, but shouldn't the on_key_press() function better suited for this kind of situation?

All of this code is in the on_key_press section... is that what you mean?
#1729
Ah yeah ^_^ I love that one too.
#1730
I always liked Enrey's theme from Hero's Quest 1.
#1731
If I'm understanding your code correctly (and my history predicts I may not be), it's not quite what I mean.

The other point being that, if its possible to simply make a function out of this, I'd prefer not do have a work around. For the sake of not having to use this kind of scripting everytime I want a keypress to be recognised just once and only when actually being pressed down, not held down.

I'll tell you one of my situations anyway. Basically, I have a GUI with items all lined up, and below them, a button called "DELETE". This game doesn't use the mouse, so it's all navigated with the arrow keys, a cancel button (z) and a confirm button (x).

You use the arrow keys to move from item to item, or down to highlight the DELETE button. If you're currently on the DELETE button and press x, the cursor will change to 'delete' mode and automatically move up to the first item. From here, you can either press z to cancel the delete mode, or move the arrow keys to the item you want, then press x to delete it.

Currently, when DELETE is highlighted, if you press x to go into delete mode, it will do so but then automatically delete the first item because technically, x was still pressed down when the cursor was on the first item. Even for a normal, swift button press.

Code: ags

...
    else if (cursormenu==26) { // if the cursor is over the DELETE button
      if (IsKeyPressed(keyx)) { //if you press X
        del=1; //go into DELETE mode
        cursormenu=10; 
        CursorPos(4); //cursor goes over item #1
        }
    }
  if ((del==1) && (IsKeyPressed(keyz))) { //if in DELETE mode and press Z
    del=0; //cancel DELETE mode
    }
  else if ((del==1) && (IsKeyPressed(keyx))) DeleteItem(); //in DELETE mode and X is pressed, delete item


I tried a number of workarounds including one this (which works):

Code: ags

...
    else if (cursormenu==26) { // if the cursor is over the DELETE button
      if (IsKeyPressed(keyx)) { //if you press X
        del=2;
        }
    }
    if ((del==1) && (IsKeyPressed(keyz))) {
      del=0;
      SetButtonPic(3, 16, 1, 0);
      cursormenu=26;
      CursorPos(15);
      }
    else if ((del==1) && (IsKeyPressed(keyx))) DeleteItem();


and in repeatedly_execute:
Code: ags

    if ((del==2) && (IsKeyPressed(keyx)==0)) {
      del=1;
      cursormenu=10;
      SetButtonPic(15, 2, 1, 0);
      CursorPos(3);
      }


...but I'm no doubt going to have to do this sort of thing quite a bit, and it's getting a little code-heavy.

Either way, it just seems to me that a simple function like IsKeyPressed that just works once and only when the key is first pressed down would make things a lot easier. I have to come up with some convoluted code for it everytime. I don't mind if that's the way it has to be, but if it's possible to include a function like this in AGS itself, it'd make things a lot neater and easier.
#1732
There are a lot of times I've come across where having IsKeyPressed work the way that it does is a problem. There are a lot of situations where, instead of having the game check to see if the key is pressed right now, I'd like it to act when the key is actually pressed down. ie, the game only acts if the key goes from not being pressed, to pressed. Maybe as if there was a line of code submitted once when a key is pressed, and the action only occurs when that code is received.

Well, I don't know how it actually works, obviously, but having a function seperate to IsKeyPressed that works that way would be really handy I think. I know there are workarounds, and I use a lot of them, but it would mean I wouldn't get a headache each time I have to work around this.

Is this possible at all?
#1733
Phew, thanks... back on the ground now.
#1734
Quote from: Fmarais on Wed 02/03/2005 19:42:36
As for you scotch I have no time to mess around. I do what i want to through as many channels as possible " ;D " he heh. So yeah i dont go to the bank i do internet banking. I dont go buy the new gta game i go online. the fact remains i am not always by my desktop. i use my phone thats why i bought a  smart one. Pda's are also getting phone features and you can make and receive calls on them check your email and surf the net. more pricey than phones however and i cant wait to get 1. now i didnt want anybody to convert their games I just wanted to develope for it and yes playing multiplayer on the phone is not farfar away guys cause you can already more complex games than any adventure could dream to be! so when you guys wake up from never never land then its all over and some russian crew decided to take the world by storm and ... no really where the hell did i put that gaint laser?

It's very hard to sound clever when your posts are almost unreadable.
#1735
Aww, shucks *^_^*
#1736
I'm pretty happy about everything in this one apart from all that Arthur/Trillian crap... but I always hate that shit ^_^ Marvin still... is not right to me, but as long as he acts like Marvin, I'll be okay.
#1737
It looks really good, I love the story idea and for some reason, I just love the graphical style. Good luck with this one! I can't wait to play it.
#1738
Thanks very much for your help ^_^ I'm a bit slow on the arrays, but I think I have it now.

EDIT: One other thing, does the ltunic in the define line have to be in capitals? I notice that's how people always write these things but I don't know if it has to be like that or not.

Also,

Code: ags

currentitem = ltunic;


Is currentitem an int or string here?
#1739
General Discussion / Re: Jorge Drexler... yay!
Wed 02/03/2005 13:21:35
It wasn't a problem, but I didn't KNOW the way things were when I first posted, so that was my standpoint.

Andail: Sorry, I must have missed that.

My mum actually doesn't like seeing subtitled movies. It's got nothing to do with her reading ability but she just doesn't like them. She hasn't really seen enough to be used to the reading, and the ones she's seen might have been those awful subtitling jobs with white, no-border text. Even so, it really frustrates me sometimes because I'll have a great movie I want to recommend to her and she just won't see it. I let it go though, it's the way she is. I can't really judge because I've been watching subtitled movies all my life and they're nothing out of the ordinary for me.

Given Andail's comments though, I'd just like to add that seeing as foreign films can only be nominated in a normal catagory after showing in US cinemas, I think this just adds to my point that the Oscars are still very much an American ceremony, for American audiences.
#1740
Ohhh right. Sorry, I'm still almost completely unfamiliar with arrays. Thanks for that, anyway ^_^ I'll give it a go. Incidentally, during other parts of my game, can I still incrwase item counts by using, say ltunic++ ? Or will I have to use itemcount[ltunic]++ ?
SMF spam blocked by CleanTalk