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

#301
Hi

Whilst Player is on region 1 (bottom of screen) and presses J the view changes and a walkable area is restored allowing the player to fly up the screen. When he drops down to region 1 on the bottom of the screen his view changes and will look the way he came down ie left or right.

I have View3 (left and right) for when player is at the bottom of the screen and View 4 (left) and View 5 (right) for when rising up the screen.



I have been trying lockview.

So far it is almost there. Just one part to tweek.

Can you think of the best way to implement this as per drawing?

cheers


#302
Iceboty

imagine: if character fly's up facing east, he need to be facing east when coming down.

Else if character fly's up facing west, he need to be facing west when coming down.

hope this explains better

cheers
#303
Hi

I'm trying to script if player is facing east or west (Not just facing location X and Y).

I have 2 views the same accept facing different directions.

if player facing east change view to this else if facing west to this view.

Because in each view you have only 1 up, 1 down etc etc and I need 2 downs, ups etc

So, if player facing east change down view to this else this view if facing west.

Something along these lines.

Thanks if you can assist me

cheers







#304
Khris

Would -1 not make any Say commands awkward, if he talks that is? (without using SayAt)

What about if the character has transparent sprites view?

I've never played  Heart of China so can't comment on that.


#305
  ***SPIT BOY***


SPIT SPIT SPIT is the nature of this game!

Thought i'd try something a little different.

EDIT: V2.1 with some adjustments: Spits, Points, Ricochet, Dropped cans.

Not so much an adventure game but a few rounds of sweaty, adrenalin rushes and a chance to get the girls slobbering all over you!

Don't play if you have spitting/smoking phobias, are a priest, a nun or a real prudel!

You play as YOUR NAME (TextBox Input) as you enter the World Open Spitting Championship 2011 having practiced for years on the neighbors cat!

Produce as much spit and flem as you can and try to spit over bottles, tins etc etc to be the ultimate World Spitting Champion 2011!

View your 'Points' position on the leader board throughout the game and watch as you rise to the number 1 spot, if you're lucky!

   

Get to the top of the leader board and walk away with the World Championship Spitting Title 2011, £100,000 and a giant gold trophy!

To train you had to achieve a heavy smokers cough to which you are now at your supreme best with lungs like coal sacks full of 'gold watches'!

If you find yourself 'drying up' there are some cigarettes and a big cigar to make you cough and produce huge flems just right for gobbing!

You are last to Spit and it won't be easy to win though, you are up against stiff spitting competition especially from Gobby Dave who is leading!

You have hecklers who hate your every spit,  people who are behind you all the way as well as a groupie or two to help you on!

Beware, if you run out of spit your turn will be over and you will probably lose the contest!

So, muster all the flems you can and get ready for the World Spitting Championship 2011!

Spit at the targets in each round.Your turn will end when you have no spits left or you have completed all the rounds.If you get the highest score you will be the World Spitting Champion 2011 and receive all the benefits and perks!
 
Arcade style
320 x 240 resolution
16 bit colour
Direct Draw
2 Mbs zipped
A ReadMe is always on display
Left mouse to spit
Aim with spit cursor

Download here:

http://www.adventuregamestudio.co.uk/games.php?action=detail&id=1508

Below pictures may be slightly adjusted.





Or Download here:

http://www.adventuregamestudio.co.uk/games.php?action=detail&id=1508

View / comments welcomed.

Cheers

Good spitting ;)

steptoe




#306
Thought so,

Thanks Khris

It's not surprising that you can still come across messed things when you think its done  :-[



#307
Hi


Tut, I forget to stop the mouse from shooting an object and game was waiting. This has now been corrected. Sorry.


I am on the last few bits of a game and this has cropped up:

On the credits page I have a leaders board showing players position and points.

For some reason if the gui is clicked on the game goes into hang mode.

I have made it Clickable=false at the start of the game.

Can you see where the problem may lay?

cheers





#308
Critics' Lounge / Re: Weird Digital Painting
Mon 19/12/2011 09:46:46
Yar, nice.

cooked crabs would be pinkish, uncooked crabs grayish brownish greenish, but some species like spider crab are pale pinkish (afaik).

Well, down my way they are

:=
#309
You can change the characters animation delay overall in the characters events pane and adjust animation delay or do it in the animate character code when you need a different delay (slower or faster). You can speed it up or slow it down by using a delay number, normally between 0 - 6 but could be higher for really slow animation. 0 being the fastest with no delay etc

Check this out from the manual:

Character.Animate(int loop, int delay, optional RepeatStyle,optional BlockingStyle, optional Direction)

This should help you with the speed of the animation.

#310
Just make sure it has eNoBlock

#311
Hi

For the animating smoking character use eNoBlock so it runs in the background with eRepeat if you want it to run all the time until you stop that animation else the animation repeats all the time.

Using eBlock stops anything else happening until its finished and if you have it as eRepeat then it will run forever and nothing else will happen.

Check out the manual for full details:

Animate (character):

Character.Animate(int loop, int delay, optional RepeatStyle,optional BlockingStyle, optional Direction)

Animate (object):

Object.Animate(int loop, int delay, optional RepeatStyle,optional BlockingStyle, optional Direction)


#312
Have you checked the general settings and made the game 320 x 200?

If you import a bigger room image you should be able to used the Zoom slider for the room so you can see it all

Why a character bigger than 320 x 200????

Apart from that...


#313
Hi

This is more of an annoyance than a major issue.

I have been deciding how to have my character move.

So, I changed the mouse graphic to a crosshair and have player move by mouse X.

I have noticed that if I happen to click the LH mouse button the player shakes for a moment.

RH mouse click ok.

Can you help stop this annoyance?

EDIT: Decided on left mouse shoot and it has cured the DT shakes.

Also, just as I'm here, I need to change cursor graphic when over a GUI (grounds) and has one button (Breadme).

Code: ags

function repeatedly_execute_always()
{
  GUIControl *gcat = GUIControl.GetAtScreenXY(mouse.x, mouse.y);
  if ((gcat == null) || (gcat.AsButton == null)) mouse.UseDefaultGraphic();
  else mouse.UseModeGraphic(eModeHand);
}


The cursor mouse graphic (walk/interact) is 233 and needs to change to 26 whilst over GUI button and revert back to 233 when off GUI button.

cheers

steptoe



#314
Love the colors, nicely done so far.

Good luck with the game.

:=
#315
Quote
Don't just assume something is "impossible" just because you don't know how to do it.

your are right, which is why some of use have to ask.

I was simply pointing out that if you have speech as normal audio sound along with the text and switch sound off then all sound would cease and you'd be left with just the text.

As you say:  just because you don't know how to do it.

Maybe someone, someday, will make a text-and-audio plugin that would create a new audio function which would include inputted text as well as speech, which could be recorded. That would be a great idea.

Dream on  ;)

cheers Monkey




#316
Your are absolutely right.

It works very well.

cheers Khris


#317
Hi

You may want to Name your objects as it makes it easier when looking through the code.

object[0] could be oLift or something.

#318
Use

Code: ags

if (player.ActiveInventory == iTools) {



#319
Hi Khris

cheers, those codes work a treat as well.

I suppose it just beats last coding as it keeps what you have in the textbox.

Display shows until you do a backspace.

Code: ags

    if (tbInput1.Text.Length > 15) {
    Display("Maximum of 15 characters only. [Use backspace to delete letters.");
    WaitForNoKeyPressed();
    tbInput1.Text = tbInput1.Text.Substring(0, 15);
}


I notice that Caps take up more space in a label which could be a problem I need to look at.

thanks for all help on this.

:=

steptoe



#320
Hi Monkey

A Say for example will hang until I click the mouse then it goes otherwise it hangs and spacebar does nothing to remove it. I think its not too bad with what I have with display in textbox with no say/display. Its durable.

Can you shed further light on:

Quote
Sure, if you run Say or Display unconditionally 40 times per second your game is going to hang. But if it's properly encapsulated in a condition that will limit how often the command is run then it works fine.

cheers

SMF spam blocked by CleanTalk