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

Topics - DoorKnobHandle

#61
Critics' Lounge / GUI to be criticized
Thu 24/03/2005 21:08:33
Hello,

I hope this is the right area...

While taking a break from my primary project, I started doing a little free-time project with a friend of mine. We started thinking about a plot and then we started drawing some rooms and characters and then I started doing the GUI.

I'd like to get a little response...

All the details and a short manual are in the README.TXT file...

A small one room sample 'game' is also included...

Tell me what you think... How does it look like, how user-friendly is it and do you get used to it easily?

README
The sample game included is just there to show the GUI features... You can try to solve the puzzle, but it is really easy and not necessarily bug-free...

Left-click always lets the character walk to where you clicked.

Right-click whenever your cursor turns into a cross ( whenever you are pointing at something you can interact with ) and a window similar to the right-click or context menu in Windows will pop up including all the different ways of interacting...

double-sized screenshot:


http://datenfunk.bei.t-online.de/GUI.zip
#62
Hello,

I have a question: As you know, I am working on this real-time strategy game.

Now when I move units (characters), I either use MoveCharacter or MoveCharacterDirect... MoveCharacter is fine, but it is getting very slow as soon as I move more than 5 units at a time. MoveCharacterDirect is very fast and perfect, but of course ignores the walkable areas...
Why is that? I guess it is because AGS has to precalculate if the moving characters are crossing space which is not walkable and then it has to find an alternative route for every unit...

What I'd need is something that is as fast as MoveCharacterDirect, but still prevents units from going over unwalkable space...

Is there a way to do something like this?
#63
Hey,

I have a room with animating frames. Now, when I add those frames, the small preview pictures in the "Add Animating Frame" Dialog Box are black, not how they are supposed to be (My room is 1600x1200, does that have to do anything? My pictures are in the proper colour depth etc...)

When I use SetBackgroundFrame in my script nothing happens. I know I use the command right and everything...

Can anybody help me? What does it mean when those preview things just turn black???
#64
Hey,

my brief question:

Is it possible to have a health variable and to add it to the character[] struct? That would be really useful because right now you'd have to declare a new struct (for example "person") and then have person.health but if you want to check the x or y coordinate of the same person you'd have to use character.x or .y! a possibility to create a new character.health var would be great!
#65
This is done entirely in Photoshop 7.

It is my first try ever using a graphic tablet. In fact I just got it today.

How do you think it turned out and (even more important) how do you think I should continue "developing" my art?

#66
T R O O P E R S

Updated on: 03-27-05

Welcome to the 'Troopers' project.
'Troopers' is a real-time strategy game just like Westwoods 'Command&Conquer', Blizzards 'StarCraft' or Microsofts 'Age Of Empires'... It combines elements of all those great and unique games to create something new...
It is entirely written in AGS and does not even use any plug-ins at all...

This is the most current screenshot:



Thanks to 'Neutron' for most of the new visuals!

To find out more, check the official website...

Featurelist:

- Real-time action!
- Create new units, build new structures and develop new techniques to improve your strength!
- Enjoy a very intuitive and comfortable way of controlling your units!
- Atmospheric story in 'Campaign Mode'!
- Tons of new challenges in 'Battle Mode' (You can also create your own levels using the available 'Troopers Level Editor' - Make sure to share your levels with all the other players online and to download additional battle scenarions as well)!
- Great MP3-Soundtrack!
- Video cutscenes!
#67
Critics' Lounge / Modern Blues/Rock Tune (MP3)
Tue 01/02/2005 20:04:45
Hey there,

I just made this tune two or three days ago. I created in my own little homestudio here.
It's one of the very first things I've did with it so far... Well, I would just like to have your
critique on it. It's only 36 seconds long and smaller than 1 MB.

I play all three guitars, the one bass line and I programmed the drumset myself.
I am aware that the guitar solo is not exactly in time, but it was a real solo (not written
out before).

Just go ahead and check it out:
http://datenfunk.bei.t-online.de/modernblues.mp3
#68
Hello!

I got three brief questions:

- I know how to get a single character out of a textfile, but is there a trick how to read a whole line..?
- How can I animate a cursor? I made my cursormode animated and I assigned a view and I animated
that view (in all four directions actually right now). It still is not animated. What is wrong?
- How can I RawDraw on GUIs?

Thanks for your help on any of those questions!
#69
Hey!

This issue just happened to me, so I was wondering if you ever thought
of putting something like this into the next version of AGS:

After writing a really cool code part in the script editor, you exit it by clicking
the menu button and you hit the wrong button ("Discard changes and exit").
Now you have to rewrite your whole work...

Why dont you put a safety confirmation messagebox after the "Discard changes
and exit"-button, that  would make it a lot easier...

Thanks!
#70
Hey!

Like I said in my last thread, I am working on this strategy game kinda like MIA.
I have the controls perfectly now, but now I am woorking on  the health system.
Right now I am drawing the health over the current character/building with "Raw"
draw functions. First I draw a big white rectangle which goes from the left to the right
all the way, then I draw a green line that represents the health, just like in most of
the strategy games like C&C or StarCraft etc.
But those Raw functions are awfully slow in 800x600 resolution, and I need to do those
in repeatedly_execute, because they need to move with the character of course...
I dont think sprites could do this very well, could they?
Is there any way to solve this problem?
Anybody ever did something like this?

Here's my code in repeatedly_execute:

Code: ags

RawRestoreScreen (); 
RawSetColorRGB (255, 255, 255);	
RawDrawRectangle (
character[GetPlayerCharacter()].x - 18, 
character[GetPlayerCharacter()].y - 51,
character[GetPlayerCharacter()].x + 17, 
character[GetPlayerCharacter()].y - 49);
RawSetColorRGB (20, 230, 20);	
RawDrawLine ( 
character[GetPlayerCharacter()].x - 18, 
character[GetPlayerCharacter()].y - 50, 
36*(GetCharacterProperty(GetPlayerCharacter(), "Health")/99) + (character[GetPlayerCharacter()].x - 18), 
character[GetPlayerCharacter()].y - 50);


Like I said the positioning works fine, but it is awfully slow... What can I do?
#71
Hey guys,

i am working on a player/selection system that works like in classic stragetgy games (The Command&Conquer Series, StarCraft and tons of other famous games. What I mean by that is the following: I have two characters in my example, they represent two soldiers - SOLDIERA and SOLDIERB. Ok, now, SOLDIER is the player char from the beginning. when i do a right click it only moves the current player character. no trouble so far. but the other half with the left click is way harder.

This is my approach (in the onmouseclick function):

Code: ags

function on_mouse_click(int button) {
  // called when a mouse button is clicked. button is either LEFT or RIGHT
  if (IsGamePaused() == 1) {
    // Game is paused, so do nothing (ie. don't allow mouse click)
  }
  else if (button==LEFT) 
  {
	
	SetCursorMode (0);
	int i = 0;

	  if (GetCursorMode () == 0) 
	  {
	    if (GetCharacterAt (mouse.x, mouse.y) != -1)
	    {
		Display ("LEFT MOUSE BUTTON CLICKED ON A CHARACTER...");
		if (mouse.x < character[i].x && mouse.x > (character[i].x + 18) && 
			mouse.y > (character[i].y + 14) && mouse.y < (character[i].y - 11) && 
			i <= (NUM_CHARS - 1))
		{
			  i = i + 1;
		}
		else 
		{
			SetPlayerCharacter (i);
			
		}
	     }
	
	
	   }
	
  }
  else
  {
	MoveCharacter (GetPlayerCharacter (), mouse.x, mouse.y );
  }
}



What happens with this piece of code is that I can move my player char SOLDIERA allright, when I click on a player and only if I hit a actual player (SOLDIERA or SOLDIERB), the debug displaymessage comes up correctly, but nomatter what player I hit it always says in the console: New Player Character: Character 0 (That is Character A). So I cannot really switch.

Anybody any adwise or something? Anybody ever did this before?

Thanks for reading all this.
#72
Hi guys,

here we go... I drew this piece in two or three hours - maybe a bit more or less.
The background contains the good old space theme... ;)
They are drawn in 160x100 and will be resized to 320x200 for the game.
I have one version in 320x200 and one for you to see in 640x400.

http://datenfunk.bei.t-online.de/AGIRoom320x200.bmp
320x200 version

http://datenfunk.bei.t-online.de/AGIRoom640x400.bmp
640x400 version

Comments, critic and -Ã,  especially - paintovers are welcome... ;)
#73
Critics' Lounge / WANTED: C&C on MIDI
Fri 21/05/2004 17:09:34
Hey guys,

after working a long time on good mp3s, I now decided to do some midis again.
My last production is this short introduction of a main theme for a game which will
contain a mood like "5 Days A Stranger" by yahtzee - what means sad and so.
I've worked only about thirdy minutes for it and I know it is no great written and
composed piece of music but I think it is enough for a good old adventure.

Some of you may hear this new ring tone from MTV (I think it is called Roque) in
this song. But if you do so, be sure that this song is really my own work and not
copy and pasted or so. In fact I don't know why it sounds a bit like this ring tone,
but I guess they have used some of the chords I used too...

Well here we go... http://datenfunk.bei.t-online.de/Song40.MID

Please comment and criticize!
#74
Hi guys,

please give me your C&C for this new character I drew.


300x280


60x55

EDIT: The shade is still missing. I will care about it soon, I think/hope.

Thank you!
#75
Critics' Lounge / !Female Character To C&C!
Sun 21/03/2004 18:32:02
Hi guys,

here we go... This picture took me about one hour to draw, colour and shade... What do you think of it?

The first one is 100x105 GIF and the second one is just resized to 200x210 for you to have a better view!

Please C&C!



Thank you!

By the way: What do you think of my new avatare picture?
#76
Critics' Lounge / Need C&C ongraphic style
Sat 21/02/2004 23:29:06
hi guys,

please say what you think about this graphic style...

I made it with the half-life engine and some kinda photoshop filters.

so. would you like to see a game in future with that kind of graphic?

#77
Heh you guys out there!

How can I get rid of the warning I get everytime I use "Wait(X)" before fadein?

I use it there to let the fade in last longer!

Is there any way to let the fade in/out last longer without getting a warning?

Of course, I don't mind warnings, but if I want to have a final version of thi game somedays I wouldn't like to have a warning inside it!

What can I do?

*Hope my english is understandable*
#78
Sorry for another question from me, but...

I deleted the "Inventory GUI" sprites because I made my own, with selfmade sprites of course.

I checked several times, that no object using an old sprite is in that GUI, but when I use "GUIOn (INVENTORY);" the game crashes with that "GUI Sprites deleted" message!

What can I do?
#79
How can you make dialogs become a kind of "blocking"?

I have a dialog and after that a MoveCharacter Command. But only the startup of the dialog is made and then the character is moving, while youre choosing the topic e. g.

how can you fix this?
#80
Hey,

I changed a few font settings for fun and now I can't set the default font!

The font, I would like to have, is that standard font with the color inside and out of the font just white!

"Set to Default" seems to delete only all extra-added fonts.

So I used a normal font with outline (Shadow), but it looks crappy and you can hardly read it!

Then I changed the font to a font which is (also without outline) shaded. But then only the space between is coloured!

I hope you understood this posting.

Please help me!

THX!
SMF spam blocked by CleanTalk