Just curious... what kind of animation requires that many frames? Usually you need about 10 or maybe 20, not 200+. That's something you would expect from a modern fighting game with a large moveset for each character. Is this a 30 second long idle animation? Or is there something I'm misunderstandin...
If you have a few hours of free time to understand and learn how to use it, git is your best friend. It can even let you jump back to a previous version, should you mess things up and you can keep a copy of your progress online too. github offers free repositories to do that. It's a must-have anyway...
That's really not a good way at all. If the programm contains a list of 100 words (which is not a lot), you'd have to write 100 check labels and 100 if-conditions, etc. You should instead use Pythons built-in dictionary class. An example would look like this: # first - in a init block, you can defin...
1. How do I make certain items (e.g. wall color, a decoration) inaccessible until a certain level? Basically, you'll use a persistent flag. The full explanation is here: http://renpy.org/wiki/renpy/doc/cookbook/Changing_the_Main_Menu_after_completing_the_game You'll create a persistent flag at the ...
You have to use it your image contains transparency. Function: Dissolve (time, old_widget=None, new_widget=None, alpha=False): This dissolves from the old scene to the new scene, by overlaying the new scene on top of the old scene and varying its alpha from 0 to 255. Dissolve only works correctly wh...
It's really something you should do to keep your project under control. It makes finding and editing things much easier. If you want some code to be in a different file, just create a new .rpy file and paste the code in. However, you can't have one half of a function or a label in one file and anoth...
[quote="Aleema"]Hmm, as best as I can interpret (don't know what it is officially), it just means "put anything else here"./quote] That's pretty much it. *args stands for a list of arguments, **kwargs stands for keyword arguments. So you could do this: def testFunction(some_arg,*...
That code is awesome, and very useful! *_* Would it be ok for me to take it as well? :D And if yes, what are hashlib and os? ^^; (Please pardon my noobness. ^^; ) Sure, feel free to use it, I don't mind. As long as your game turns out to be awesome, that's fine. :P hashlib and os are Python modules...
Here are the two most important functions for this, including comments on what every line does and why. I didn't include the functions that build the camera UI and everything. Didn't want this post to be two pages long, and you probably have your own ideas for those already. #This function is called...
I wrote a camera function for a game before. The player can pick the camera item from their inventory and it will display a camera complete with a menu that contains images taken before and such. You can then take a photo and it will be saved for later use. Is that what you want it to do? I could sh...
To do that, you probably need two images on the screen at the same time. Or is the image you are using made up of three identical 800x600 images? If that is the case, it's all about figuring out the right numbers. If it isn't, you'll have to use two images and move them with the proper distance in b...
I don't understand what kind of effect you're going for here... could you elaborate?
Maybe it would help if you put up a picture of what you want it to look like?