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

#21
Quote from: Cassiebsg on Sun 07/05/2017 13:03:02
Open the GUI, set the size and adjust the buttons.
That is surely because you created a smaller game than the template, and it got adjusted to the smaller size of the game, but the images that are used are still the original size.

If you making a game at another res than the template you'll need to fix the images, by making your own the correct size and replace the ones provided.
First of all thanks for the reply ;-D  now
ok i went to the GUI on the explore project menu, i changed the size on the
layout  but it has a fix size somewhere becuase it didn't change.

No matter the size i put on the layout it remains with same height.

I'm working on the template of the 9-verb and it has this sample gui there
how can it be so obscure to change it's height, other question guys the light purple
color in the background is supposed to be transparency, when i create a new GUI it's
just a gray dull square.

Thanks for the help

Lien
#22
Quote from: Matti on Sun 07/05/2017 11:35:59
What resolution do you use? Make sure to import backgrounds in the same size as your game resolution. If you want that black void around the room, do that with your image software.

Thanks for the reply   the background is now 219  by 128 i mean the image size in pixels is this and setup the resolution on the General Settings


But still this is the out come...
Im not sure what i am missing here



#23
Hi i made a background with  109  X  height 64   and added some gap space for the gui menu but it all
gets squashed and also  i can't figure out how to center the background.

I'm not sure how to make this work. I have enough space at the bottom and at the sides please help.

Thanks in advance.   


#24
:cheesy::cheesy::cheesy::cheesy: thank you for this post.
Quote from: Khris on Tue 21/04/2015 11:58:25
Just found this, and since I successfully used this for FloatyRog, I'll share my code:

Code: ags
void Send() {
  Socket *server = Socket.CreateTCP();
  SockAddr *sockaddr = SockAddr.CreateFromString("http://khris.agser.me");
  sockaddr.Port = 80;
  server.Connect(sockaddr);
  String name = tbName.Text;
  String param1 = String.Format("param1=%s&param2=%d\r\n", name,  current);
  String len = String.Format("Content-Length: %d\r\n\r\n", param1.Length);
  String message =          "POST /floatyrog/index.php HTTP/1.1\r\n";
  message = message.Append( "Host: khris.agser.me\r\n");
  message = message.Append( "Content-Type: application/x-www-form-urlencoded\r\n");
  message = message.Append( len);
  message = message.Append( param1);
  message = message.Append( "\r\n");
  server.Send(message);
  server.Close();
}


(I'm not actually using param1 and param2 btw ;), and it is recommended to add a security key of some sort as additional parameter to prevent people from adding fake data.)
SMF spam blocked by CleanTalk