Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

April 22, 2009 12:13pm - patrick mullen - nickname: (saluk) - 4/5

Fun game! I found the controls a bit weird at first - having to click again on the unit to confirm, and having the move reset clicking elsewhere - but I got used to it. The fading effects are nice. It seems like a great start and a good engine. Too bad it's discontinued :(

shaun, try running it from the command line or from idle so that you can see (and post) the error message. If you right click on the .py file, you should be able to choose "edit with idle". Otherwise there is no way to determine what is going wrong.

March 18, 2009 3:35pm - Max Power - nickname: (paolo)

Your pygame version. pygame 1.8.1 should work. the last stable release is in svn (svn checkout http://dcr.googlecode.com/svn/trunk/ dcr-read-only), but on the download section of the googlecode page there are some other versions, but i stopped working on this game a while ago

March 16, 2009 12:42am - Shaun Reapswaal - nickname: (shaun)

It didn't work when I clicked on the run file. Some black coloured window opens and closes instantly. What could be the problem?

January 19, 2009 7:06pm - trubsee - nickname: (trubby)

I see you have fixed your code or somehow I downloaded the right version but I'm almost certain I've been downloading the same version. Anyway it works now.

January 19, 2009 6:28pm - trubsee - nickname: (trubby)

Ok Ive figured out the problem. You are importing Desc from each file with the following line:
exec "from %s import Desc"%(scen)
But scenario.py does not contain anything called Desc nor does therising.py and tutorial.py

January 17, 2009 11:27pm - trubsee - nickname: (trubby)

version 0.7 works but the next two both bring up an error when importing scenario from scenarios

January 13, 2009 12:30pm - Max Power - nickname: (paolo)

Any help is welcome! Write me an email dk@dcr.evil-monkey-in-my-closet.com

January 13, 2009 10:58am - Cristi Constantin - nickname: (prahaai)

I am looking at the new version. :)
In the main menus, you can add a >back> button for when you choose "new campaign".
And if there are no save games, you could make an empty screen, where you can see that there are no games to load. And the "back" button.
And when you lose the game, load the main menu instead of just silently exiting the game.
Mmmmm, can i join your project to communicate with you easier? I might be able to help. Who knows?

January 13, 2009 10:36am - Max Power - nickname: (paolo)

You can always have a look at http://code.google.com/p/dcr/downloads/list to see if there's something new avaiable

January 13, 2009 10:34am - Max Power - nickname: (paolo)

the tiled-tmx format is XLM, but i just parse it with a regular-expression :)

January 13, 2009 10:34am - Max Power - nickname: (paolo)

the tiled-tmx format is XLM, but i just parse it with a regular-expression :)

January 13, 2009 10:29am - Max Power - nickname: (paolo)

It's best to create a new map, then create a new tileset with std_tiles.png, make your map and save it as myMap.tmx. You have to explicitly name and save it as .tmx. In the next release, it will support *.tmx.gz files

Whoa, the path is great! Exactly what i had in mind!
Man, you are a great programmer! Puff! *magic done*

I was trying to understand how to make my own maps in tiled. I opened map1 and map2 in tiled, but when i change and save them as "tmx", the XLM-like format dissapears from them. And the maps fail to load in DCR... I am using the latest version, tiled 0.72.

January 13, 2009 8:49am - Max Power - nickname: (paolo)

I fixed loading, thanks for the bug-report. Maybe you want to have a look at
http://dcr.googlecode.com/files/DCR-1301-1512.tar.gz
Now, the path a unit will walk is being shown, but it is very simple yet.

January 13, 2009 7:49am - Max Power - nickname: (paolo)

"The secret of the chocolate milk" is the demo-scenario from the wiki :)
the pre-defined creatures are located at DCR/src/content.
If you want to make a real-time game, then my game-engine will not fit your needs, since always only one unit can move at once. Sometime ago, I created a little game where you could run around (in 'real-time') and meet NPCs running around, and there where round-based battles (a little like those old final-fantasy games for snes). But it was written in java and i don't have the source-code anymore :(

January 13, 2009 7:46am - Cristi Constantin - nickname: (prahaai)

Aha! I found the creatures in src/content folder. :)
The map scrolling is very good now.
I deleted the "save.gz" file by mistake and in game, when i tried to load, i got a fast error and the game closed silently. I think this is a little bug. Just letting you know. :)

Excellent!
I played "The secret of the chocolate milk". :)) Very cool. I played it 5 times to understand what does that "u=random.choice((Illithid,SpectralToad,Soldier))" do.
I understand there are some pre-defined creatures in the engine somewhere.
Cool. I wonder... how can i do real-time games with tbs-battles?...

January 13, 2009 7:24am - Max Power - nickname: (paolo)

And about the moving troops: sounds good, i will implement it :)

January 13, 2009 7:23am - Max Power - nickname: (paolo)

You have to use 'svn' to checkout svn-repositories. you can open "http://dcr.googlecode.com/svn/trunk/ in a browser, but then you have to download every single file by it's own. I you don't want to or you can't use svn, i uploaded an archieve with the current release at http://dcr.googlecode.com/files/DCR-1301-1346.tar.gz.

I updated the wiki, maybe it's more helpfull now ;)

January 13, 2009 6:14am - Cristi Constantin - nickname: (prahaai)

I am not good at svn stuff. "http://dcr.googlecode.com/svn/trunk/ dcr-read-only", in mozilla firefox, says "The requested URL /svn/trunk/ dcr-read-only was not found on this server."
Maybe if you make more changes, you make version 0.8.1, or something.
And about the moving troops: the extra click is very necessary. What i am trying to say is to highlight the path to where you click, instead of moving the character temporary, and be able to UNDO the movement. Just like TBS games. You select the character, click, and see the path highlight. When you extra-click, the character moves. :)

Cheers!

January 13, 2009 6:00am - Max Power - nickname: (paolo)

@trubby
Have you tested the newest release? There was a bug in an release i uploaded a while ago and fixed it without giving it another version number. The error seems to be a little strange... Have you a file ./DCR/scenarios/scenario.py ? Try just removing it.

@Cristi Constantin
I changed map-scrolling, i think it is better now. You can get it via svn:
svn checkout http://dcr.googlecode.com/svn/trunk/ dcr-read-only

btw, there are some command-line options for DCR:
-debug enables the debug-mode (just a verbose output on the console)
-cheat enables some 'cheats' (for testing,you an press 1 to empoison the unit under the cursor)

January 13, 2009 5:43am - trubsee - nickname: (trubby)

using psyco
There's a problem with scenario
<type 'exceptions.ImportError'>

Traceback (most recent call last):
File "C:\Documents and Settings\Ben Trubshaw\Desktop\DCR\run_game.py", line 33, in <module>
main()
File "C:\Documents and Settings\Ben Trubshaw\Desktop\DCR\run_game.py", line 27, in main
from game import GameEngine
File "C:\Documents and Settings\Ben Trubshaw\Desktop\DCR\src\game.py", line 13, in <module>
from scenarios import *
File "C:\Documents and Settings\Ben Trubshaw\Desktop\DCR\scenarios\__init__.py", line 15, in <module>
sys.exit()
SystemExit

January 13, 2009 5:22am - Max Power - nickname: (paolo)

@trubsee
Could you post the whole error-message?

@Cristi Constantin
The extra-click has a reason, it's because directly after movement, you can choose which enemy-unit your unit will attack. you can undo your movement by clicking on any other point.

Hehe, Tiled Map Editor is great stuff! I heard about it.
I checked the wiki. Very nice. Maybe you finish the Creating Scenarios tutorial one day. :)
You could also correct one thing when moving troops: when you click the spot where you want to move your character, the path to that point should highlight, or something like Heroes. Right now, when you click the spot where you want to move the character, the character it moves there, but you must click the character again to make it permanent... Right now it's a little un-natural.

My game is real-time, but when you fight, it's turn-based. You can check http://symbiosys.3x.ro/. There isn't much to see yet. It's a huge project.

Have a nice day!

January 13, 2009 4:36am - trubsee - nickname: (trubby)

I get an Import Error when trying to load scenario, any help? I was looking forward to your next release and I've been away, my python's a little dodge.

January 13, 2009 3:38am - Max Power - nickname: (paolo)

Thank you. I am going to rewrite the that part of code, since it is really somewhat choppy. I startet a wiki sometime ago, just look at the homepage (http://code.google.com/p/dcr/wiki/CreatingScnearios), but it is not finished yet. You can make maps with the Tiled-mapeditor (mapeditor.org). Of course you can use my game or its engine for your own games. what exactly are you working on?

January 12, 2009 11:24am - Cristi Constantin - nickname: (prahaai)

Moving the map is buggy. When i press CTRL and move the map, i totally lose control, i can barely find the place...
The scenario you made is EXCELLENT. I reminds me so much of Heroes...

Your game is GREAT!
Please make more scenarios! 2-3 of them... You can use the same data.
Can you also provide a good tutorial about how to make our own scenarios?
I would like to know how you made map.tmx and std_tiles.desc. What programs do you use? Maybe you can provide the tools?

I am working on a game myself. I have most of the database i want to use. I just need a good engine to make my game. I need a RPG/turn based strategy kind of thing. And you game is very nice for what i need. Maybe i could use your engine...?

Great work!

January 12, 2009 8:31am - Max Power - nickname: (paolo)

There's a second mission in the Beginning-Campaign avaiable.
I changed a lot of scripting-stuff, I hope it is now much more easy and clearer how to create scenarios. Maybe someone wants to create his own scenario? If you have questions, just ask! Any feedback is welcome! For example tell me how the game runs at your computer.

January 10, 2009 1:50pm - Luca Fabbri - nickname: (keul)

Great! I think you only need to update some info of this project (right the home page with the googlecode ones ;-)

January 10, 2009 11:44am - Max Power - nickname: (paolo)

You are right, and DRC is avaiable via SVN (http://dcr.googlecode.com/svn/trunk/), but my friend who's helping me is not able to use it (thats a long story).

January 10, 2009 10:56am - Luca Fabbri - nickname: (keul)

>It's because I don't work on this game alone
>(a friend will help me and write some scenarios etc.),
>so it's important that the most recent version of the
>game is always avaiable since very often things
>need to be changed.

Ok! I can suggest a more reliable approach: use a version control support like SVN. If you (and you mate) register a new product onto googlecodes, you'll get SVN and other things!

January 10, 2009 10:49am - Max Power - nickname: (paolo)

@Magnus Karl David:
'smoothscale' is new in pygame 1.8, so I think your pygame-version is just to old. Maybe you don't want to upgrade or to change all 'transform.smoothscale'-calls to 'transform.scale'. In the next release, the engine will decide on its own when to use scale or smoothscale, depending on the pygame-version being used.

@Luca Fabbri
It's because I don't work on this game alone (a friend will help me and write some scenarios etc.), so it's important that the most recent version of the game is always avaiable since very often things need to be changed.

Thank you all for your comments, it's good to have some feedback and bugreports!

January 10, 2009 9:32am - Magnus Karl David - nickname: (endymion)

Seems great but it crashes right after the campaign starts and some character moves a few tiles.

you can now find recent snapshots of dcr at http://code.google.com/p/dcr/

January 9, 2009 12:05am - Max Power - nickname: (paolo)

Thank you all for your comments, I will keep improving the game :)

January 8, 2009 2:27pm - RB[0] - nickname: (roebros) - 4/5

Once you know what you are doing this is quite a nice game.
I think some gui improvements should be your first order of business, and then a manual, something like, a button to end turn, and making it so you don't accidentally attack allies/heal enemies - it needs to be clearer ;)
Also it would be nice if there were a way to click the attacks you want to use, either selecting or wesnoth style where a pop-up comes up before each battle...

Well done though, the game is progressing nicely :)

January 7, 2009 1:57pm - benedict carter - nickname: (benedict)

DCR looks and sounds cool - I haven't had time to play it yet but its the one game on PyGame.Org that I really really want to.

January 4, 2009 8:13am - Max Power - nickname: (paolo)

thanks!
the error is because i changed how the scenario-class and the map-class work. the test-campaign is also just to test some features, i think the 0.9 release wil have a fully playable campaign :)

January 3, 2009 8:41am - Luca Fabbri - nickname: (keul) - 5/5

Very good, I see you fixed many controls issues from 0.4 version!

Just I think you must add a
print "Tutorial 2 is not yet available"
after finishing the tutorial :-)

Hi,I have a few questions about your game!
I would like to chat with you,have you got MSN or ICQ?

December 20, 2008 11:52am - Luca Fabbri - nickname: (keul)

retroredge: of you don't wanna update all your repo (like me... the kubuntu migration seems impossibiel on my system) just download the last .deb file from ubuntu servers.
It works with no problems for me.

December 20, 2008 7:51am - retroredge - nickname: (retroredge)

I'd love to try this but I think it requires pygame 1.8. I'm on Ubuntu which only has pygame 1.7. Anyone know an easy way to upgrade to the latest pygame on Linux?

December 20, 2008 4:11am - Max Power - nickname: (paolo)

Thanks for your reply!
The problem is, the tutorial has only one section (so far), so loading the second section will just fail. OK, that not very nice, i know... :)

Next release will (hopefully) feature improved controls.

December 19, 2008 7:46pm - Luca Fabbri - nickname: (keul) - 5/5

Seems super promising!!!

After failing the first tutorial section I get this:
Old man: I died....
active player finished fighting
Traceback (most recent call last):
File "./run_game.py", line 30, in <module>
g.run()
File "/home/keul/downloads/python/pygame/DCR/src/game.py", line 863, in run
self.updateLogic()
File "/home/keul/downloads/python/pygame/DCR/src/game.py", line 179, in updateLogic
self.scenario.tick()
File "/home/keul/downloads/python/pygame/DCR/scenarios/tutorial.py", line 172, in tick
self.game.loadScenario(leasson02())
File "/home/keul/downloads/python/pygame/DCR/src/game.py", line 830, in loadScenario
self.updateScreen(nocursor=True)
File "/home/keul/downloads/python/pygame/DCR/src/game.py", line 240, in updateScreen
self.screen.blit(self.scenario.map.sMapImage,self.scenario.map.position)
AttributeError: leasson02 instance has no attribute 'map'