Game authors and players, please read this thread!

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Iceboty V7000a

Pages: [1] 2 3 ... 354
1
If you meant the GUI popping up via QuitGame(1) this one is hard-coded into the engine, so it will not appear in the GUI list and is not editable.

I don't know what you meant by it corrupted (could you post a screenshot?), but it's possible that you changed the fonts, etc. of the game and the hard-coded one may not look good with such changed settings.

Anyway, to make an editable and more "professionally-looking" quit GUI make your own custom one (together with the necessary scripts).

2
The Rumpus Room / Re: Name the Game
« on: 18 May 2013, 21:07 »
That reminds me, that I have the PCE version of Sna... err... CD-Romantic but I never got around to playing it. Maybe I should.

3
Completed Game Announcements / Re: The Pubicle (The Game)
« on: 14 May 2013, 04:36 »
I got a 403 error downloading the game. :sad:

4
This may also help you, and it is the first sticky topic of this forum.

5
The reason is that the parameters for a function are passed by reference.
For example, when this is called:
Code: Adventure Game Studio
  1. adjustskillforexp(STRENGTH, expSTR, 2); //so STRENGTH is attempted raised whenever two exp. points in that
The VALUE of the variable STRENGTH is passed to the function, but not the variable itself. So, the function just modifies a 'copy' of that variable it and will NOT affect the original variable. One way of solving this is to return the value back, like this:
Code: Adventure Game Studio
  1.  
  2. //skill with a certain spell, skills go from 0 to 100.
  3. int spellBAKECAKE;
  4. export spellBAKECAKE;
  5.  
  6. int expBAKECAKE; //experience with the same spell
  7. export expBAKECAKE;
  8.  
  9.  
  10. //here we insert the characteristics of the spell BAKECAKE into a function and add toughness for how much exp it takes to attempt to raise the stat:
  11.  
  12. function adjustskillforexp(int Characteristic, int expCharacteristic, int toughness)
  13. {
  14. while (expCharacteristic >= toughness)  //the higher the toughness, the more exp needed to do that random check and see if skill is raised.
  15.   {
  16.   expCharacteristic -= toughness; //when doing the random check, the exp is lost, regardless of the result
  17.   if (Random(100) > Characteristic)
  18.     {
  19.     Characteristic += 1;  //in this case, skill raised
  20.     }
  21.   }
  22.   return Characteristic; //return the modified value
  23. }
  24.  
  25. function adjustallskillsforexp()
  26. {
  27. STRENGTH=adjustskillforexp(STRENGTH, expSTR, 2); //so STRENGTH is attempted raised whenever two exp. points in that skill are gained.
  28. ALERTNESS=adjustskillforexp(ALERTNESS, expALE, 2);
  29.  
  30. spellBAKECAKE=adjustskillforexp(spellBAKECAKE, expBAKECAKE, 1); //and our spell BAKECAKE is attempted raised whenever one exp point in that skill is gained.
  31. }
  32.  
  33.  
  34.  

6
Change Audiochannel to AudioChannel .

7
The Rumpus Room / Re: Name the Game
« on: 02 May 2013, 16:28 »
221 Baker Street?

8
Yeah, since it's been a while after the last round, any person who wants to be responsible and has the rule set thought out already may attempt to start a new round.

You are also free to start a new thread in this section to discuss about rules, dates, etc. before making the real thing.

9
To be honest, I am Chinese and I speak Chinese too, but I don't recognise a single word here.

10
Beginners' Technical Questions / Re: Why oh why?
« on: 25 Apr 2013, 16:03 »
Yeah, but there used to be an annoying scaling bug in the AGS Direct3D renderer...

Also, as far as I remember the D3D9 renderer doesn't support 8-bit modes (or is it changed now?), which I work 100% with, so unfortunately it's something I cannot use.

11
Site & Forum Reports / Re: Bug reports
« on: 24 Apr 2013, 03:14 »
Yay! it's fixed now! \o/

13
Site & Forum Reports / Re: Bug reports
« on: 23 Apr 2013, 10:53 »
I don't know whether it's just me, but it seems that in individual forum member's summary page, sometimes the Date Registered, Local Time and Last Active information are displayed, sometimes not.

For example, they're displayed in this account (clicked this just because it's the first entry in the member list), but they're not displayed in mine.

Tested with Opera and Chrome.

It seems that if a member has set his/her location on the map the formatting is messed up. Instead of displaying these info below the member's basic profile data they're stuffed to the right of them. Like in the following screen capture, there are some "black dots" on the right hand side, which when I managed to highlight them, copy and then paste them elsewhere I can see the intended info.

Edited: Odd. It seems that now it only affects my own account (maybe it's because a member will see more info. exposed when viewing his/her own account, such as the email), I thought I saw it affect other members' page a while back.

14
Beginners' Technical Questions / Re: GUI Label Marquee
« on: 23 Apr 2013, 06:07 »
I haven't really read all the codes but I have doubt about this line, and I think it's probably not what you want to do:
Code: Adventure Game Studio
  1.   if(!scrollDelay>0){
  2.  

The "!scrollDelay>0" condition will be something like this:
1) if scrollDelay is non-zero (be it negative or positive), then !scrollDelay becomes 0, and this the condition will be false.
2) if scrollDelay is 0, then !scrollDelay becomes 1, and the condition is true.

So, this is equivalent to the condition "scrollDelay==0" or just "!scrollDelay".

I'm not quite sure what you are after, but do you want to check whether the variable is negative?
In that case, just use the condition "scrollDelay<0".

16
The Rumpus Room / Re: *Guess the Movie Title*
« on: 19 Apr 2013, 06:07 »
With all these lightings it can't be mistaken...

BATMAN

18
Adventure Related Talk & Chat / Re: Photo Sprites
« on: 14 Apr 2013, 10:10 »
Even for animated sprites they can go wrong. For example, KQ7 looked horrible and the claymation sprites in later SCI games weren't as good as AGI or earlier SCI games either (ok... claymation may fall in the category of photographed sprites).

Anyway, this is great.

19
I don't know what module it is, but for scrollable rooms you cannot just substitute player.x with mouse.x, as the mouse cursor uses screen coordinates, whereas characters and objects use room coordinates.

So, change player.x to 'mouse.x + GetViewportX()' and player.y to 'mouse.y + GetViewportY()' instead and see whether it makes any difference.

20
The Rumpus Room / Re: *Guess the Movie Title*
« on: 04 Apr 2013, 11:11 »
Batman: Villain Carnival

Pages: [1] 2 3 ... 354