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

#161
Hi

UPDATE: I've gone for Give Score / Game score to deal with this.. if you know better please let me know

--------------------------------------------------------------

I have an idea and it involves GUI and buttons..

Each GUI (6 in all) has a hire and hired button..

When you click the hire button it's replaced with the hired button after some text.

What i am trying to do if have a condition if any3 buttons say hired (hired buttons visible after clicking hire) is to proceed to next scene.

I'm ok up until the condition of if any of the 3 hired buttons visible.

Maybe a variable?

Any thoughts/ideas which could help me in the right direction would be helpful and appreciated..  hope this is clear

cheers

barefoot

#162
Hi

for a start you should get the latest AGS version (like 3.2) and start from there..

You've been involved in a lot of games...

barefoot
#163
gollymrme

As for reference I made a game like this in the past: roads, cars etc... with just mild moderate success... it was a learning curve for a green horned guy.... i may well do another in the future only this time better scripted and better game play... so don't give up...

:=

barefoot
#164
Quote from: Matti on Thu 19/05/2011 18:54:53
In case objects can't move out of the screen use characters, they definitely can!

I found out to my expense that you should make characters (cars) idle view the same as normal view to stop that dreaded idle view from rearing its ugly head if stationary to long... unless you want it to change of course...

barefoot

#165
Hi

Read the manual, particularly involving objects, check out other posts here, experiment. I'm sure you will get there.. good luck..

:=

barefoot
#166
Yes, I quite agree Khris.... object move set to eAnywhere it will go off that edge..

:=

barefoot
#167
Quote from: Khris on Thu 19/05/2011 18:18:35
This won't work because by default, Object.Move sticks to walkable areas.
Not sure if using eWalkAnywhere is enough though but it might work.

He says he is using cars, so one would presume he is using roads, which should be walkable..

This moves the object off the left edge (if no walkable area)

Code: ags

object[0].Move(-36, 130, 1, eNoBlock, eAnywhere);


But then it will take the shortest route which may go over other things unless it JUST uses x or y... As I said, the car should move along walkable areas and leave sceen.

This moves the object off the left edge (if walkable area)

Code: ags

object[0].Move(-36, 130, 1, eNoBlock, eWalkableAreas);


barefoot

#168
Move object to x y.. have it go off an edge  (eg  -1)

Eg:
Code: ags

object[2].Move(125, -3, 4, eNoBlock); // x,y, speed, blocking


This will move the object off the left hand edge by -3..

barefoot
#169
Hi

Just put the amount you want to add/subtract at whatever point you want it to be (eg gaining an inventory item, clicking something... whatever...)    

GiveScore (1)  adds 1
GiveScore (5)  adds 5
GiveScore (-1) subtracts 1 etc etc

Eg

Code: ags

Display("You have sold your motor bike");
GiveScore (1000) ;


The label will be updated if you have it done correctly (using @SCORE@..


barefoot

#170
Cheers CaptainD

if you would paste that as a comment for the game that would be great.

If you look at the Newt it says:  Even the bravest may run!! surely that's a clue?

I have amended some of the spelling mentioned and will update as i come across anything..

:=

barefoot
#171
Hi

There are a number of ways.. You could have it as a label on a gui... In events pane for that label: Change text to @SCORE@ ..  you could have it as £ @SCORE@ for example.

There is also a Set maximum score in the General Tab of the game if you need it.

To award the player money use:

GiveScore (0); // score to add or subtract
SetGlobalInt (0, 0); // Index,value

The total would be updated and shown on the gui via the label.

Check these out in the manual for more info..

There are other ways others may explain to you if you are using a variable etc

barefoot


#173
Completed Game Announcements / Re: Cart Life
Thu 19/05/2011 06:03:08
Hi

I always put a copy of a plugin into the games compiled folder before uploading else when it runs it will error saying it can't find it.

Great work so far...

barefoot
#174
Hi Khris

I've just done the typo's you mentioned.

As far as I'm aware: passed is to 'get by' and past is era.. anyhow.. i will check with meanings for future reference.


Anyhow, cheers

barefoot
#175
Cheers Matti

I will note that.. (as Khris pointed out)

Constructive comment reviews welcomed.

 :=

barefoot

#176
Hi Khris... I uploaded V3 earlier (new mouse and button images. )

QuotePlayed this and got stuck

Do you mean as in: 'don't know what to do next?'

Not sure about the typo's as some words can be spelt more that one way, its a subject for debate.

I generally prefer left aligned text then the default center. The font I used messes with caps/lowercases as one can see.

Debug mode on... is it wise to have it off before uploading?

Change to 640 for screen shots?.. yes I agree... future reference.

I also decided to go from 640 to 320 for this game.

This game, as well as previous ones, have been learning curves.

Thanks of course for the help given from people such as yourself.

It has been tested by 2 people (i'm still waiting for last report to come in)...

Thank you for your comments Khris and I am aiming to improve and script better in my next game... fewer scenes with more intensity and better cryptic puzzles and stuff..

I am also using my tablet to draw better and cleaner sprites/animations.

cheers   :=

barefoot






#177
Trust you to spot that Iceboty..

yes, 16 bit colour

:P
#178
Nicely put Khris..

Each language has its own uses and advantages.. you simply pick the best bit for the job.

Like adding javascript to basic html etc

barefoot
#179
The Hamresanden Chronicles II: The Black Prism


This is the second instalment of the series (1st instalment cancelled for re-working)

The backgrounds are mainly grey scale with hints of colours here and there.


You are Magrid, a Wizard to the royal court and Asgrim's Nemesis.

Asgrim is an evil red wizard intent on ruling the earth through blood, murder and tyranny.

He has returned to earth to regain control after his defeat last time. This time he has found a Black Prism, capable of much power.

"Someone or something made you come to this spot tonight. You had a very strange premonition. It's as if your mind had been entered."

Many villages have been burnt to the ground and folk killed in Asgrim's intent to rule over all lands.

He has told you to meet him in his castle on the island of Varga to determine the earth's future!

Collect items to make magic and sorcery along the way such as Invisibility, Shrinking, Levitation, Morphing... Mix items for effective magic spells.

Can you stop him before time runs out and the moon's rays pass through the Black Prism and make him a supreme immortal?

16 bit colour @ 320 x 240







Download:

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




#180
Hi

Yes I agree..

anyhow, i have just uploaded V 2.00 of Part II.. which has been beta tested.

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

barefoot
SMF spam blocked by CleanTalk