School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,455 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,576 people online right now. Registration is fast and FREE... Join Now!




Yet another thread on how to start.... but with Javascript

 

Yet another thread on how to start.... but with Javascript

Axiom

26 Jun, 2009 - 09:04 AM
Post #1

New D.I.C Head
*

Joined: 3 Apr, 2009
Posts: 17

Okay so i started learning Javascript and the first though that crossed my mind was that I could make a game with this!

So I trudged over to these forums and read all the interesting stuff pinned at the top.

Where I am at now (isnt this exciting to read so far?) is I am looking to make a simple game like alchemy, but I am not sure how to start even something like this! I started tinkering around writing simple algorithms in my notebook but how to implement? hmmmm....


Is there a book for coding simple JS games or something along the lines?


Thanks for any input.

User is offlineProfile CardPM
+Quote Post


modi123_1

RE: Yet Another Thread On How To Start.... But With Javascript

26 Jun, 2009 - 09:49 AM
Post #2

Suiter #2
Group Icon

Joined: 12 Jun, 2008
Posts: 1,760



Thanked: 72 times
Dream Kudos: 150
My Contributions
Here's a nice link to help:

http://lmgtfy.com/?q=javascript+game+tutorial

Specifically the #1 suggestion An Introduction to Game Programming with JavaScript

I have no idea what alchemy is outside of my home science set making gold from lead so no dice there.

You would approach making a game in javascript like you would approach making a game in any language - break it down.

1. How do you display graphics?
2. How do you deal with user input?
3. How do you keep data current for the user?
4. How do you keep a frame rate acceptable (assuming there is a framerate...)?
5. How do you structure your classes so there is the user class, enemy class, etc?
6. World / level / puzzel development?
7. Animation?

Just think about what parts make up a video game and start working on those small chunks eventually piecing them all together to make one complete game.

This post has been edited by modi123_1: 26 Jun, 2009 - 09:49 AM
User is offlineProfile CardPM
+Quote Post

Axiom

RE: Yet Another Thread On How To Start.... But With Javascript

30 Jun, 2009 - 02:12 PM
Post #3

New D.I.C Head
*

Joined: 3 Apr, 2009
Posts: 17

Thanks much... I think I just need to get a little more familiar with JavaScript before i tackle something like this since I was not certain on how to use even handlers properly.

Thanks again




QUOTE(modi123_1 @ 26 Jun, 2009 - 09:49 AM) *

Here's a nice link to help:

http://lmgtfy.com/?q=javascript+game+tutorial

Specifically the #1 suggestion An Introduction to Game Programming with JavaScript

I have no idea what alchemy is outside of my home science set making gold from lead so no dice there.

You would approach making a game in javascript like you would approach making a game in any language - break it down.

1. How do you display graphics?
2. How do you deal with user input?
3. How do you keep data current for the user?
4. How do you keep a frame rate acceptable (assuming there is a framerate...)?
5. How do you structure your classes so there is the user class, enemy class, etc?
6. World / level / puzzel development?
7. Animation?

Just think about what parts make up a video game and start working on those small chunks eventually piecing them all together to make one complete game.


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 02:00AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month