Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411613 Posts in 69390 Topics- by 58447 Members - Latest Member: sinsofsven

May 09, 2024, 11:20:44 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityTownhallForum IssuesArchived subforums (read only)TutorialsGetting Started With Akihabara (HTML5/JavaScript gamedev)
Pages: [1]
Print
Author Topic: Getting Started With Akihabara (HTML5/JavaScript gamedev)  (Read 10503 times)
dariusk
Level 0
***



View Profile WWW
« on: May 06, 2010, 10:53:46 AM »

Hey folks. I've been messing around with Akihabara recently and decided to write up a tutorial series with my friend Darren Torpey. It's inspired by Derek's awesome Game Maker tutorials.

We've finished the first set of tutorials, which doesn't get you quite all the way to an 8-way shooter but it does show you how to make a very simple game that demonstrates a lot of technical concepts.


Also, I started writing up the full API documentation: http://tools.bostongamejams.com/akihabara/docs/

Hope you find it useful. I'll continue to post future parts in this thread. Let me know if you have any feedback or find any bugs as well. The end goal is going to be a simple 8-way shooter.
« Last Edit: August 20, 2010, 06:33:25 PM by dariusk » Logged

george
Level 7
**



View Profile
« Reply #1 on: May 06, 2010, 12:54:50 PM »

hot stuff, keep it going.
Logged
Melon Bread
TIGBaby
*


View Profile WWW
« Reply #2 on: May 08, 2010, 02:03:11 PM »

Really Nice, Thank You
I Was Wanting to play with HTML 5  Smiley
Logged
Farr
Level 0
*


View Profile
« Reply #3 on: May 10, 2010, 04:43:42 PM »

Javascript game development is something that I have never yet heard of.
Whatever this library allows you to do seems to be pretty impressive.
Would a game developed in a framework like this perform better in one browser compared to other? They do process javascript differently, don't they?
Logged
Skofo
Level 10
*****



View Profile
« Reply #4 on: May 10, 2010, 09:55:08 PM »

From my experience, Chrome has the best JavaScript/Canvas performance, followed closely by Safari and Opera. Firefox doesn't perform all that well compared to them. Internet Explorer doesn't support Canvas and has pretty bad JavaScript performance, but the Chrome Frame plugin fixes that.
Logged

If you wish to make a video game from scratch, you must first invent the universe.
dariusk
Level 0
***



View Profile WWW
« Reply #5 on: May 21, 2010, 11:50:37 AM »

Just posted up part 2, which covers Akihabara's object model and how to render a sprite and get it moving around the screen.

http://bostongamejams.com/akihabara-tutorial-part-2-moving-a-sprite/

Final outcome of the tutorial is playable here:

http://tools.bostongamejams.com/akihabara_tutorials/tut2_moving_sprite/

(Press "Z" on your keyboard to get past the title screen and use arrow keys to move around.)
Logged

baconman
Level 10
*****


Design Guru


View Profile WWW
« Reply #6 on: May 24, 2010, 11:18:28 PM »

Thank you for the informative tuts, I've been waiting for one on the topic for awhile now. Smiley So is HTML5 an optional part of Java-gaming, or are they pretty much totally intertwined?
Logged

Skofo
Level 10
*****



View Profile
« Reply #7 on: May 24, 2010, 11:24:36 PM »

HTML5 and JavaScript have nothing to do with Java.
Logged

If you wish to make a video game from scratch, you must first invent the universe.
dariusk
Level 0
***



View Profile WWW
« Reply #8 on: May 25, 2010, 04:34:25 AM »

Thank you for the informative tuts, I've been waiting for one on the topic for awhile now. Smiley So is HTML5 an optional part of Java-gaming, or are they pretty much totally intertwined?
Java is totally different from JavaScript -- basically JavaScript used to be called LiveScript but when it was originally released in 1995 they changed the name because Java was the 'hot' language at the time and anything with Java in its name just had to be good, right?

So basically, as Skofo said, this doesn't have anything to do with Java.

But if what you were asking is about gaming based around JavaScript, then the answer to your question is: not really. You *can* create games in JavaScript that don't use the HTML5 canvas functionality, they're just probably not going to display any moving 2D sprites (or display them well). They would be more like games that use standard HTML4 elements as your display -- you could certainly make a choose-your-own-adventure style game in JS.
Logged

Sanojian
Level 1
*



View Profile
« Reply #9 on: May 25, 2010, 12:14:18 PM »

Quote
But if what you were asking is about gaming based around JavaScript, then the answer to your question is: not really. You *can* create games in JavaScript that don't use the HTML5 canvas functionality, they're just probably not going to display any moving 2D sprites (or display them well). They would be more like games that use standard HTML4 elements as your display -- you could certainly make a choose-your-own-adventure style game in JS.

For an example of a game written in HTML4 (also an example of some of the limitations) take a look at my Assemblee entree, tinyMMO

It was an attempt to write a MMO client in HTML4.  Most users had terrible performance depending on their OS/browser combination but not everyone did.

Logged

namre
Guest
« Reply #10 on: June 03, 2010, 09:28:20 AM »

Saw this Akihabara before and it was really promising. I don't to use it yet though since I'm still learning the ropes in canvas and html5, so it's better to me to handcode everything myself.
Logged
dariusk
Level 0
***



View Profile WWW
« Reply #11 on: June 15, 2010, 12:45:41 PM »

Just updated with Part 3, maps and collision: http://bostongamejams.com/akihabara-tutorials/akihabara-tutorial-part-3-basic-mapping/
Logged

dariusk
Level 0
***



View Profile WWW
« Reply #12 on: June 28, 2010, 07:31:22 AM »

Part 4 is up, scrolling cameras: http://bostongamejams.com/akihabara-tutorials/akihabara-tutorial-part-4-scrolling-map/
Logged

davidp
Level 6
*



View Profile WWW
« Reply #13 on: July 25, 2010, 10:56:16 AM »

this certainly looks interesting. if i wasn't working on something at the moment i'd even dive into this... i'm bookmarking it for now.

good work so far Smiley
Logged

dariusk
Level 0
***



View Profile WWW
« Reply #14 on: August 20, 2010, 06:32:38 PM »

Hey all, just updated with a bunch more tutorials:


Also: I've been writing up API documentation! It's not 100% there, but there's a lot of stuff covered: http://tools.bostongamejams.com/akihabara/docs/
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic