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 - Trent R

#461
Huh, I thought it worked for me before...

Well if it is a bug, you can use the workaround I described. Replace \[ with @ or some other character that you won't use. Then in your font (if your using ttf, google for free editors) change the @ to look like [

[Edit]: After looking at some of your previous posts, it seems you already know about the work around. Sorry I wasn't a help at all.


~Trent
#462
I did it using a script function, are you trying to do it straight from the Properties pane? Try using a Label.Text=string call in your game_start.

If you don't want to bother trying to fix it, another way to do it would be to use another character like @, and switch it in your font.


~Trent
#463
-The nose is really pointy on the newest version, but he does look like he's looking forward.
-I don't think the 'pointed' shoes look pointy. But the square ones look horrid and uncomfortable to wear.
-As for the shirt/neck hole.. you could make some variation by adding a vest, jacket, or even stripping him down to just a wifebeater.
-[Edit]:Just noticed, his torso looks huge... this may be remnant of the 'looking up' from the face. But I believe it could be fixed by making the head bigger (cause the hands and legs look fine with it)


Also, some ideas for sources: Metal Gear 1-2 (NES Games), Mission Impossible (NES game), SMAZE (entry in the TIGSource Demake comp), this post by radiowaves,


~Trent
#464
I read through your guide and liked it. I was actually gonna PM you some things to fix, change, add, etc to make it even better.


~Trent
#465
The skin tones on the sprite are still too pink for me. Not only that, the skin in the face has no pink.
Pick which you like better, and have the other match it.

But I like the face portrait a lot. Are you gonna make other emotions too?

~Trent
#466
I'm gonna take a guess and assume that your hotspot is above or below 201 on the y axis. But you're only processing clicks on that single line on the axis.

Try changing your on_click to this:
Code: ags
#sectionstart on_mouse_click  // DO NOT EDIT OR REMOVE THIS LINE
function on_mouse_click(MouseButton button) // called when a mouse button is clicked. button is either LEFT or RIGHT
{
  if (IsGamePaused() == 1) // Game is paused, so do nothing (ie. don't allow mouse click)
  {
  }
  else if (button == eMouseLeft)
  {
    if (mouse.Mode==eModeWalkto) //if Walk mode, walk to where you click
    {
      player.Walk(mouse.x, 201);
    }
    else //otherwise, process the click of whichever mode
    {
      ProcessClick(mouse.x, mouse.y, mouse.Mode);
    }
  }
else // right-click, show HUD
  {   
  if (button == eMouseRight)
    gMain_menu_Click(1,4);
  }
}
#sectionend on_mouse_click  // DO NOT EDIT OR REMOVE THIS LINE



A few other things:
-I changed your tabbing and comments a bit in the on_mouse_click.
-You might want to change the line 'player.Walk(mouse.x, 201);' back to 'ProcessClick(mouse.x, 201, eModeWalkTo);' depending on what advanced scripting you might add later. Changing it will keep some options open for you, and still do the same as player.Walk.
-You can use eModeInteract and eModeWalkTo, instead of '2' and '0' in your rep_exec script.
-The manual entry for ProcessClick links to Hotspot.RunInteraction. Based on what I've seen of your game, both entries might be a good read for you.
-You should upgrade to 3.1.2, unless you have a specific reason to stay with 2.72 (and please don't say the interaction editor, cause your game is already involving enough scripting that the interaction editor will just hold you back IMO)

~Trent
#467
Luckily, you can skip the first 50 or so pages, which includes copyright, introductions, and the tutorial.

[Edit]: Something's messed up with this. For an easy to see example, check out how many times it repeats talking about lighting effects between pages 110-122. I'm guessing that maybe CJ creates new pages when they're changed and just updates the hyperlinks. Idk, maybe it's the converter's fault.


~Trent
#468
My brain hurts right now, but off the top of my head I'd ask:

-Are you events set up correctly?
-How much have you changed the on_click function in the global script?
-What does your room script look like (functions related to the hotspot, etc)?
-Which version of AGS? 2.72, right?



~Trent
#469
Critics' Lounge / Re: Lawrence-style character
Fri 20/02/2009 23:35:17
Quote from: Dualnames on Thu 19/02/2009 14:54:56
He appears too gay or is just me?
The man or the camel?

I this this is a pretty fruity picture anyways.


~Trent
#470
Critics' Lounge / Re: Newspaper Indy Sprite
Fri 20/02/2009 23:28:58
I'm with unpronounceable-name. Even if it is just a ruse, he should look down occasionally.

But it is a great looking piece of work.

~Trent
#471
I just tried out both Display("text\[text"); and Label.Text="text\[text"; and they both worked....  Can we see the code? (not that it should matter)


~Trent
#472
Which version of AGS are you using?

~Trent
#473
I missed the fact that he wanted to print it. But yeah, as Ghost said, there's plenty to find through Google.

~Trent
#474
You can't read the .chm file straight through? The first page that pops up (assuming you don't have anything selected when you press F1 in the editor) is a table of contents. Just start at the top and press the back button when needed.

~Trent
#475
Quote from: Mr Matti on Fri 20/02/2009 12:58:47
Regarding the error message:

A "[" is expected because you can also use character[ x].blabla, x being the number of the character..
However, this is outdated. You should just use the script name for the character.


~Trent
#476
Hole crap I love it.

My old thing is that the shadow blends in too well with the shoes. Also, there's a lot of colors in the face, I prefer a skin palette with less pink.

~Trent
#477
I bet the presentation was so good, that he's been asked to show it all across Europe.

~Trent
#478
I know that translation causes problems, but if you're gonna use, IMO, crap responses* then it wouldn't matter to me if the translation was wrong.


~Trent
*I'm with ProgZ that random comments for things that don't work are annoying to the player.
#479
Oooooo.... Aaaaaaa....

I love it. So the game is in full production now? Excellent


~Trent
PS-Need a scripter? :)
#480
The Rumpus Room / Re: Happy Birthday Thread!
Thu 19/02/2009 07:16:25
Happy birthday voh. Someday I'll learn your crazy avatar dance...

~Trent
SMF spam blocked by CleanTalk