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

#381
For sure Monkeys' module would be good, but *if* it's only a few months wait as you say (keep our fingers crossed) I think I'd rather not use the module at all...since if I did use it now I know that I'd have major re-work to do later once the custom properties are no longer read-only.

So, I guess I'll put that part on the shelf for now and move slowly onto another area...I'll probably finish my tech demo by the year 2034, just in time for superbowl IXXVVIIXXIIIV
#382
QuoteThis is something that is on my list to change when the engine is OSed though.

@Calin: Just curious, (not implying anything or being a dick/impatient here, pure curiousity): when do you think the engine might/will go open-sourced, in your opinion? ...and uh...well, heh, is making custom properties writable really hard to do/long time to implement?

Just curious, cause if you think its like "x years", I'll stick with variables for the whole project until the end, but if you thinks its a matter of something like "x months", well...I'll put that part of my script on hold for now cause properties in this case is MUCH MUCH better and worth the "x months" wait!
#383
QuoteAlso note that it's usually quite fun for me to solve a coding problem.

I can relate, when I can sometimes solve a complicated problem (for me) on my own without the help of someone, I feel pretty proud of myself and even shout "yes, it works!" out loud, hehe... ;D
#384
QuoteBut yeah, sure, all this was really a trap to set you back; structs can indeed suck it

lol! omg...
#385
I really like the new designs + colors! The only minor thing I guess I personally like less is the "light-rays" behind the cup, I think I'd prefer the cup on just a "clean", reflective surface with a backround, no "rays"...
#386
QuoteLook, with a every thread that I open I ALWAYS check the manual sept it always fails me because I dont know everythings right names. I cant search Textbox when I am really looking for is a Text windows

Well, in defense of Mr.Icey here, I'd have to say that sometimes, in certain cases, I've searched the manual myself and couldn't, honestly, find what I was looking for...only to find out later that what I was looking for actually had a different name...just for the simple fact that I was still pretty new to scripting + AGS.

...and Monkey is right on this though, that the behaviour of newbies posting lots of "simple" questions in rapid succession is quite common and does tend to die down eventually, as the newbies learn from those questions...I think of myself actually...I remember starting a gazillion threads at first  :-[

What I could suggest to you, Icey, is to perhaps invest in a "For Dummies" book on programming, like I did...the last thing you want to do is exasperate the people here who are really generous with their time, I mean they don't get paid for any of this (although in my opinion, a lot of them should get something!)...maybe you could take some classes on-line?...you'll be asking a lot less questions here, trust me.

Also, as another solution that can help, is that for every question from you that people here judge "simple" and tiresome, if you want an answer, you'd have to either:

a) pay that person a "x"amount of $ for the answer
b) return the favor in some other way (art, "bitch" work, polishing their shoes, etc)

Im sure if you had to pay for every answer, there'd be a lot less of them!


*ps:
Ive said it before and Ill say it again: Khris, you really need to get a "donate" button on your signature. Just do it, dammit.
#387
Quoteawesomely awesome
I think the term you were looking for is "awesomer"  :D

#388
I just created a new avant-garde game. Count all the "e"'s in this post and think about cabbage. Now dont tell anyone and go eat some cantaloupe while wearing nothing but a helmet made of butter and non-sense.

Critique.
#389
Not sure if this has been requested but being able to add bookmarks in the script editor would be really great (like in ultra-edit)

http://www.ultraedit.com/products/ultraedit/ultraedit_feature_map/technical_writer.html
#390
Ive noticed this aswell...Ive got the same keyboard at home and at work (both win7 64 bits) and sometimes the esc key fails...whats weird is that its "sometimes"...I couldnt figure it out, just thought it was the keyboard Im using.

ps: My keyboard is a Dell sk-8115
#391
QuoteI'm glad I didn't participate..
sure sure!!  ;)
#392
and if you want a nose-bleed:
Code: ags

if (!(!(player.HasInventory(iKey) == true)) != true)*












*dont try this at home
#393
or if you really want to complicate your life you could do this:

Code: ags

if (!(player.HasInventory(iKey) == true))


...hehe
#394
Wow, ok well I'll keep my eyes open for when the custom properties are no longer read-only...for now Ill create variables then I guess...

Ill look into that module btw, seems interesting... :D
#395
I created a custom property (a bool), and the default is "0". How do I change that value on the fly? I cant seem to find a "SetProperty"?

//pseudo code
Code: ags

bool bB = this.GetProperty("Hidden"); //should return false (default setting)

//later, in some block of script:
if (blah blah) 
{
  if (bB == false) bB = true;
}
#396
ah ok! Ill try that and see what I can do! thnx...."Khricey"...hehee, nice name :)
#397
Sorry to bump this old thread, but would this imply me having to copy the character closest to the insertion point inside a variable, delete it, and move the insertion point to the left (then put back the last-saved charaction using the variable)?

If not, Im guessing I should try making a sprite that fakes the insertion point? (Id rather not have to resort to doing that though!)
#398
Especially if you're using a certain color for transparency, if that color isnt 100% "pure" in all areas where you want transparency, those areas will create "artifacts". Use a color picker with info to make sure all transparent pixels have the same value (I used to make that mistake often).
#399
Advanced Technical Forum / Re: 1280 x 800
Wed 02/02/2011 22:55:08
QuoteNo, the engine would be resolution independent
geeze...now that's very good news!! When can we expect somethin'  :D

QuoteI think the resolution issue is one of the main reasons that wintermute exists
Same here...I actually tried it a few years ago because of the higher res options but found it not as intuitive as AGS (and the forums weren't very helpful, in my opinion).
#400
Ok I found "loseAllInv" somewhere in these threads, by adding it to what I wrote below, should be ok now?

Code: ags

void LoseAllInv(this Character*)
{
  int i = 1;
  while (i <= Game.InventoryItemCount)
  { 
     if (this.InventoryQuantity[i] != 0) this.LoseInventory(inventory[i]);
     i++;
  } 
}

void SwapInventory(this Character*, Character* otherCharacter) 
{
  //*need to clear player's inventory after swap, and before swap, clear the target char inventory
  if (otherCharacter == null) return;
  int iItemCount = invInventory.ItemCount;
  int i = 0;
  
  otherCharacter.LoseAllInv();
  while (i < iItemCount)
  {
    InventoryItem* iItemName = invInventory.ItemAtIndex[i];
    if (!otherCharacter.HasInventory(iItemName)) otherCharacter.AddInventory(iItemName);
    i++;
  }
  this.LoseAllInv();
}


I personally don't use UpdateInventory() either...
SMF spam blocked by CleanTalk