• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
mystd

Creating a boardgame with html5

15 posts in this topic

I've made a boardgame couple of years ago and since html5 is pretty much the web game plattform of the future, I've decided to make it into a browsergame. Im fammilar with html and know how to use loops and arrays etc. but Im very n00b at game dev. I've tried to make some simple games with java last year, read some basics and hacked some code together, but I encountered too many problems and gave up. Hopefully Ill be able to do it with html5 and js this time. There is some much stuff on html5 coding that I dont know where to start, best would be a tutorial that goes step by step trough the process. But I've only found tutorials for action games, none for turnbased multiplayer games. Would be great if someone could direct me to one. Then there are many tools and engines and I dont know which I should choose or if I sould code it without.
What I need is multiplayer, graphics will be 2D, drag & drop, scrolling and zooming. Im gratefull for any tips you have.
0

Share this post


Link to post
Share on other sites
[quote name='mystd' timestamp='1343328297' post='4963396']
But I've only found tutorials for action games, none for turnbased multiplayer games.
[/quote]

It may be that the tutorial for action games gives you exactly the same information you want for turned based games (except possibly lower requirements on FPS). If not, please elaborate a little on what your requirements are.
0

Share this post


Link to post
Share on other sites
I currently dont need any animations, Ill add that later on if needed, lots of work animating. If it gets popular, case I can port it from paper to js, Ill make it 3D anyway. It dosnt even need the canvas but it would be bad if I made it without and wanted to add animations later. Ill start with autoresizing the canvas to the browser and fullscreen. Then make a grid to place jpgs in and add scrolling and zooming. After that Ill start building the gameloop. The Board (map) is variable in hight an size, cards are always added at another card, creating a labyrinth, thats why I need scrolling and zooming. The game is played with a master controlling the placement of the map cards monsters etc. and the other players try to survive in it. I already had lots of fun playing it with my friends but I failed finding a publisher for it, so Ive decided to make it a free online game. My programming skills are hacking stuff together I find to understand how it works. I've found some tut with jquery but I'd rather use a good and easy game dev library. I've found this: [url="http://webinsightlab.com/technology/15-best-html5-game-engines/"]http://webinsightlab...5-game-engines/[/url] but I have no Idea which fits my needs best. Currently Im searching everything I need as tutorial and I'll hack all the stuff from the tuts together, but Im still missing multiplayer tut and a boardgame sc I can learn from. Also since I like open source and my game will be anyway I prefer open source engins/libraries. But if they are to hard to use I'll have to switch to a commercial one. Edited by mystd
0

Share this post


Link to post
Share on other sites
I just finished writing up [url="http://www.gamefromscratch.com/post/2012/07/25/A-simple-JavaScript-app-using-Node-cocos2D-YUI-and-Heroku.aspx"]a tutorial series of sorts[/url], about an *extremely* simple web hosted JavaScript game I wrote to help my daughter. That series combined with my [url="http://www.gamefromscratch.com/page/Cocos2D-HTML-5-Tutorial-Series-table-of-contents.aspx"]cocos2D series[/url] would probably cover about everything you need to know, except of course, how to program in HTML/Javascript.
1

Share this post


Link to post
Share on other sites
Thanks Ill take a look at it. I would love to code for real but I've already thrown the towel with c++ and java. My frustration tolerance is a bit low, I really hope I'll work out with js now.

All 4 links redirekt to http://www.gamefromscratch.com/post/2012/07/13/JavaScript-Toddler-Game-Part-1-Hosting-a-cocos2D-app-in-Nodejs.aspx you should fix that ^^ Edited by mystd
1

Share this post


Link to post
Share on other sites
I want to use text files for easy balancing and customization. As example a creature would have a text file where all the parts are written in the imgs used hitpoints etc.would that make the game load very slow if I implemented file I/O like that for every object in the game? That way it would be very flexible and that is what I want or is there better way?
0

Share this post


Link to post
Share on other sites
Using text files for config in web games is common enough, and can be optimized quite heavily. Generally you just need to load the file once, so speed is a non-factor. Look into JSON, that is your most likely solution.
1

Share this post


Link to post
Share on other sites
[quote name='mystd' timestamp='1343657350' post='4964493']
Well one config file is a bit different than >50 text files.
[/quote]

If they are loaded once, not really.
0

Share this post


Link to post
Share on other sites
Good to know thanks.

I'm thinking about making the game 3D right off the bat, but my geometry is pretty rusty and wasn't the best anyway. I imagine it like just adding a z axis to everything, does it matter a lot coding wise, if I use cocos3D or glge? 3D models and animation or drawing 2D animation isn't the problem I know how to use blender, photoshop and co., my coding is the problematic part. Im also thinking of using a 3D engine but making the game 2D so in case I want to make it 3D I'll have it easier. Im still not sure if I should use cocos2D - 3D there are not much demos for it and the ones I used had performance issues. Edited by mystd
0

Share this post


Link to post
Share on other sites
I've decided to go 2D better some nice 2D graphics than low poly 3D.

Does cocos2D work well with an editor like tiled? ([url="http://www.mapeditor.org"]http://www.mapeditor.org[/url])

I'm currently making a list pros and cons of all the engines I've found, Ill decide that way which one Ill use:

Cocos2D Pros: Free, Large community with lots of tutorials, has been around for a while
Impact: Pros: Editor, bunch of tutorials Cons: 100$
Construct 2: Pros: Almost no coding needed, lots of tutorials, price is 0 to way too much Cons: My coding will probably stay lousy
Isogenic engine: Pros: Intergrated multiplayer, built in mmo featue, Cons: very expensive, community is small
melon.js: Pros: free, uses tiled as map editor

I'm really having a hard time to choosing one...


Btw. The performance issue was mozillas fault not cocos. Edited by mystd
0

Share this post


Link to post
Share on other sites
I've decided to go with the impact engine since the community seems to be the biggest.
0

Share this post


Link to post
Share on other sites
I'm thinking of using dynamic lights instead of drawing light effects into the sprite sheets. Is that possible without webGL and would that be overkill for smartphones?
0

Share this post


Link to post
Share on other sites
Without webGL it will be VERY hard and would probably make it un-runnable on smartphones, it would probably lag a fair bit. With WebGL all sorts of stuff becomes possible but very few browser support it (and no smartphone browsers that I know of)

EDIT:
Firefox, chrome, safari (on OSX snow leopard and above only, off by default) and opera are the only desktop browsers supporting it.

Nokia N900, Blackberry PlayBook, Unstable builds of Firefox for Mobile and the Android version of Opera Mobile also support it. Edited by 6677
0

Share this post


Link to post
Share on other sites
I see at least its possible. It's gonna take while until the game is in a state that it can be played anyways, until then hopefully browsers will support it better. Ill make the graphic contend with dynamic light in mind then. Thx
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0