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 - Adeel

#1521
Critics' Lounge / My First Attempt
Wed 01/05/2013 10:21:00
Hello Everyone. How are you all? When I thought that I have learned enough scripting to get myself started. I moved to more difficult task: "Drawing". I had never been a good artist and it is even more difficult for me to draw pixel art on pc.
    I thought it would be best to start from (320x200) so that when I became good enough I would then move onto bigger resolutions.
    Well, I tried my best and spent one and a half hour on my first character sprite. I have made front and side views. I have also added some shading (but I am not sure it is good). I have also made talking animation for front and side views.
    Please criticize it and suggest me some improvements. I am using Aseprite for drawing sprites. I apologize in advance, if my you couldn't understand my words since I am not a native English Speaker.

   


Front ViewSide ViewFront TalkingSide Talking

P.S: I liked the way, characters used to nod while talking in Yahtzee's Trilby Series. I tried my best to make them nod but I couldn't succeed. Can you guide me?
#1522
Quote from: miguel on Sat 20/04/2013 12:14:46
Well, I have a completed game made around 2009 that never got released because it was not fully tested or revised for typos. I can release all the backgrounds, character sprites or even the full game if you think it would interesting for new guys around.
Well sir, it would be great help if you did so.  (nod) I would LOVE to use your Character in my first game (with full credits to you, of course!) Since, I cannot draw well.
#1523
Just downloading your game now. Thought, I would notify you.
    BTW, I hop: may you and I work together on a game in near future.
#1524
Quote from: ODGames on Thu 18/04/2013 18:09:57
I'll try to upload the game to other distribution sites too
Well, as soon as you upload it other distribution sites, don't forget to update this thread or simply, just PM me.

Quote from: Fitz on Thu 18/04/2013 22:52:20
Yeah, kids these days... Two of the guys helping me with translation -- including Adeel here -- are half my age, and are so ambitious that my younger self, who was very often called a nerd, would call THEM nerds ;)
Well, computer is my only ambition since I were 6. I distinctly remember, asking my father to give me computer as a gift if I came first in class. Since then, I am officially "NERD" (laugh)

Quote from: Eric on Thu 18/04/2013 15:15:55
I being 30 have had both of your lifetimes put together to make a game, and you're already ahead of me, and I hate you and want to steal your youth.
Sir, you are very talented artist (something which I may never become). I want to steal your talent :)
#1525
Quote from: ODGames on Wed 17/04/2013 20:16:08
Hello, I'm Zinedin and I develop my games under the name OD Games!

This is MY VERY FIRST GAME, and I'm a 14-year-old kid from Europe who wants to make little games - it is far from a perfect game, so please go a little easy on me. xD
Well, at the very least, you are FAR BETTER than ME. I, being a 16 year old, hasn't even started on making my first game ever. (Lazy, me!)  :smiley:
    I have a request though, please upload to another host (if you can) other than gamejolt.com because that website doesn't work on my browser  :shocked:
    Anyways, wish you best of luck for future games. (nod)
#1526
This will be the first award since my joining. Too bad, it'll start at 1 a.m (according to my local time). But, who cares? I shall be awake and would surely attend it.  :)
#1527
I can translate your game in URDU language, if you agree. But I must say that it will take a while so you will have to much patient. I can't work on it right now, because:

1.My exams are near and I need to prepare for them. (Damn, exams. Why do they come? (laugh)
2.Urdu language is complex and its scripture is much similar to Arabic therefore, it'll take a while to type.

    But most importantly, there are 38 letters in Urdu so first you will have to sort that problem out. I have a very good .ttf font which I can give you.

    Just P.M me for more info. and details.

Cheers,  :)
Adeel S. Ahmed


#1528
Khris, I didn't say it was 'extremely difficult' or I discovered a 'shortcut'. I said it 'simple'. With all due respect, I would say that surely you are mistaken there.
    By the way, thanks for pointing me out. I am sure gonna edit that.
    Hey slasher, you can't compare me with Khris, yet.  ;) He is very experienced scriptor, so its good of him to point out the mistake. I am just a beginner as I said. By the way, thanks for explaining the correction done by Khris.
    So guys, thanks for reading the code and correcting it.
    Cheers, :)
    Adeel S. Ahmed
#1529
Before starting, I would like to thank "geork" for giving reply. I would also like to thank "Cerno" for giving me a suggestion about Dialog.DisplayOptions(). I haven't tried it yet (lazy me) but I'll post about it whenever I check it out.
    NOTE: This post is long since it is a tutorial. Please be patient and read it. If anyone of you gets benefit from it, that would be the worth of hard work I have done to write this.
    If you have played point-and-click adventure games, you would have surely come across that you give an inventory item to a NPC (Non Player Character) and then the dialog starts. But the question for beginners (such as myself) is, how to initiate the dialogs after giving (using) an inventory item on a NPC?
    To better understand what I'm saying, consider the following example.
    Suppose your player would have to find a free coupon in your game. That coupon would allow player to get anyone of the three items for free from a NPC in your game. Those free items are: Key, Shovel and Dagger. Now you will naturally give the player choice as to which item he may choose. Normally, these are followed by the dialogs such as:
PLAYER:Here is the free coupon for which you asked.
NPC:Why, sure that is. Now, which item would you like to have.

(And then, the player gets the options, such as):

PLAYER: I want the master key of which you told me earlier about.
OR
PLAYER: I would like to have that shovel.
OR
PLAYER: I think that sharp dagger would suit me the most.

    (To which the NPC responds and gives you the item you chose. i.e.)

NPC: Here is the key you that you wanted.
OR
NPC: A free shovel for you then.
OR
NPC: The sharp dagger is yours. Be careful, do not injure yourself.
       
    (Now you would surely have idea of what I were talking about. But the question again persists that HOW TO INITIATE DIALOGS AFTER USING / GIVING an inventory item to a NPC? So, here is my worked out solution for you:)
Code: AGS
function cNPC_UseInv()
{
if (player.ActiveInventory == iCoupon)
{
  dCoupon.Start();
}
else 
{
  cNPC.Say("This is not the free coupon..");
  player.Say("I'll try to find it A.S.A.P.");
  cNPC.Say("Best of Luck.");
}
}

    As you can see. I have just inserted the simple code i.e. when player gives coupon to the NPC then the dialogs will start. Else, NPC would not accept it. In the above code:

  • cNPC = NPC Character.
  • iCoupon = Script Name for Coupon.
  • dCoupon = The Script Name of Dialog

For Dialogs (dCoupon):
Code: AGS

// Dialog script file
@S  // Dialog startup entry point
HERO: Here is the free coupon for which you asked.
NPC: Why, sure that is. Now, which item would you like to have?
    player.LoseInventory(iCoupon);
return
@1
HERO: I want the master key of which you told me earlier about.
NPC: Here is the key you that you wanted.
    player.AddInventory(iKey);
stop
@2
HERO: I would like to have that shovel.
NPC: A free shovel for you then.
    player.AddInventory(iShovel);
stop
@3
HERO: I think that sharp dagger would suit me the most
NPC: The sharp dagger is yours. Be careful, do not injure yourself.
    player.AddInventory(iDagger);
stop


    So, whatever item player would demand, he would get it. Afterwards, the dialogs will stop.
In the above code:

  • HERO = cHERO (Script Name for player. Remember, do not use 'c' in dialogs.)
  • iKey = Script Name for the master key.
  • iShovel = Script Name for the shovel.
  • iDagger = Script Name for the dagger.
    Noticed the indent (space) between the usual dialogs and scripts? This is the way you can directly insert the normal scripting command in your dialogs.
    There you go. It works for me and will definitely work for you. I know that the post has become too long and moderators would not be happy (I am sorry, moderators). But I have written it with explanation so that anyone beginner to scripting would easily understand it (such as myself).
    So, don't be sad just because you are a rookie. Since every expert was at some point a rookie.
    Cheers, 8-)
    Adeel S. Ahmed

EDIT: Khris pointed out a mistake which has been rectified.
   
#1530
Hello All Members.
I am new to A.G.S. & its community. Now I am facing a problem. I would like you all to help me.
I have two characters. I want my player character to give (use) an inventory item to the NPC. I have done it all right. Player gives the item. Item also disappears from the inventory. BUT the REAL PROBLEM starts when I want to add the interactive dialogues. I have read in forums to use 'character.say' command, but N.P.C. only speaks.
    I, on the other hand want N.P.C. to ask (such as:) "Which item would you like to have?" and then player would choose from the three items, such as (book, journal or pen). And then he may receive his chosen item. How can I do it? Also, please be kind enough to upload the code because I am not too good in scripting.
[/size]
    (P.S: Moderators, I hope you do not lock this. Since I am new & as per my knowledge, I am posting it in the write section.)
SMF spam blocked by CleanTalk