This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-10 22:55:33

ARLUMI
New Scratcher
Registered: 2012-03-14
Posts: 9

Make a new block to open Browser with URL

Hey guys:

I have success made a new block to open a browser

but, when I put my project on the Internet or turn into a website or transform to a exe. file

It doesn't work.

It's only work on localhost.

Can somebody tell me is their any solution about this?

Thx.

Offline

 

#2 2012-04-10 22:56:48

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Make a new block to open Browser with URL

That's because when you modded Scratch, you only modded your copy. The website doesn't have it, and neither does the EXE converter.

Offline

 

#3 2012-04-11 08:32:41

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Make a new block to open Browser with URL

scimonster wrote:

That's because when you modded Scratch, you only modded your copy. The website doesn't have it, and neither does the EXE converter.

Though if you use panther there is a Panther2EXE


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#4 2012-04-11 09:09:18

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Make a new block to open Browser with URL

SJRCS_011 wrote:

scimonster wrote:

That's because when you modded Scratch, you only modded your copy. The website doesn't have it, and neither does the EXE converter.

Though if you use panther there is a Panther2EXE

^This.  Open the project in Panther, save a .pt file, and use Panther2EXE.  Panther has a built-in, easy way for you to recreate that block, but you'll need to delete the now-obsolete block and replace it with the custom block.

Offline

 

#5 2012-04-11 23:14:41

ARLUMI
New Scratcher
Registered: 2012-03-14
Posts: 9

Re: Make a new block to open Browser with URL

Thx.
I've already download a panther v1.0 to try.
But,how do I make a new block to open browser in panther?
use the same way i did in scratch?

Offline

 

#6 2012-04-12 05:38:36

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Make a new block to open Browser with URL

ARLUMI wrote:

Thx.
I've already download a panther v1.0 to try.
But,how do I make a new block to open browser in panther?
use the same way i did in scratch?

No. There's a function called CYOB in Panther (you can find a button to make blocks in the variables tab, I think), and you can put the code you used in Scratch there.

Offline

 

#7 2012-04-26 16:07:16

suneel
Scratcher
Registered: 2012-01-27
Posts: 96

Re: Make a new block to open Browser with URL

what is the code to make a game open in web browser? and how do u make a panther file an exe?
Panther2exe isnt working


Get Gangnam Style for free!
getgangnamforfree.weebly.co­­m

Offline

 

#8 2012-04-26 17:24:48

danwoodski
Scratcher
Registered: 2009-12-23
Posts: 100+

Re: Make a new block to open Browser with URL

suneel wrote:

what is the code to make a game open in web browser? and how do u make a panther file an exe?
Panther2exe isnt working

What isn't working?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://dl.dropbox.com/u/12506914/Pics/p2e-2.png&link2=http://dl.dropbox.com/u/12506914/Pics/ms.png&link3=http://dl.dropbox.com/u/12506914/Pics/block%20lib.png
Starting to move on to other languages, but I'll still be around from time to time  smile

Offline

 

#9 2012-04-26 20:06:51

suneel
Scratcher
Registered: 2012-01-27
Posts: 96

Re: Make a new block to open Browser with URL

sorry to be off topic

how do u compile a panther project?
i have this really awesome game im planning to sell, but i cant compile it. panther2exe doesnt work. itt only looks for sb files


Get Gangnam Style for free!
getgangnamforfree.weebly.co­­m

Offline

 

#10 2012-04-26 20:08:05

suneel
Scratcher
Registered: 2012-01-27
Posts: 96

Re: Make a new block to open Browser with URL

panther2exe it cant find the pt file

Last edited by suneel (2012-04-26 20:08:29)


Get Gangnam Style for free!
getgangnamforfree.weebly.co­­m

Offline

 

#11 2012-04-26 21:12:20

danwoodski
Scratcher
Registered: 2009-12-23
Posts: 100+

Re: Make a new block to open Browser with URL

you have to convert it to .sb first...just use LS97's converter to convert it, then it should work!


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://dl.dropbox.com/u/12506914/Pics/p2e-2.png&link2=http://dl.dropbox.com/u/12506914/Pics/ms.png&link3=http://dl.dropbox.com/u/12506914/Pics/block%20lib.png
Starting to move on to other languages, but I'll still be around from time to time  smile

Offline

 

#12 2012-04-26 21:56:03

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Make a new block to open Browser with URL

suneel wrote:

sorry to be off topic

how do u compile a panther project?
i have this really awesome game im planning to sell, but i cant compile it. panther2exe doesnt work. itt only looks for sb files

Wow, you're going to sell a Scratch game? Interesting...


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

Board footer