expected ':' not found.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 11
- Joined: Tue Nov 30, 2010 8:45 am
- Contact:
Re: expected ':' not found.
yaa it Works now lol how do rename bob?
Re: expected ':' not found.
If you look at the active-demo.rpy file, it has comments (lines beginning with a '#') which walk you through the basic information you need to set up the most simple of battles - it covers the fighter's name in a bit of code that looks a bit like this:philip92dk wrote:yaa it Works now lol how do rename bob?
Code: Select all
# Next, we create Bob as a player fighter - meaning he'll be controlled by the player, who'll get to choose his moves.
# the first parameter is the fighter's name, and the 'sprite' parameter gives the sprite to use for that character;
# all other params, with names, are used for Bob's stats.
# If you don't include a particular stat in the list, then if Bob needs it to use a skill or something, it'll be added automatically
# with a reasonable default, so you only actually have to define the non-default stats.
# (Bob is a bit of a brawler, good at hand-to-hand combat but not so fast.)
bob = PlayerFighter("Bob", Speed=11, Attack=20, Defence=20, sprite=bobSprite)
I kind of forgot it when you asked before, but the nearest thing there is to a tutorial at the moment is the comments in those files - they're expected to be read in roughly this order:
active_demo.rpy
equipment_demo.rpy
grid_demo.rpy
path_demo.rpy
facing_demo.rpy
scroll_demo.rpy
hex_demo.rpy
skills_demo.rpy
Server error: user 'Jake' not found
-
- Newbie
- Posts: 11
- Joined: Tue Nov 30, 2010 8:45 am
- Contact:
Re: expected ':' not found.
ok thanks
Who is online
Users browsing this forum: No registered users