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

Anthracis

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

296 Neutral

About Anthracis

  • Rank
    Newbie
  1. Yes you are absolutely right. I did not pay attention to the background color, else I should have seen that. I forgot to set the right coordinate of the content div to 0px. so the complete version should be : [CODE] <!DOCTYPE html> <head> <meta charset='UTF-8' /> <title>Test</title> <style type="text/css"> html, body { margin: 0; padding: 0; height: 100%; width: 100%; } #navbar { width: 100%; height: 30px; background-color: yellow; display: inline; top: 0; left: 0; position: absolute; } #wrapper { background-color: red; width: 100%; height: 100%; } #main-wrapper { background-color: blue; width: 100%; height: 100%; } #sidebar { background-color: orange; width: 32px; left:0px; display:inline; position:absolute; top:30px; bottom:0px; } #content { background-color: green; left: 32px; position:absolute; top:30px; bottom:0px; right:0px; } .clear { clear: both;} </style> </head> <body> <div id="wrapper"> <div id="navbar"></div> <div class="clear"></div> <div id="sidebar"></div> <div id="content"></div> </div> </body> </html> [/CODE] at least that works for me now.
  2. okay, that is different thing. I can reproduce that effect. I tried positioning the divs all absolute and came up with the following: [source lang="xml"]<!DOCTYPE html> <head> <meta charset='UTF-8' /> <title>Test</title> <style type="text/css"> html, body { margin: 0; padding: 0; height: 100%; width: 100%; } #navbar { width: 100%; height: 30px; background-color: yellow; display: inline; top: 0; left: 0; position: absolute; } #wrapper { background-color: red; width: 100%; height: 100%; } #main-wrapper { background-color: blue; width: 100%; height: 100%; } #sidebar { background-color: orange; width: 32px; left:0px; display:inline; position:absolute; top:30px; bottom:0px; } #content { background-color: green; left: 32px; position:absolute; top:30px; bottom:0px; } .clear { clear: both;} </style> </head> <body> <div id="wrapper"> <div id="navbar"></div> <div class="clear"></div> <div id="sidebar"></div> <div id="content"></div> </div> </body> </html>[/source] It seems to produce the right result in IE, FF and Chrome. Hope that helps
  3. [quote name='Mike_Stoddart' timestamp='1351162276' post='4993742'] Ok thanks. I don't have access to IE8 but I'll see if I can find someone who uses it. It doesn't work in Chrome either. [/quote] that is strange, I tried it in Chrome and for me it worked the way you described it should work. As I wrote in my previous post I was [b]not [/b]able to reproduce your issue. By the way I am using Chrome 22.0.1229.94 m
  4. Hallo, I have just tried the HTML code you posted in IE 8 and in Chrome and was not able to reproduce your issue. both bars just end with the end of the window. Not exceeding the height in any of those browsers. So that seems to be a firefox (as I guess from you using firebug) specific formatting issue. Unfortunately I have no firefox installed on my working machine to take a look at the effect there.
  5. Hi, the delegate type provides you with all the necessary information. Especially the "Method"-property is helpful for your need. Its "DeclaringType" gives you the type where your delegate function is defined and with the "Name"-Property you receive the name of the actual method. So your two methods could look like this: [source lang="csharp"] public static EaseCategory GetEaseCategory(EaseDelegate easeFunction) { if (easeFunction.Method.DeclaringType == typeof(Linear)) return EaseCategory.Linear; else if (easeFunction.Method.DeclaringType == typeof(Quadratic)) return EaseCategory.Quadratic; return EaseCategory.Sine; } public static EaseType GetEaseType(EaseDelegate easeFunction) { if (easeFunction.Method.Name == "EaseIn") return EaseType.EaseIn; else if (easeFunction.Method.Name == "EaseOut") return EaseType.EaseOut; return EaseType.EaseNone; } [/source] Hope this helps with your problem.
  6. [quote name='Mizu' timestamp='1348003512' post='4981421'] Now, someone with more knowledge of building xna projects for xbox could probably correct me here, but I noticed the Xenon project uses .NET v2.0. So while the xna assemblies are version 4, the rest of the .net assemblies are version 2.0, and in that version, the List<> doesn't have a the Find() function. That's Probably because the xbox 360 doesn't support anything higher than that version. So if you want the game to work on xbox, you will have to write the game using stuff that exists in .net 2.0 and below only. Someone please correct me if I'm wrong [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img] As a side note: it is interesting that linq works there, since it was introduced in .net 3.5 iirc, but looking at the assembly version says its also 2.0... and reading up a bit it seems like xbox supports it. [/quote] .net-Framework versions 2.0 to 3.5 use the runtime version 2.0. Features like Linq are only framework additions that are compiled to byte code running on a 2.0 runtime. With Frameword version 4.0 a new runtime was introduced. So assuming that the XBox uses a 2.0 runtime all features available up to Framework 3.5 should be available. Edit: reformulated the post