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 - Crimson Wizard

#13561
Khris, you have another mistake, it makes AGS crash:

Code: ags

while(i < Game.InventoryItemCount) {
    iw = inventory[i].GetProperty("weight");
    w += iw * player.InventoryQuantity[i];   // add item's weight times quantity to total weight
    i++;
  }


Must be something like:

Code: ags

while(i < Game.InventoryItemCount) {
    iw = inventory[i].GetProperty("weight");
    w += iw * player.InventoryQuantity[i + 1];   // add item's weight times quantity to total weight
    i++;
  }


InventoryQuantity array has 1-based indexation.
#13562
Gepard, you don't need to put everything to repeatable_execute function. Or rather must not.

Create 2 separate functions as Khris pointed out. Then simply call them in the places you need it.

For example,

Code: ags

int totalweight = InvWeight();

#13563
The Rumpus Room / Re: Happy Birthday Thread!
Sat 03/04/2010 15:17:44
Happy upcoming birthday, monkey_05_06 :)
#13564
Oh  :P

Well, okay.
This is actually why I wrote that I can't guess what to explain :)
#13565
barefoot, I don't understand why you felt a need to explain all that, since Sayhello-hello already seem to know how to set timer.

Sayhello-hello, Practically, you've did almost everything.
What is important, is where in the code to place the timer-setting and checking.


Put "ring" function call into particular event handler, depending on when you need it to start ringing.

It is better to check Timer inside room's repeatable_execute function. This will ensure it will be checked each game tick.

When character takes the phone, call SetTimer(1,0) to stop the timer.

If you have more problems, please tell in detail which are you having, for at this moment I can't guess what to explain. You seem to know anything you need already.
#13566
 ;D

A "Queen's Quest":
http://us.blizzard.com/en-us/games/mobile/

Play infested Sarah Kerrigan, Queen of Blades:


#13567
I have a suggestion to make "Display multiple icons for multiple items" variable a member of Character or Inventory Window instead of global setting.
#13568
Looks sweet!
And I checked your team on website. Your page sais that music is done by Bosa. If that is Bosa I have a luck to know, these are good news, cause he writes good music  ;).

I wonder, however, is it copyright safe to make a sequel to Lucas Arts game?
#13569
By the way, since we touched this topic here, does anyone know, why this may be that when I create dynamic sprite from file, all colours became screwed?
I tried everything, it seems, like making graphic colour amount match game's colour amount, trying different colour settings in game, etc, nothing seem to help.
#13570
Aah! Certainly. Mr. Matti is correct.

This is what is put in default template in game_start function:

Code: ags

KeyboardMovement.SetMode(eKeyboardMovement_Tapping); 


QuoteI don't know if you understand, because my english is veeery bad and i'm sorry for it.
I understand everything you say, don't worry  ;)
#13571
Hmm... they could be incompatible without some changes... let's see.

Ok, I got it.

In GlobalScript.asc find this inside on_key_press function:

Code: ags

  if (keycode==GetASCIINumber(LeftArrowKey)) mouse.SetPosition(mouse.x - 5, mouse.y);
  if (keycode==GetASCIINumber(RightArrowKey)) mouse.SetPosition(mouse.x + 5, mouse.y);
  if (keycode==GetASCIINumber(UpArrowKey)) mouse.SetPosition(mouse.x, mouse.y - 5);
  if (keycode==GetASCIINumber(DownArrowKey)) mouse.SetPosition(mouse.x, mouse.y + 5);


and either comment or delete it.
#13572
Create a game using Default template.
There's KeyboardMovement module in it. Check it.
(It already works in games made from Default template. but ofc you can copy it to other projects as well).
#13573
Whether it is a joke or not, but I must say, I hate how BJ looks on that "screenshot"  :P
#13574
I can share an improved WOO code that I made based on original Gepard code.
I believe Gepard will not mind ;) Besides the code is 50-60% mine now  :D

http://www.mediafire.com/file/juwgcjolmdd/Woo_project_1_2_4_272.zip

It is heavily commented on purpose. Also, project is easily converted to AGS 3.2 without need of changing anything in script.
Have fun.  ;)
#13575
As I mentioned in AGS in the media thread, There were 2 articles about AGS games in Russian GameLand magazine I found so far:

Downfall (July 2009): http://www.gameland.ru/reviews/45714/

Blackwell Convergence (Sep 2009): http://www.gameland.ru/pc/the-blackwell-convergence/reviews/46498/


Also, one guy found Quest Fighter 2 game in another russian magazine, "Навигатор игрового мира" ("Game World Navigator"). Unfortunately he could only photograph pages in low quality; currently I am trying to find online version.
http://s002.radikal.ru/i198/1001/ce/57d35deb5ff6.jpg
http://s002.radikal.ru/i200/1001/5a/901596431ffb.jpg
#13576
I have a tiled map editor made as AGS game. Originally it was supposed to be RPG editor, but I felt like not making AGS RPG yet and left it temporarily.
Editor features:
- 6 layers
- toggling layer visibility
- extra "walkable area" layer with toggling visibility and/or setting transparency
- reading tiles from AGS sprites; I could not make it load custom graphics from game folder - they always had screwed colours for some reason, so I disabled that option for now
- creating map of an any size (width/height)
- saving and loading map
- really cute and cool interface  ;D






I remember those features worked nice so far. Don't know if it may be of any use though... I started to write engine itself, but, as it often happen to me, put it away until better times because lack of inspiration  :P
#13577
Google for "neku new trip". For me first two links point to 2 AGS games by icey games... you probably could hear about him lately... does this mean these games are popular?
Dunno...

Sorry, don't have much to say anymore  :P
#13578
I don't want to say bad things to you, icey games, because I think all this fuss is not funny anymore, I just want to point out some mistakes you made in your post, because I seriously can't understand why are you making them; maybe you just don't realize it's important?

1. Violation of forum rules: as AtelierGames mentioned above.

2.
Quote(please don't leave comments)
That's quite strange thing to ask. This forum is not for "messages", unless you are moderator and want to make announcement. Unless locked, topics will always be opened for comments.

3.
QuoteOk I am working on a game
You say you are working on a game, but do not say which game it is. In fact, you don't say anything about it. People usually want to know what the game is about, because they don't like working for random project. They need to be sure that game story, concept and features are likable for them.

4.
QuoteThere is a pic on my site that I made
You mention your website, but don't give any link. Where we can find it? Ofocurse some may guess that we should look into your profile, but that is not a very friendly way to direct people.
Secondly, where's your pic you mention? No direct link again. How would we find it then?

5.
Quoteif you succed to draw it they way I like it you could but I am not one to judge so I will take all the pics that are posted here and save it in a folder and post the top 3 at the end.
So, you are not the one to judge, and yet you are going to decide "top 3", aren't you? Isn't that a bit illogical? How will you decided which are best? Are there any rules, preferences or limits? Do you really think people will be interested in such competition? (Especially knowing nothing about your game and thus being not really interested in helping you).

6.
QuoteI have made a game(uptain ego) it is not supposed to be big or great just follow the displays and what every program you use to make your music just do what you do best and please no music by others or downloaded music, if that's the case I am better of get final fantasy music
Again, you mention some game you made. Where is that game? Where we can see it or download it? Do you really think that you are so popular that anyone knows where to get your games? I seriously can't understand this.
If you want people to see your game and help you, please, give a direct link.

I really hope that my comment will help you to write your requests (and generally posts) better (although you did not like to have comments in this topic... well sorry, but I felt like I must do this).
#13579
You can use masks to create walkable areas in AGS. Make a copy of your background in any graphic editor, then fill needed area with blue color, other areas with another colour (e.g. white). Then save as 8-bit image, and import as "walkable areas mask" in AGS.
If you need more separate walkable areas, you can fill them with other colours, like green, red etc.
#13580
Quote from: Danman on Tue 30/03/2010 17:08:56
But for Colors only ??? . I never saw it.
Sorry, I don't understand what you mean. Can you elaborate?
SMF spam blocked by CleanTalk