Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-09-2004, 05:37 PM   PM User | #1
gunder
New Coder

 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
gunder is an unknown quantity at this point
is Javascript capable of this?

Hello everyone, this is my first post and I have a question that I hope you experienced javascript people can answer. Now, I'm not new to programming so I'm not going to have any problems picking up javascript. I just need to know if it's capable of what I want to do. I want to make a small roguelike game, here is one that is written in java incase you don't want to download one, I found a small one written in javascript but it doesn't do any dungeon generation or anything but it seemed to me like it could work. I also want to make a strategy game using a hex map, nothing too complex. Eventually these projects will be moved over to java but is javascript capable of what I want to do or am I wasting my time? The reason I want to do it in javascript is that I'm running into a lot of free time at work and would like to do some programming, I'm not allowed to install anything on the computers though so javascript is my only option. So what do you guys think, is it doable or would it be a waste of time?

-gunder
gunder is offline   Reply With Quote
Old 12-09-2004, 05:52 PM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
You can do it with out any major problems, you are just looking at capturing key presses and showing data based on some multi-demensional arrays.

I have developed the following games in JavaScript:

http://www10.brinkster.com/a1ien51/othello/
http://www10.brinkster.com/a1ien51/blockgang/
http://www10.brinkster.com/a1ien51/card/ (problem with Database)

I have some others too.

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Old 12-09-2004, 05:53 PM   PM User | #3
fci
Senior Coder

 
Join Date: Aug 2004
Location: Twin Cities
Posts: 1,345
Thanks: 0
Thanked 0 Times in 0 Posts
fci is an unknown quantity at this point
I would think it's possible
fci is offline   Reply With Quote
Old 12-09-2004, 07:28 PM   PM User | #4
gunder
New Coder

 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
gunder is an unknown quantity at this point
Well thanks for the fast reply! I guess I'll start dinking around with it. The best tut I've found so far is this one. Does anyone have any other suggestions?

Thanks,
gunder
gunder is offline   Reply With Quote
Old 12-10-2004, 09:01 AM   PM User | #5
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
try this tutorial also:

http://www.howtocreate.co.uk/tutoria...TOshow=allshow
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote
Old 12-14-2004, 09:49 PM   PM User | #6
gunder
New Coder

 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
gunder is an unknown quantity at this point
Well here is the javascript roguelike example I was talking about in my first post. I've looked through the code and I can follow it all pretty easily. I'm just wondering if there is a better way to do it? The way this person does it is he reprints the whole screen every time something happens. While that works in this particular instance, if there was larger playing area it would take too long. Is there any way to only print to certain x and y coordanites in javascript. I know it can be done if I was playing around with graphics but for this I would like to keep it all text based. Can anyone point me in the right direction?
gunder is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:23 PM.


Advertisement
Log in to turn off these ads.