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

Diogo Abreu

  • Content count

  • Joined

  • Last visited

Community Reputation

143 Neutral

About Diogo Abreu

  • Rank
  1. Unity

        Yes, that I do know, as I have learnt some stuff about Unity in the past, thank you. But what do you mean with "high-quality code" exactly?
  2. Unity

    Thank you all so much for your replies. So if I wish to build it on Unity, you're telling me that there is no problem to build it for mobile devices and it is reliable? I don't wanna make the mistake of realizing halfway through that I need to make it in Javascript or another language to make it efficient
  3. Unity

    Convert what? I've used Unity for a couple years now at work and nothing really rings a bell...   Maybe converting is not the expression I was looking for but I've heard that the user may need some Unity plugin to be able to play the game in their mobile device.
  4. Unity

      Well Javascript actually, there is no Java in Unity3D, and it depends of the 2D game you have. If you can roll with C++ maybe better to go with a simpler route.   Nono, what I meant was, I either use Java and its tools to develop or use Unity.
  5. Hey guys, I've decided to make some projects on mobile game development with a friend, we are both very experienced in programming overall, and I have some experience in game development with C++ and Unity. From what we have seen, we can either program it in Java or C# with Unity, the problem is I HATE Java.   So my question to you is, am i really doomed to swallow my hatred and work with Java or is Unity 2D really worth it? I've heard that you have to convert it to make it operational and that may lead to slower and heavier programs etc. Thank you very much in advance.
  6. hm no i stil haven't used vectors for anything, up until now i can succesfully write all the variables and array to the file, and trying to see how to read them back. (looking again to the vectors i understand what you're doing, although i wanna assign those values into my own variables, maybe your code can do that and i'm just too noob to realise)    this is my writing code: ofstream myfile("data\\checkpoint01.txt", ios::trunc); if(myfile.is_open()){ myfile << playerInfo[0] << endl; myfile << playerLocation << endl; myfile << roleNr << endl; myfile << role << endl; myfile << playerName << endl; myfile << gold << endl; myfile << playerHealth << endl; myfile << playerStrength << endl; myfile << playerAgilty << endl; myfile << playerEndurance << endl; myfile << playerMaxHealth << endl; myfile << playerItemCount << endl; for(int i=0; i<playerItemCount; ++i){ for(int j=0; j<3; ++j){ myfile << playerItems[i][j] << endl; } } for(int i=0; i<3; ++i){ for(int j=0; j<3; ++j){ if(playerEquippedItems[i][0]!=0){ myfile << playerEquippedItems[i][j] << endl; } } } myfile << questUpdate1 << endl; myfile.close(); } else cout << "Unable to open quest file.\n"; i hope this answers to all that you asked
  7. well i seem to understand that code, but how do i assign those values into my variables? and how do i do it if it's, for example, an array? because my method of writing to the file atm is 1 line per value, so if i have like playerItem[1][0] = 0 playerItem[1][1] = 2 playerItem[1][2] = 3   it writes like   o 2 3
  8.   well i'm using the "standard" way of I/O files, like this   string line; ifstream myfile("data\\checkpoint01.txt"); if(myfile.is_open()){ while(myfile.good()){ getline(myfile,line); cout << line << endl; } myfile.close(); but this clearly doesn't fit for me because it writes everything in the file, and i want it to grab the first line, assign it to a variable, second line same thing, grab the next 4 lines and assign it to an array and so on
  9. i still don't know how to read the data from the text file and give those values to the differente variables, can anyone give me a hint?
  10. i'll just change it then, it's not too late...
  11. thank you very much, this helps a lot, and when i'm using it in the game itself, i just declare them as i would do with a regular array right?
  12. it's just that, not defining the size spares me from the work of changing its size everytime I add a new enemy name for example but if i don't have any option i guess i'll change it..
  13. Hey guys, I'm doing a Text-based RPG game and it will include some checkpoints, on those checkpoints the game will save the progress, so I need to write all my variables to a text file and then read them all when the player loads the game. Some of my variables, like enemyNames, dont have any determined size, they're like this: "int enemyNames[ ];" So how do I write an array to a text file without determining a size? And how do I read them when the player loads the game? Thank you so much for your help.
  14. never heard of it, what is it?
  15. @AllEightUp the problem is that I want something drawed like in my example, not just with symbols like x's and o's, if I understood correctly what you were trying to say.   @ViX3LG0N that helped a bit, I would like to do it just with the SDL drawing library because I'm trying to learn SDL (and by trying I mean I nearly started) and learning even another "language" would be even more confusing for me. But that example you gave me left me a bit lost there ;D