• 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
Greenhouse

Have an idea for board game but don't know to implement it. Need help!

10 posts in this topic

Hi to everybody!

This is my first topic.

 

I'm currently at the very beginning of game development.

With almost 0% experience.

Have some basic in C/C++ and also a little bit in WPF C#.

Mainly working with mainframe computers, that is pretty old technologies there... COBOL... smile.png)

 

Now, what I want to start is a board game (for mobile devices).

I have an idea for what the game should be and how it should be played.

Basically, the board will be a grid with cells that should respond to player input.

grid example: https://dl.dropboxusercontent.com/u/8655042/grid.bmp

when the player hold finger on cell (hover mouse), cell's background need to be changed to indicate this cell:

(touchDown at cell 1,1)

https://dl.dropboxusercontent.com/u/8655042/grid_touch_down_at_cell_1-1.bmp

when the player will mark for example 4 cells, the polygon will be created by connecting cell's dots and the resulting area will be filled by some color:

https://dl.dropboxusercontent.com/u/8655042/grid_base.bmp

 

Can you please advise me a way to implement this functionality and the framework that will fit it most (targeting to mobile).

 

p.s. don't have an option to insert images directly into the topic, so i post them as a links.

0

Share this post


Link to post
Share on other sites
What you plan to do is so simple that any platform is more than adequate; I'd recommend Java for Android phones (learning Java should be a good idea in any case, development tools are good and free, and the Android platform seems healthy).
If you have difficulties, start from basic exercises (e.g. running a trivial empty application, drawing a line or a polygon, processing mouse or touch input, etc.) and take it easy.
0

Share this post


Link to post
Share on other sites

Java is fine, but I would prefer to stick with C family (with some Lua scripting as additional option) if it's possible.

I want to begin with simple task, as you said (although it's not that simple to me:) and will add more complexity on the way.

 

Basically what I want is a grid of cells (each cell have a dot in the middle and a two states: 1-marked by user 2-free) then according to the cell state, if it's marked, then cell's neighbors states also checked and finally marked cell's dots connected and the resulted polygon filled with some color.

 

I want to grasp how it's should be done, language and framework agnostic?

 

1. Draw the grid, by drawing lines.

2. Draw a cycle in the middle of each cell

3. Player input event handler, player mark a cell, touch at position (x,y) which cell is selected?

4. Check neighbors cells states

5. Connect cells and fill polygon

 

huh.png

Edited by Greenhouse
1

Share this post


Link to post
Share on other sites
If your dead set on the c family, you may want to look at Monogame, it's based in C# and you can port that to iOS or Android with their development kits. Although, I would really look into HTML5 and Javascript as thats the upcoming mobile platforms.
0

Share this post


Link to post
Share on other sites

I also think that board games and that kind of stuff are best implemented with js and html. 

I gave it a try, but there so many different frameworks and I just don't like coding in js. 

 

But I also would like to talk about the way to implement the idea.

 

Is this correct:

1. Draw the grid, by drawing lines.
2. Draw a cycle in the middle of each cell
3. Player input event handler, player mark a cell, touch at position (x,y) which cell is selected?
4. Check neighbors cells states
5. Connect cells and fill polygon

 

p.s. and not to make another topic: c vs java vs js...

0

Share this post


Link to post
Share on other sites

Or maybe instead of drawing the board line by line I should use tiles composition instead?

And each tile will have a touch event handler?

But then how can I paint on them?

 

unsure.png

0

Share this post


Link to post
Share on other sites

You can paint anything on tiles, it is like different layer. JavaScript is pretty good for such a game, and works on browsers and tablets. You can take any JS canvas engine: http://www.gamvas.com

http://www.impactjs.com

Or any from the list: http://www.html5gamedevelopment.com/html5-engines

 

Or You could learn Java or C++, however JavaScript is fastest way to learn game programming IMHO.

0

Share this post


Link to post
Share on other sites

Bogdanas, I also think that js is optimal for that kind of games (and not only), but it's not my cup of tea :(

 

What about cocos2d-x? I think it should be ok too? :)

0

Share this post


Link to post
Share on other sites

You can paint anything on tiles, it is like different layer.

Seems like this can solve a problem smile.png

 

Layer1(bottom): Will hold a tiles board, that is basically will serve as a background, like so:  https://dl.dropboxusercontent.com/u/8655042/grid.bmp

but I still need to indicate which tile the player's finger on, like so: https://dl.dropboxusercontent.com/u/8655042/grid_touch_down_at_cell_1-1.bmp

so, to solve this I need a tiles board where each tile will have a touch event handler?

Layer2(top): Will be used for drawings on top of a tile board (layer1), like so: https://dl.dropboxusercontent.com/u/8655042/grid_base.bmp

 

Am I correct? ph34r.png

Edited by Greenhouse
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