Module Request: Sliding GUI, MySQL connection, Animated GUI and Button

Started by RowdyAdventurer, Thu 16/11/2006 17:24:27

Previous topic - Next topic

RowdyAdventurer

Hi there. I have been a long time watcher of AGS and first time poster on these forums.

I wanted to request some modules that I cant find in the wiki. I wanted module that would allow your gui to slide in like in Beneath a Steal Sky.

Also a module to allow animating buttons on your gui along with a module that allows an image in the background of the GUI to animate. (EDIT: I just saw the button.animate. Sorry)

And last but certainly not least I need two modules that would work well for an MMORPG. the first one I wanted was a module that could connect to a MySQL database on the web. This would store some information about the characters and such. Also i wanted to be able to have a module that would send a message to all the rooms and to everyone connected to it. In fact the mysql thing might need to be a plugin with an updated tcpip plugin.

Just wanted to put this out there.
EDIT: Sorry, I hit enter accidentaly. Editing in Progress. Will be done in 5

monkey0506

The SQL would have to be a plugin, and it's a rather specialized request seeing as 1) to date no one has used the TCP/IP plugin in a game, and 2) AGS isn't really designed for making this type of game. Possible, but it would require a lot of scripting on your part.

I'm unsure how the GUIs slide in BSS. Could you provide more description?

As for the GUI background animation I think that's a reasonable request.

RowdyAdventurer

For bss what happened was the user would move the cursor to the top of the screen and the gui would then just slide down from the top.

With mysql a game would be possible and feasible. I will provide with details later tonight.

thanks

Janik

I don't mean to rain on your parade, but are you sure you are up to making a MMORPG? As the acronym implies, a MMORPG is a massive project, and personally I wouldn't make it in AGS. AGS is great for adventure games, but you'll run into limitations in the scripting language much too quickly for such a complex program. Regular (single-player) RPGs are certainly possible though, I think it needs a fair bit of trickery though.

You'll really need a fully-featured, object-oriented language. Personally I like the .NET platform (you can get "Express" versions of VB, C# and C++ 2005 all for free). Getting the graphics going will be thougher than starting in AGS, sure, but I think a MMORPG in AGS would be flat-out impossible.
Play pen and paper D&D? Then try DM Genie - software for Dungeons and Dragons!

Gregjazz

AGS does have that plugin that lets you grab data online, and for example use a php file to send data back to AGS...would that be any use to you?

Khris

About GUI movement:
This is a snippet from a project of mine that uses this:
Code: ags
// above rep_ex:
int menu_gui_moving;  // direction of movement, -1, 0 or 1

// inside rep_ex
  int x=mouse.x;
  int y=mouse.y;

  int guix=gMenu.X;
  if (GUI.GetAtScreenXY(x, y)==gMenu && menu_gui_moving<1) {
    menu_gui_moving=1;
  }
  else if (GUI.GetAtScreenXY(x, y)==null && menu_gui_moving>-1) {
    menu_gui_moving=-1;
  }
  guix=guix+(menu_gui_moving*2);
  if (guix<-24) {  // did GUI slide out completely?
    guix=-24;
    menu_gui_moving=0;
  }
  else if (guix>0) {  // did GUI slide in completely?
    guix=0;
    menu_gui_moving=0;
  }
  gMenu.SetPosition(guix, guix);


It's for a GUI in the top left corner with a visible edge. Sliding the mouse over the edge will make the GUI slide in, moving the mouse outside again will make it slide back.

The code can easily be adjusted to make it slide down at a certain mouse.y.



SMF spam blocked by CleanTalk