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

#26 2012-03-18 19:42:42

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: Making Games in Another Language

Well... I'm ten and I'm using small basic. Not that I'm that good at it, but... You get the idea. Also, you might want to look into html5. I have a few good websites for it. Another one it javascript. it runs within html(5). Also, check out stencylWorks. It's like scratch, but... different. Here are some links:

HTML5
I like this one a lot.
This one is okay.

Small Basic
Main site
Download a tutorial

Javascript
Just another link.
And one more.

One last thing. Check out code hero. It's still in beta, but you can donate $1 to get the beta version. Here's the link.

Last edited by PullJosh (2012-03-18 19:42:53)


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#27 2012-03-19 10:18:11

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Making Games in Another Language

Python:

Code:

print('Hello World!')

Java:

Code:

class Hello {
  public static void main(String[] args) {
    System.out.println("Hello World!");
  }
}

HTML:

Code:

<html>
<body>
<p>Hello World!</p>
</body>
</html>

These are examples of the simplest form a Hello World program in three languages.  This is one of the reasons why I suggest Python.  The Python program is short and self-explanatory (if I told you that print shows whatever text is inside the parentheses).

The Java program is long and full of abstract terms (Java programmers, I don't mean abstract classes or methods that use the actual 'abstract' keyword).  While once you know the language, it all makes perfect sense and can be understood to be both useful and necessary, as one who is new to programming, it bombards you with 7 terms, and that's only from a programmer's perspective!  I'm not saying that Java is a worse language, but only that it's not likely to be a good one to make your first language.

The HTML code is simpler, but for anything other than extremely simple websites, it uses JavaScript (note: JavaScript is not Java, and not similar; it was originally called ECMAScript), which is a bit more complex.  While HTML and JavaScript aren't exactly overly complex, they still have something of a surplus of new terms for simple programs, and more complicated programs that would be only a few lines in Python become complicated things.

You might also consider Ruby to start with (it has several nice luxuries that make it look simpler), but in my personal experience, it isn't the most powerful language I've seen.  One of the reasons I recommend Python is that while its syntax (programming term for grammar, in case you don't know) is simple, I frequently find amazing programs, and then find out that they are written in Python.  If you need examples about how Python balances simplicity and readability with power, see (among other things) Blender (look around for the official topic; overall, it's pretty great), EVE Online (an MMORPG; I don't have the URL right now), and Multiverse 3D (a 3D MMORPG game engine/creator).  Other famous programs include BitTorrent and DropBox.  I'm not saying that other languages haven't done great things (RuneScape and MineCraft are written in Java; HTML's sort of newer in terms of power and popularity, so you'll have to wait a few years to get things from that), but only that Python can do this.

One last thing: Python can make MineCraft plug-ins/extensions/add-ons/whatever-you-call-thems.  I think that most tutorials are in Java, so you have to know some Java to rewrite things into Python, but that's just a little perk to Python.

Offline

 

#28 2012-03-19 10:54:38

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Making Games in Another Language

Pascal:

Code:

program Hello, world;
begin
  writeln('Hello, world');
end.

This is a simple but classic "Hello, world" program(in pascal). Although pascal seems inferior to all other languages, it's really not. C got many ideas from Pascal. Pascal still has some features which are absent in most other programming languages.
[/myAttemptAtConversion]


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#29 2012-03-20 15:02:43

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Making Games in Another Language

slinger wrote:

Pascal still has some features which are absent in most other programming languages.

Sorry to get a little offtopic, but out of curiosity, what are some of these features?

Offline

 

#30 2012-03-20 16:00:01

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: Making Games in Another Language

JavaScript I hear is good.

Offline

 

#31 2012-03-25 11:31:02

Death_Wish
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Making Games in Another Language

jji7skyline_test wrote:

I've tried Stencyl, Gamemaker and other similar software and they are all very limited and practically useless.

I'm starting to learn c++ as well as php and javascript  smile

I disagree. Well, I don't like gamemaker, but I love Stencyl, and I think it's a great tool. How much time did you give it? At first it's hard to adapt, even though it's blocks, but after a while you can make great games easily.


With a straight flush.
http://4.bp.blogspot.com/-FlUhnzmIROE/TgtpjdJl4tI/AAAAAAAABCM/W19pvFTZFaU/s1600/save_the_world.png http://blocsonic.com/images/special/rip-stevejobs.jpg

Offline

 

#32 2012-03-25 11:50:26

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Making Games in Another Language

Death_Wish wrote:

jji7skyline_test wrote:

I've tried Stencyl, Gamemaker and other similar software and they are all very limited and practically useless.

I'm starting to learn c++ as well as php and javascript  smile

I disagree. Well, I don't like gamemaker, but I love Stencyl, and I think it's a great tool. How much time did you give it? At first it's hard to adapt, even though it's blocks, but after a while you can make great games easily.

Pretty much my opinion.

Offline

 

#33 2012-03-25 12:36:47

GameHutSoftware
Scratcher
Registered: 2010-04-24
Posts: 1000+

Re: Making Games in Another Language

poopo wrote:

Both basic and Java are pretty bad for games so I suggest python.  smile

theres this thing called minecraft you know


Lurking more than posting, but still here.

Offline

 

#34 2012-03-25 12:56:46

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Making Games in Another Language

GameHutSoftware wrote:

poopo wrote:

Both basic and Java are pretty bad for games so I suggest python.  smile

theres this thing called minecraft you know

Yes I know. There is an exception to everything.


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#35 2012-03-25 14:04:35

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Making Games in Another Language

poopo wrote:

GameHutSoftware wrote:

poopo wrote:

Both basic and Java are pretty bad for games so I suggest python.  smile

theres this thing called minecraft you know

Yes I know. There is an exception to everything.

Actually, Java is a really good language for most purposes.

Offline

 

#36 2012-03-25 15:52:52

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Re: Making Games in Another Language

ImagineIt wrote:

I think I'll go to something like Basic. Thanks a lot!

Basic is fun  big_smile


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#37 2012-03-30 19:11:15

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

Re: Making Games in Another Language

Sorry to... sort of necropost, but I gotta say:
Personally, I suggest Ruby, or if you really want to stray from the beaten road, some dialect of Lisp (e.g. Common Lisp). Clojure is another dialect but on the JVM, so you could probably write a Minecraft mod in it, or as I've done, use an awesome 3D Java game engine called JMonkey (if you'd like to look into the latter, try this tutorial)

Just my 1¢!


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

Offline

 

#38 2012-03-31 14:30:05

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Making Games in Another Language

Yeah, HTML5 is fun. I made a simple cannon game with HTML5, canvas, and JS. Python is a good one too.

Last edited by scmb1 (2012-03-31 14:33:34)


http://i48.tinypic.com/2z5pqad.png

Offline

 

#39 2012-03-31 14:40:53

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Making Games in Another Language

@Jwosty
I wouldn't consider lisp a beginners language  tongue


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#40 2012-03-31 15:05:18

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Making Games in Another Language

I write Batch code.

I know. My life IS messed up; how did you guess?


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

#41 2012-03-31 15:33:05

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

Re: Making Games in Another Language

slinger wrote:

@Jwosty
I wouldn't consider lisp a beginners language  tongue

IK, just thought other people might think its fun lol
-----
There's also JRuby


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

Offline

 

#42 2012-03-31 15:34:06

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

Re: Making Games in Another Language

SplatKirby wrote:

I write Batch code.

I know. My life IS messed up; how did you guess?

Use a real language haha


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

Offline

 

Board footer