Jump to content


Photo

Is it possible to make a make image that links to


  • Please log in to reply
4 replies to this topic

#1 Fira

Fira

    God Bless You All

  • GMC Member
  • 1381 posts

Posted 12 June 2012 - 12:31 AM

Lite Game Maker 7.0 Lite Edition or any Lite Editions or Pro Editions I am talking about.

Now here is what I mean

#1: A person loads an in the game (or anyother file of a: ) sprite

#2: The person does Ctrl and L and types in
http://gmc.yoyogames.com/
for example

#3: The person does Ctrl and S and types in
Good Image.png

#4: Now the person loads Good Image.png
online

#5: Now the person uses Good Image.png
but whenever anyone clicks on the person's Good Image.png
such as an avatar or signature for example the
click oner will go to http://gmc.yoyogames.com/



Is such a game possible at all?

room0 Creation code
globalvar website_to_go_to_when_picture_is_clicked_on,save_picture_as;

  • 0

#2 A saurus1

A saurus1

    GMC Member

  • Sandbox Moderators
  • 1585 posts
  • Version:GM8.1

Posted 12 June 2012 - 01:17 AM

Let me see if I understand this. You want to have a sprite in the game which acts as a link to a website? All you need to do is make an object and put execute_shell("http://website.here.com") in the mouse click event. However, I get the feeling that this isn't exactly what you're looking for. Could you explain it a little more clearly?
  • 0

#3 Fira

Fira

    God Bless You All

  • GMC Member
  • 1381 posts

Posted 12 June 2012 - 01:55 AM

Here is what I mean



#1: A person loads an in the game (or anyother file of a: ) sprite



#2: The person does Ctrl and L and types in
http://gmc.yoyogames.com/
for example



#3: The person does Ctrl and S and types in
Good Image.png



#4: Now the person loads Good Image.png
online



#5: Now the person uses Good Image.png
but whenever anyone clicks on the person's Good Image.png
such as an avatar or signature for example the
click oner will go to http://gmc.yoyogames.com/
  • 0

#4 dannyjenn

dannyjenn

    GMC Member

  • GMC Member
  • 2036 posts
  • Version:Mac

Posted 12 June 2012 - 02:42 AM

I'm still not understanding. So you want a multiplayer game which runs in its own window (i.e. not in a browser) and then have it so people have avatars which they have set themselves by pressing Control and S, and if another player clicks on the avatar it opens a browser window and takes him to whatever website the person has indicated with Control and L?
Yes, that's possible assuming you have a way to transfer the avatar sprite from the first person to everyone else (since it's external then no one else will have the image to begin with...)
Then just make it so when you click on it then it opens a brower and takes you to the URL given (for that, just use execute_shell() like A saurus1 said.)

Edited by dannyjenn, 12 June 2012 - 02:43 AM.

  • 0

#5 A saurus1

A saurus1

    GMC Member

  • Sandbox Moderators
  • 1585 posts
  • Version:GM8.1

Posted 13 June 2012 - 01:46 AM

Yeah. I'm having trouble understanding too. You've got some grammar in your post that's making it very hard to understand. Also, you say the player should press Ctrl-L or Ctrl-S but you never define what these do (are you trying to make a browser in game maker??). And you talk about loading an image into your game. This is certainly possible, but doesn't make sense in the context you're using it in.

And how does a person 'load' an image online?
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users