• 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
  • entries
    8
  • comments
    11
  • views
    17794

Musings on Data Configs

Sign in to follow this  
Followers 0
NetGnome

976 views

Haven't done too much over this week. Mainly just working on concepts surrounding creature definition files and ideas on how i'll make map configs work.

Here is how the creatures.v file is forming up so far:[code=js:0]{ "creature_defs":[ { "name":"BAT", "character_def":"BAT", "behavior_def":"DEFAULT_ENEMY", "acb_def":"DEFAULT_ENEMY", "skill_level":0, "information":{ "name":"Bat", "general_group":"BAT", "variation_group":"NONE", "unique_group":"NONE" }, "interactions_def":"DEFAULT_ENEMY", "equipment":{ "weapon_def":"BAT_SONIC", "armor_def":"BAT_ARMOR" }, "knowledges":{ }, "statistics":{ }, "health":{ }, "skills":{ }, "factions":{ } } ]}

not much to see yet, but it captures most of the non derived/generated component definitions.

The maps are a different affair.

some early configs just for generation parameters looked like so:[code=js:0]{ "WORLD" :{ "x" : 0, "y" : 0, "dx" : 854, "dy" : 480, "z" : 5.0, "xsize" : 854, "ysize" : 480, "seed" : 42 }, "CAVE" :{ "x" : 100, "y" : 100, "prob" : 45, "cell_op_spec" : true, "iter" : 50000, "neighbors" : 4, "seed" : 42 } }


but those just tell the generation routines what to use as defaults. So i thought of how i may start clustering like-minded information together and came up with my maps.v[code=js:0]{ "map_types":{ "CAVE": 0, "DUNGEON": 1, "TOWN": 2, "CITY": 3, "TOWER": 4, "OUTPOST": 5, "FORT": 6, "NEXUS": 7, "WORLD": 8, "WILDERNESS": 9 }, "map_defs":[ {"name":"NONE", "id":0}, {"name":"CAVE", "id":1} ], "map_params":{ "WORLD" :{ "world_params_x" : 0, "world_params_y" : 0, "world_params_dx" : 854, "world_params_dy" : 480, "world_params_z" : 5.0, "world_params_xsize" : 854, "world_params_ysize" : 480, "world_params_seed" : null }, "CAVE" :{ "cave_params_x" : 100, "cave_params_y" : 100, "cave_params_prob" : 45, "cave_params_cell_op_spec" : true, "cave_params_iter" : 50000, "cave_params_neighbors" : 4, "cave_params_seed" : null } }}
here you can see i took the params file and just shoved it in an object def location. I also think the config defs like "cave_params_cell_op_spec" need to be shortened, but we'll see if i end up calling it enough times for it to matter. The new sections are just a listing of the types of maps i want to players to know they can generate and a definitions section where the maps will be defined. What i'm thinking of doing is having some default, yet tweakable parameters for each map definition, maybe not for the world, but definitely for the other maps. The idea would be that the map would expect one-to-many terrain definitions to be set in certain list definitions in the json, it would then choose them during run-time to set the tiles and data structures. so you would have definitions like:[code=js:0]"walls":[ "TERRAIN_GRANITE", "TERRAIN_CARVED_STONE", "TERRAIN_STONE_WALL_TORCH"],"floors":[ "TERRAIN_STONE_FLOOR", "TERRAIN_TILED_STONE", "TERRAIN_CRACKED_STONE_FLOOR"]
and each of those definitions would be defined in the terrain.v config file like so:[code=js:0]{ "name" : "BASE_LAND", "id" : 1, "texture" : "terrain\\default", "texture_offset" : [ 0, 0 ], "color" : [ 255, 255, 255 ], "passible" : true, "effect" : "NONE", "type" : "FLOOR"}

This way the game would know to randomly select "floor" terrain during generation that is defined in its data structures using the specs defined in the terrain.v files. To increase variety i may add some additional info like probability of occurrence based on either pure randomness or maybe depth of the player. So you start out in more wilderness-y like maps then move into caves then move into small dungeons then into underground cities, etc. Not sure how i want to approach that or if it should just be added to my back-log of things to do after alpha 2 is complete.

Anyway, I think that'll give me a fun and flexible map system to work with.

That's all for now!

0
Sign in to follow this  
Followers 0


0 Comments


There are no comments to display.

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