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

#1 2011-08-22 18:04:26

Scratchthatguys
Scratcher
Registered: 2010-07-16
Posts: 1000+

Programming... ON A MAC?

I want to do a text based game like my old Windows Minecraft.bat game, but on a Mac.

Does anyone know Terminal (Mac) programming.

Offline

 

#2 2011-08-22 19:43:21

Trekkie210
Scratcher
Registered: 2010-08-04
Posts: 500+

Re: Programming... ON A MAC?

I'm not sure if this is what your looking for, but I think all Macs come with Xcode.


http://memberfiles.freewebs.com/84/02/38380284/photos/Ponies/131426738106.gif

Offline

 

#3 2011-08-22 20:09:55

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Programming... ON A MAC?

Shell Scripts. Google it.  smile

It's .sh.


Hai.

Offline

 

#4 2011-08-22 22:08:29

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

See that Terminal that comes with Mac?


Use that.


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#5 2011-08-22 22:11:13

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

It is most stuff the same as windows.  BTW, just rename a .bat file .command, and it should work mostly.  You might need to make a few changes though.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#6 2011-08-22 22:15:23

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: Programming... ON A MAC?

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#7 2011-08-22 22:16:41

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

murpho wrote:

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit

Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/Sdol1q4jGpI/AAAAAAAAC7g/0UjyZwgcHic/s400/trust+me+doctor.jpg


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#8 2011-08-22 22:21:02

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

murpho wrote:

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit

lol, java is something completely different.  IF this is really what you want, use terminal.  However, you can do everything you want to, and more with java.  Do java  big_smile


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#9 2011-08-22 22:21:25

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: Programming... ON A MAC?

agscratcher wrote:

murpho wrote:

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit

Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#10 2011-08-22 22:23:05

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

murpho wrote:

agscratcher wrote:

murpho wrote:

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit

Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

no.  Using echo, if statements, and variables, you can technically make a reasonable game, but it is much easier with java.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#11 2011-08-22 22:25:03

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: Programming... ON A MAC?

gbear605 wrote:

murpho wrote:

agscratcher wrote:


Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

no.  Using echo, if statements, and variables, you can technically make a reasonable game, but it is much easier with java.

echo doesnt use terminal, you always want to use an outside source suchas ech and the like. i put out the jdk because its what i use for making minecraft mods


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#12 2011-08-22 22:28:49

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

murpho wrote:

gbear605 wrote:

murpho wrote:


terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

no.  Using echo, if statements, and variables, you can technically make a reasonable game, but it is much easier with java.

echo doesnt use terminal, you always want to use an outside source suchas ech and the like. i put out the jdk because its what i use for making minecraft mods

well echo uses .sh which uses terminal commands, but I agree that jdk is better.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#13 2011-08-22 22:29:02

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

murpho wrote:

agscratcher wrote:

murpho wrote:

dont use terminal!!!!! DX you will mess up the computer!!! Use java devolpment kit

Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

Dude, I made a VERY complex Asteroids game with Terminal. It didn't mess up my computer.


When you assume, you make an [removed by moderator] out of u and me.


Last edited by MyRedNeptune at 10:28:42


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#14 2011-08-22 22:31:17

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

agscratcher wrote:

murpho wrote:

agscratcher wrote:


Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

Dude, I made a VERY complex Asteroids game with Terminal. It didn't mess up my computer.


When you assume, you make an [removed by moderator] out of u and me.


Last edited by MyRedNeptune at 10:28:42

lol, nice moderator thing.  but yeah.  Just use java, since it is good for other stuff too.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#15 2011-08-22 22:32:42

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

gbear605 wrote:

agscratcher wrote:

murpho wrote:


terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

Dude, I made a VERY complex Asteroids game with Terminal. It didn't mess up my computer.


When you assume, you make an [removed by moderator] out of u and me.


Last edited by MyRedNeptune at 10:28:42

lol, nice moderator thing.  but yeah.  Just use java, since it is good for other stuff too.

I have no problem with Java. In fact, it's great.


FAKE MOD EDITS FTW!


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#16 2011-08-22 22:36:31

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

OK, murpho, I think I know what your problem is.


To make game, type vi *filename*.c, then press enter. You are now editing a C file in vi.


CB


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#17 2011-08-22 22:40:20

TheBajeebas
Scratcher
Registered: 2010-04-26
Posts: 1000+

Re: Programming... ON A MAC?

You should use apple script, python or java


http://i.imgur.com/jOkeD.jpg

Offline

 

#18 2011-08-22 22:43:54

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

TheBajeebas wrote:

You should use apple script, python or java

Applescript is def. not what you are looking for, Java is good, and I haven't had much experience with python.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#19 2011-08-23 08:13:31

Scratchthatguys
Scratcher
Registered: 2010-07-16
Posts: 1000+

Re: Programming... ON A MAC?

I CANT USE JDK!

And I know that I have to use the Mac terminal... *facepalm*

Last edited by Scratchthatguys (2011-08-23 08:14:30)

Offline

 

#20 2011-08-23 08:43:14

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Programming... ON A MAC?

agscratcher wrote:

murpho wrote:

agscratcher wrote:


Terminal doesn't mess up your computer.


http://2.bp.blogspot.com/_u-8jsnr-IjE/S … doctor.jpg

terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

Dude, I made a VERY complex Asteroids game with Terminal. It didn't mess up my computer.


When you assume, you make an [removed by moderator] out of u and me.


Last edited by MyRedNeptune at 10:28:42

can i have a link to your Asteroids game... oh i forgot... im using windows! lol


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#21 2011-08-23 09:28:36

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Programming... ON A MAC?

Scratchthatguys wrote:

I CANT USE JDK!

And I know that I have to use the Mac terminal... *facepalm*

Why can't you use JDK, Java is amazing, and terminal stuff doesn't look as prefessional.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#22 2011-08-23 16:05:44

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Programming... ON A MAC?

nathanprocks wrote:

agscratcher wrote:

murpho wrote:


terminal only codes the mac and alters your mac or whats on it, if you try to make a game in terminal it will mess up your computer

Dude, I made a VERY complex Asteroids game with Terminal. It didn't mess up my computer.


When you assume, you make an [removed by moderator] out of u and me.


Last edited by MyRedNeptune at 10:28:42

can i have a link to your Asteroids game... oh i forgot... im using windows! lol

Oh, you can have it. It's a C file.


I'm thinking of making it a Flash file and putting it on a website.


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#23 2011-08-23 18:42:45

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Programming... ON A MAC?

No one read my post?

I said Shell Scripts before all of you.


So I get credit.  smile


Hai.

Offline

 

#24 2011-08-23 23:47:59

johndo77
Scratcher
Registered: 2010-07-30
Posts: 1000+

Re: Programming... ON A MAC?

agscratcher wrote:

When you assume, you make an [removed by moderator] out of u and me.

Haha, I say that all the time.

Scratchthatguys, don't listen to these peoples. Use Xcode. It has java, C++, and objective C.


Crizapples

Offline

 

#25 2011-08-24 06:51:45

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: Programming... ON A MAC?

I know nothing about it, except the the Old C&C games and Dune was programmed on a mac  big_smile


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

Board footer