RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic Goto page 1, 2  Next 
View previous topic - View next topic  
Author Message
XMark
Guitar playin' black mage


Joined: 30 May 2002
Posts: 870
Location: New Westminster, BC, Canada

PostPosted: Tue Apr 06, 2010 3:35 am    Post subject: Sup Dudes [quote]

Probably been at least a couple years since I last posted around here...

I'm thinking of revisiting my stalled ARC Legacy project. And the idea that's been blooming in my head is to re-do the engine using HTML5 Canvas with Javascript. The capability is there (I've seen samples of Canvas games that run at a good speed with sprite graphics), and that combined with using PHP/MySQL for the game world data, and using JavaScript itself as the scripting engine, makes me think that this could be quite feasible.

I'm looking up tutorials on how to work with Canvas. I'm going to try to get a proof-of-concept up and running, like a basic walking engine. If I can do that, the rest of the project should follow shortly.

Hopefully this isn't just another short-lived flash of inspiration. I really do want to finish this game off some day, even if it ends up taking longer than Duke Nukem Forever :)
_________________
Mark Hall
Abstract Productions
I PLAYS THE MUSIC THAT MAKES THE PEOPLES FALL DOWN!
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Tue Apr 06, 2010 1:52 pm    Post subject: [quote]

Sounds like an awesome idea.
Back to top  
Verious
Mage


Joined: 06 Jan 2004
Posts: 409
Location: Online

PostPosted: Tue Apr 06, 2010 2:41 pm    Post subject: [quote]

Sounds good. I look forward to playing it.
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Tue Apr 06, 2010 3:02 pm    Post subject: [quote]

I heard recently that they did Quake 2 in canvas, so this should be definitely doable.

It also makes me feel a little more legitimate in moving forward with my own engine on that platform.

Something you need to know about canvas: every pixel has to be drawn at a half point. A pixel at 0,0 should be drawn at 0.5, 0.5; a pixel at 1, 1 should be drawn at 1.5, 1.5; etc. This because every line is drawn from the center of a point, rather than the edge nearest the origin. It takes some getting used to.
Back to top  
Terry
Spectral Form


Joined: 16 Jun 2002
Posts: 798
Location: Dublin, Ireland

PostPosted: Tue Apr 06, 2010 4:30 pm    Post subject: [quote]

Heya! Always good to see you back again :)

Are you sure about using Canvas/Javascript, though? Flash seems like a far more sensible choice these days, and would be a lot less work. But whatever inspires you, I guess.
_________________
http://www.distractionware.com
Back to top  
XMark
Guitar playin' black mage


Joined: 30 May 2002
Posts: 870
Location: New Westminster, BC, Canada

PostPosted: Tue Apr 06, 2010 5:35 pm    Post subject: [quote]

Well, developing in Flash requires using Adobe's software, while developing in JS/Canvas can be done entirely with notepad and a browser. (in my case, notepad++)
_________________
Mark Hall
Abstract Productions
I PLAYS THE MUSIC THAT MAKES THE PEOPLES FALL DOWN!
Back to top  
Terry
Spectral Form


Joined: 16 Jun 2002
Posts: 798
Location: Dublin, Ireland

PostPosted: Tue Apr 06, 2010 7:12 pm    Post subject: [quote]

That's not true, actually...

But whatever works for you :) I just hope you don't get hung up on the engine too much! I'm looking forward to seeing some real content!
_________________
http://www.distractionware.com
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Tue Apr 06, 2010 10:12 pm    Post subject: [quote]

JS will give you fits.

Although, now that I think about it, ActionScript is a variant of JS, so you probably know that already.

But JS is the most error-prone language there is. I spend a week making the draft of a program and a month debugging it.
Back to top  
XMark
Guitar playin' black mage


Joined: 30 May 2002
Posts: 870
Location: New Westminster, BC, Canada

PostPosted: Wed Apr 07, 2010 4:35 pm    Post subject: [quote]

Yeah, I've got a lot of experience dealing with JS frustrations due to my job as a web programmer. So I think I'm ready :)

Luckily, since only newer browsers have support for HTML 5, I don't have to worry about making the JS compatible with older browsers.

Here's my first test of HTML 5. Use arrow keys to move the square around. The walls have a repulsive bounce effect.

http://abstract-productions.net/game/test.html
_________________
Mark Hall
Abstract Productions
I PLAYS THE MUSIC THAT MAKES THE PEOPLES FALL DOWN!
Back to top  
js71
Wandering DJ


Joined: 22 Nov 2002
Posts: 815

PostPosted: Wed Apr 07, 2010 5:59 pm    Post subject: [quote]

Cool! Don't hesitate to rope me in again to finish that art I did for you :)

~Josiah
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Wed Apr 07, 2010 11:16 pm    Post subject: [quote]

I liked that. It was fun.

Would be neat if somebody would make a game lib in HTML 5.
Back to top  
XMark
Guitar playin' black mage


Joined: 30 May 2002
Posts: 870
Location: New Westminster, BC, Canada

PostPosted: Thu Apr 08, 2010 9:39 am    Post subject: [quote]

I think I'm getting a hang of this...
http://abstract-productions.net/game/shooter.html
_________________
Mark Hall
Abstract Productions
I PLAYS THE MUSIC THAT MAKES THE PEOPLES FALL DOWN!
Back to top  
tcaudilllg
Dragonmaster


Joined: 20 Jun 2002
Posts: 1731
Location: Cedar Bluff, VA

PostPosted: Fri Apr 09, 2010 5:20 pm    Post subject: [quote]

That's one really tough (first) boss.

Last edited by tcaudilllg on Sat Apr 10, 2010 3:41 pm; edited 1 time in total
Back to top  
Ninkazu
Demon Hunter


Joined: 08 Aug 2002
Posts: 945
Location: Location:

PostPosted: Sat Apr 10, 2010 1:56 pm    Post subject: [quote]

Got to wave 3 boss. Fun game.
Back to top  
Jinroh
Scholar


Joined: 30 May 2008
Posts: 173
Location: U.S.A.

PostPosted: Mon Apr 12, 2010 2:05 pm    Post subject: [quote]

Wow great games! ^_^ I got to Wave 2 boss and died. T_T

I started my web games in JavaScript too.

I think a new Canvas game would be cool, since you don't wanna move to Flash. I move from JS games to Flash from the FlexSDK using that and notepad I can use ActionScripts to make a game like my School Maze one.

Keep us posted on more development! ^_^
_________________
Mao Mao Games
The wolf and his mate howl, taking solace in the silver moon. Pressing ever foreward to see what the future holds.
Back to top  
Post new topic Reply to topic Page 1 of 2 All times are GMT
Goto page 1, 2  Next 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum