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

#1
Mmh I made an "internet" plugin for a test game (an online chess game...). The plugin is not yet finished, but 5 functions are operational:

void InitPostContent();
void AddPostContent(string variable, string content);
string SendWebPostMethod(string url, string action);
string ReadWebContent(string url, string action);
string SaveWebImage(string url, string action, string destFile);


The first three functions work the way an html form works, with the POST method:

- InitPostContent will initialize variables and values.

- AddPostContent will add a variable containing a value.
Example:
AddPostContent("test", "a value"); would work the same way as a form object in a web page :
<input type="hidden" name="test" value="a value">


- SendWebPostMethod simply submit variables and values to an url, the same way a form works, and then returns the page content as a string.
Example:
SendWebPostMethod("http://www.test.com/score.php", "?action=newscore"); would work the same way as if you submited a form with these parameters:
<form action="http://www.test.com/score.php?action=newscore" method="POST">


- ReadWebContent returns the content of a web page.
Example:
   String buffer;
   StrCopy(buffer, ReadWebContent("http://www.test.com/ags/agssave.001", "") );
   File *output = File.Open("agssave.001", eFileWrite);
   output.WriteRawLine(buffer);
   output.Close();


This will copy the agssave from a website into the game folder.
Note: You could do the same thing with SendWebPostMethod as it also returns the url content.


- SaveWebImage will copy an image from an url into your game folder :
Example:
   DynamicSprite * avatar;

   SaveWebImage("http://www.test.com/images/avatar.bmp", "", "data/avatars/avatar.bmp");
   avatar = DynamicSprite.CreateFromFile("data/avatars/avatar.bmp");
   if (avatar != null) {
      RawDrawImage(150, 100, avatar.Graphic);
      avatar.Delete();
   }



You'll find more info in the zip file.


ags_filenet.zip, 145ko
Download


#2
Colored version : http://www.agsforums.com/yabb/index.php?topic=15031.msg185878#msg185878

B&W version : http://www.agsforums.com/yabb/index.php?topic=15031.msg185235#msg185235







I completely redrew the first background of our game, because I wasn't satisfied with the previous version, and I'm happy with what I've been able to achieve.
It's supposed to be a life-insurance company office.



I would like to color it and get ride of outlines while the background stays consistant...
but my problem is that I really don't know how to start, and which technic to use.
I've tried with selecting area with the magic tool, but I don't like the result. I've tried making two layers, one for colors and some others for highlight & shadows... but the result isn't as good as I would like, it takes me a lot of time, and usually it makes my background blury.

I haven't found any appropriate tutorial on the internet for the moment, but I certainly will keep searching.

So I really would appreciate if someone could just give me a tip or some tutorial link

oh btw C&C pleaseÃ,  :)
#3
AGS Games in Production / BOMBERMAN clone
Tue 22/06/2004 01:14:25
Dorcan's Bomberman (that's not the title, I'm still trying to find one)

Recently I've been working hard on the AI of a bomberman for our school java programming project. The problem is, we only have to work on the AI, but not on graphics or interface, because they're already done... And I can say, they are uglyÃ,  ::)

So I've been thinking : "Why not trying to create a cuter bomberman with AGS ?" And that's what I've been doing for 2 weeks. Well, it's still not finished, and I must confess that I've "borrowed" the original bomberman guy from the game atomic bomberman and bomberman online, but I'm planing on drawing them myself.

Anyway, I'm quite satisfied with what I've got so far, but I think I will redo the interface, as I've made them quite quickly (with the help of some cheap photoshop filters)

For the moment, the game features :

-640x480 16bit graphics
-TCP-IP (LAN,Ã,  internet... thanks a lot for your plugin, A-V-O)
-Global Server
-up to 8 players in game
-up to 4 players on the same computer sharing the same keyboard (a bit unconfortable, but you can also use the mouse)
-In-game chat
-Artificial Intelligence (not done yet, I'm trying to transpose the Java code on ags. I'm using the Astar Pathinfing method btw)
-Map editor


Screenshots :
click on pictures to see them larger


Menu & Options

"create game", "join game", "options", "quit"


Servers room & Launching

"refresh", "direct connection", "Join"


In game ("duel" map type, the right one is a quick made "CMI" map)
Ã, 


Map Editor


:)
#4
Hello !  :)
It's been a while since I posted something in the critics lounge forum. Now I'm back with an animation I've done for our new project.

I drew my main character in Photoshop, and also made his walkcycle (not that good), but then I found out about Moho and wanted to try it. I like the result, but I feel there are some errors, and the movement isn't as realistic as I intended to. Maybe the head and arms bounce too much ?

My first try with photoshop (8 frames):


And my new attempt with Moho (16 frames):


Constructive C&C pretty please :)
#5
Ok, I finally decided to start a new post about my "company", or should I say, my website. I hope you don't mind for the fact I'm promoting my website.
Some time has passed since its creation, but I wanted it to be really finished before posting on ags forums... Well it's still not finished, but today is the last day of the holidays, sooo....
You can find on my website :
-Some of my creations (pictures, drawings)
-My games and my new project, which I'm working on with a friend
-Tutorials for AGS (not for newbies, I'm afraid)
-Tutorials for Photoshop (ok, only a little tiny one)
-forums, chat, etc.
-"english" version... (not enough time & motivation to translate everything)
Oh, and some pictures of my holidays at the army  :P

That's all !

Mmh and Goldmund, have you seen it? .ch!! Wasn't I supposed to be french ? ;D
#6
Ok. That's my first MAGS game ! (Done in 9 days. I didn't sleep very much)

-----:::   MOURIR EN MER   :::-----

I finaly have made a translation, so I hope you will understand my game now

This game is about a dying guy with an ugly face, who desire to see the sea one time before he dies, but he's imprisoned in the attic by his cruel father...

Changes
3 Jan : New mirror

-TRANSLATION !! (by Rookworm3)
-add some palette effect...and a title
-more conversation
-description of every Hotspot and objects






Download it HERE

(Left-clic, then clic on the last link)

MIRROR

(Right-clic, save as)


SMF spam blocked by CleanTalk