Lesan

Members
  • Content count

    260
  • Joined

  • Last visited

Community Reputation

440 Neutral

About Lesan

  • Rank
    Member
  1. I and my friend have just released a game! In the Deadlock Empire, the player assumes the role of a computer scheduler, and in each level receives a multithreaded program that he must break, for example by triggering a deadlock or putting two threads in a critical section at the same time. Play online: https://deadlockempire.github.io/ The game won the hackCambridge hackathon, see our demonstration on YouTube. Screenshots:
  2. You Don't Need to Hide Your Source Code

    DRM does work. Sure, many games will be cracked; but if the developers can a few weeks with DRM intact, they'll get a lot of money.   This ("Someone is just going to easily make their own game data and outcompete me.") is a very valid counter-argument. It's akin to modding, except that you can sell and market the "mods" as an original game, not requiring the original.
  3. If you look at the link in my signature, you'll see a long since abandoned game where I actually used this very system for determing line of sight and line of effect. In my Sacculus The Wargame turn-based strategy, I also used Bresenham for field of vision, but I did not check individual corners, only entire tiles. It is not computationally expensive because you only move unit at a time and you need not check others (because their positions did not change).
  4. In Dungeons & Dragons, the attacker has to prove he has a clear shot.   To do this, he can choose any one corner of his square and must show that lines from that corner to all corners of the defender's square are clear of obstacles.   It's a pen-and-paper game so the players have to do all the checks. In a computer, you would most likely want to check all four corners of attacker's square with four corners of the defender's square (16 checks total) if you wanted to follow DnD's rules. But you don't have to.
  5. Name for slot machine game

      SD card Slots... heh  . Clever.
  6. In several games, I've noticed that when you are asked "Do you really want to quit game?", the "Yes" button is to the right, while "No" is to the left. Obviously, we are used to having "Yes" to the left. Why, then, do the game developers do this? Do they really believe we clicked "Quit game" and then the confirmation button by accident? 
  7. That's it. Thank you very much.
  8. Over ten years ago, I played a 3D strategy game set on various space stations. At each station, you had several levels, one of which was a biosphere level full of green. Your task was to build booths and stalls for tourists or visitors to use. They would give you money in return. You could also use your mouse to grab trash and throw it manually in the garbage bins, unless you bought an automated cleaner.   If any of you recognize, let me know the name. Thank you.
  9. Hypothetically, if someone invented a way to physically prevent PC applications from being cracked so no pirated copies could be made, do you think it would be a big change or that it wouldn't matter much? Probably less people would play computer games, but would more or less of them be produced?
  10. Sorry, my mistake. It was a simple error - my City class did not have a constructor without parameters so it didn't work...
  11. In C#, this code doesn't work, as the list is not serializable. What can I do to easily save "Planet" as an XML file? [CODE] [Serializable] class Planet { string Name; List<City> Cities; } [Serializable] class City { string Name; [...] } [/CODE] I will probably add many proprieties to both class during development and I don't want to change my serialization code every time.
  12. What I do is that I have all objects (player, enemies, projectiles) in a single array. They are all derived from a base class "Agent" and have a property Type, which says if they are creature or projectile. So, if you had an explosion damaging only enemies, you could have: [CODE] explode() { foreach (Agent a in AllAgents) if (a.Type == Enemy) a.Die(); } [/CODE]
  13. Hello. I’ve recently completed a playable demo of a 3D RPG game. There are two locations, three quests, some items, dialogues, monsters and chests. There’s an in-game feedback form if would send me some feedback. Here's the download link: [url="http://www.wikifortio.com/815870/Streamstep%20Setup.exe"]http://www.wikifortio.com/815870/Streamstep%20Setup.exe[/url] This is an in-game video: [media]http://www.youtube.com/watch?v=gpSii-efCmc[/media] And some screenshots: [img]http://petrhudecek.ic.cz/images/SS_lake.jpg[/img] [img]http://petrhudecek.ic.cz/images/SS_town.jpg[/img] [img]http://petrhudecek.ic.cz/images/SS_riddlechest.jpg[/img] [url="http://petrhudecek.ic.cz/index.php?page=streamstep&lang=en"]My website with more screenshots[/url]
  14. I draw a lot of 3D boxes on the screen in XNA. Does it consume more (significantly more) CPU/GPU resources if the textures are 256x256 per side rather than, for example, 8x8? Or perhaps it doesn't matter at all, as scaling an 8x8 texture would take more resources?