Pink Petal Games
PyTFall => PyTFall: General information => Topic started by: nemojason on June 01, 2019, 04:51:22 AM
-
Hello, for create magic ,i need some information about :
"menu_pos": 0,
"effect": 10,
"multiplier": 1.0,
"range": 4,
"attacker_effects": {
"zoom": 1.5,
"duration": 0.84,
"cast": {
"point": "bc",
"yo": -75
}
},
"main_effect": {
"gfx": "ice_1",
"sfx": "content/sfx/sound/be/ice3.mp3",
"duration": 2.0,
"aim": {
"point": "bc",
"anchor": [0.5, 1.0],
"yo": 60
},
"start_at": 0,
"zoom": 1.9
I want to add this line renpy to .json, how can i do? :
image rasdemaree = Movie (channel="movie_dp", play="content/db/gfx/be/aqnimation/rasdemaree.webm")
-
"gfx": "ice_1",
==> "gfx": "rasdemaree",
Should do the trick.
-
"gfx": "ice_1",
==> "gfx": "rasdemaree",
Should do the trick.
My problem is i don't know where put this declaration : image rasdemaree = Movie (channel="movie_dp", play="content/db/gfx/be/aqnimation/rasdemaree.webm")
Must i create a different file .rpy with this line for declare this variable because when i create it in the .json i get an error?
-
It needs to be in .rpy file, it doesn't matter where you put the file itself. Normally you'd make a folder of some kind, let's say:
'game/mods/nemojason/my_mod_resourses.rpy'
(name of the file or folder structure doesn't matter)
-
It needs to be in .rpy file, it doesn't matter where you put the file itself. Normally you'd make a folder of some kind, let's say:
'game/mods/nemojason/my_mod_resourses.rpy'
(name of the file or folder structure doesn't matter)
Ah good, so in this file ****.rpy i just add this line as declaration inside the file-> i don't need to write anything else?
-
You'll need the movie sprite itself obviously but yes, it should do the trick.
-
You'll need the movie sprite itself obviously but yes, it should do the trick.
Good, i maked the movie sprite in webm but my pb was to insert it in the code lol