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

#2981
AGS Games in Production / Re: Anastronaut
Tue 23/08/2011 18:58:07
^ more screen shots, enjoy :D
#2982
@Khris:

depends on what kinda material he's wearing and what planet :P anyway a few gravity-defying techniques won't harm if they add a little art or fantasy.. u know like how the princess hair catches the air... I loved your 3 hues input, I usually do the same! highlight with reddish-yellowish shade, and darken with blue-black..

@anian:

I agree with you, Khris' drawing is move convenient, I feel mine is cartoonish  :-\
#2983


adding to Khris' edit:

-increase the bottom folds of the cape
-darken the entire lining of the cape
-adding creases to the cape (highlight and shade)
-check the cape around the face (highlight/shade)
#2984
worked like a charm :)
Khris... Sie sind DER Mann...  :D
#2985
I didn't wanna start another topic for this since it is the same deal...

trying to move an object but I keep getting an error that AGS cannot set the object position while it's moving...

Code: ags
function room_RepExec()
{
if (object[0].X == 250) 
{
  object[0].X = 251;
  object[0].Move(660, 220, -2, eNoBlock, eAnywhere);
}
}


now what's going on? I used the same code in another room ( but moving the object to the other direction) and it worked:
Code: ags
function room_RepExec()
{
if (object[0].X == 250) 
{
  object[0].X = 249;
  object[0].Move(-10, 220, -2, eNoBlock, eAnywhere);
}
}


???
#2986
thanx guys!
and too bad it's not real... it wouldav rocked...
#2987
could anyone please tell me where's this image from?
#2988
Khris I'm so sorry if I mislead you in a way... I didn't mean to create a confusion between the leave_room issue and my java comparison thing...

I wasn't referring to this specific problem (leave_room) when I mentioned java... I was talking about positioning this line in the code:
Code: ags
int someInteger = 0;


you see, in java classes I can put this line outside the methods as:

Code: ags
class myClass{

void method1()
{
//do stuff
x = someInteger;
}

bool method2()
{
  if ( someInteger == 0 )
  {
    //do stuff
  }
}

int someInteger = 0;  //outside, middle of code and between methods...

int method3()
{
//do stuff
}

}  //end of class


however in AGS... when I add the following line in a room script:

Code: ags
int someInteger = 0;


I can't use someInteger anywhere above the declaration line...

#2989
Quote from: -=Lisa=- on Thu 18/08/2011 10:59:35player.changeRoom( room1, x, y);

it's an example..

the real code is something like this:
Code: ags
player.changeRoom( 23, player.x, player.y);
#2990
I already said I solved the problem using a region for one of the doors..
listen this is the whole thing:

I want the player to change room when he leaves from the left edge...
however, I wanted him to leave to room1 if his y < 250
and to room2 if his y > 250...

I coded it this way:
Code: ags
if ( player.y < 250 )
{
  player.changeRoom( room1, x, y);
}
else
{
 player.changeRoom( room2, x, y);
}


but he leaves to room1 either way.... I added a region near one of the exits so he would leave to room2 when he steps on it... it worked, but I was wondering why the leave_from_left wasn't working from the first place...

the java comparison is about initialization... you see in java it doesn't matter where you initialize variables in a class, but AGS has to have the variables initialized in the code before the functions using them...

Java:
Code: ags
int getNumber()
{
  return myNumber;
}

int myNumber = 0;


AGS:
Code: ags

int myNumber = 0;

int getNumber()
{
  return myNumber;
}

#2991
only the y coordinate of the player...
Code: ags
if ( player.y < 250 )

#2992
Quote from: Khris on Wed 17/08/2011 11:42:52Now approach both doors and hit space to figure out the actual value of player.y in the vicinity of the doors.

y coordinates are perfectly as expected... the thing is I keep forgetting that I'm not using Borland Java builder or J-Creator.. u see in AGS' room scripts for example, variables should be initialized before the functions using them... that is not the way java classes deal with it  :-

thanx for the time to reply Khris, I'd also love to hear your opinion on my game as well :)
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=44009.0
#2993
I am using edge functions to leave rooms... I was concerned with leaving to different rooms depending on the y coordinate of the player...

I did solve the issue with a region, but still, I need to understand why ags refuses to deal with it in the edge function..
#2994
sometimes ags makes me feel that I just can't code...

I have a room with two exits on the left.... a top and bottom doors that are aligned vertically... if the player exits the top one he should go to a room.. and the bottom goes to another room...

I used this kinda code in the leave room from the left edge as follows:

Code: ags
if ( player.y > 250 )
{
  player.changeRoom( room1, x, y);
}
if ( player.y < 250 )
{
  player.changeRoom( room2, x, y);
}


I tried this as well:

Code: ags
if ( player.y > 250 )
{
  player.changeRoom( room1, x, y);
}
else
{
  player.changeRoom( room2, x, y);
}


the code forces the player to exit to room1 all the time... I have tried:
Code: ags
if ( player.y > 250 )
{
  player.changeRoom( room1, x, y);
}
else
{
  return;
}


and it worked fine, he would exit from the top door only...

another thing.. many times I feel ags is not stable... specially with 'if' conditions as I mentioned above... maybe my head is not stable after all  :-\

one more thing... since I feel my 'if' conditions are 'neglected' sometimes.. how can I make sure they are forced to run repeatedly -say- every 1 or 2 seconds without causing too much load on the processing?

thanx
#2995
this is great.
art level: I love the background so much (the mountain view) :)

and oh.. I think the character with the purple speech is having a boner...
#2996
AGS Games in Production / Re: Anastronaut
Sun 14/08/2011 18:35:30
Quote from: Bogdan on Sun 14/08/2011 17:58:11He looks really cool. And the game graphics are really cool! Good luck with the game, I'm 100% sure that I'll play Anastronaut when it comes out. :)

Thanx :) and Anastronaut would be honored to be played by you ^^
#2998
Critics' Lounge / Re: Labarrian Mighty Hunter
Fri 12/08/2011 12:55:40
Quote from: Tabata on Thu 11/08/2011 18:14:43
Seems to me that it is one of those brutally, but sweet monsters.  :D

The style, how the scarf is wrapped around the body is very interesting.   ;)

excuse me... did u just read my mind?!?!?!?! omg!! thanx@!!


Quote from: NickyNyce on Thu 11/08/2011 23:52:12
I think he needs a more appropriate staff or walking stick...IMO

my mistake hehe supposed to be a spear! it has a thin bent top for gutting prey, and a saw looking end for granting a kill.. he's a hunter not an old man loool I will fix it.. it is supposed to be carved from local rocks of their planet...

Quote from: NickyNyce on Thu 11/08/2011 23:52:12Oh ..and maybe if you draw the top right arm (In picture) in front of the lower arm it might look a bit better on the eyes. On the right side of the picture, the lower arm appears to be slightly more muscular.

yes!! will do that :) thanx

Quote from: anian on Fri 12/08/2011 00:23:08Yeah, maybe mirror the left and the right side they match more.
Also try to think how that creature would use a walking stick differently than a normal human, perhaps it would use it's lower hands, so it can have the upper ones free or something, it'll add to the character.

sure I will :) he uses the top arms to throw his spear much further, the lower ones are used for crafting and more delicate tasks.
#2999
AGS Games in Production / Re: Anastronaut
Thu 11/08/2011 11:22:45


hello, this is a hunter from the game  ;)
#3000
Critics' Lounge / Labarrian Mighty Hunter
Thu 11/08/2011 06:31:56

This is a Labarrian mighty hunter, let me know what you think:



more about them:
http://anas-tronaut.blogspot.com/2011/08/labarrian-mighty-hunter.html
SMF spam blocked by CleanTalk