I've made a very basic renpy player in flash as3
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: I've made a very basic renpy player in flash as3
Do you plan to allow resources to be put in a .swf file? I don't think you can upload to kongregate a folder with all the various assets in it ?
Also, variable assignment and if ... then doesn't work, right?
Also, variable assignment and if ... then doesn't work, right?
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
Yes, I wanted to try compiling for iphone with the flash packager, so I need to implement loading assets embedded in a swf. Should be fairly straightforward. I'll make it search for embedded the assets in the internal namespace first, and if they are not available it would try to load them from an external file.jack_norton wrote:Do you plan to allow resources to be put in a .swf file? I don't think you can upload to kongregate a folder with all the various assets in it ?
I can allow to add resources by code with the embed command or alternatively to import them to the library of the .fla and export them for Actionscript using the filename probably. This would require some flash knowledge though.
-
- Regular
- Posts: 104
- Joined: Wed Mar 04, 2009 9:16 am
- Projects: To Love Ru Trial Trouble, Bleach Battle Ignition, A new secret project...
- Contact:
Re: I've made a very basic renpy player in flash as3
I can't seem to run it. I replace the game folder with the one for my game and I just get a black screen....
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
It definitely runs in my dev enviroment. Maybe you'll need to upload to a server to workaround the flash security measures that won't let swfs load local files from your HardDriveninjagrass wrote:I can't seem to run it. I replace the game folder with the one for my game and I just get a black screen....
Can you try using renpyAS3Logger.html ? What error do you get?
-
- Regular
- Posts: 104
- Joined: Wed Mar 04, 2009 9:16 am
- Projects: To Love Ru Trial Trouble, Bleach Battle Ignition, A new secret project...
- Contact:
Re: I've made a very basic renpy player in flash as3
When I run renpyAS3Logger.html, it comes with a blank screen with a bug. I click the bug and inspect and I get this code. I am running this with flash player, firefox and internet explorer and no luck.
Apparantly forum thinks the code is some 'attack vector', so uploaded on mediafire.
http://www.mediafire.com/?fs3pgl721wsr936
Apparantly forum thinks the code is some 'attack vector', so uploaded on mediafire.
http://www.mediafire.com/?fs3pgl721wsr936
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
Just got a spyware following your link, I'm writing from the phone now and trying to remove the virus. Please remove the post.
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
Maybe I wasn't clear, you need to upload to your hosting, the server with your domain name, not to mediafire.
Alternatively try this to run it locally: http://kb2.adobe.com/cps/093/4c093f20.html
The article explains the flash restriction to load local files and how we As3 developers set the paths to do it.
Alternatively try this to run it locally: http://kb2.adobe.com/cps/093/4c093f20.html
The article explains the flash restriction to load local files and how we As3 developers set the paths to do it.
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
Hi Jack, boolean vars and if do work in the Question. Also, I've commited the last changes demonstrating how to embed files. The result is the AS3player+ The Question in one file, you can see it here:jack_norton wrote:Do you plan to allow resources to be put in a .swf file? I don't think you can upload to kongregate a folder with all the various assets in it ?
Also, variable assignment and if ... then doesn't work, right?
http://code.google.com/p/renpy-player-a ... estion.swf
The assets and script files need to be embedded by code, as you can see in this file:
http://code.google.com/p/renpy-player-a ... /Embeds.as
The player will try to load any asset mentioned in script.rpy as embeds first and if it doesn't find them will try to download them.
I thought I could use the Flash IDE to import the assets to the library, but it wouldn't allow .rpy files as text, so the only way is by code as shown above. Might look scary to non AS3 programmers, but in fact it would require to replace the filenames listed in that file for the ones used in your game, replacing "." and "/" in the filenames and paths by underscores. Then recompile and it should run or throw errors visible in the debug html
Now that I have all in one file, I'll try to compile for iphone!
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: I've made a very basic renpy player in flash as3
Nice, will check this tomorrow (late here).
I suppose though that nested menu/if aren't supported, right? that was one of my biggest problems when I tried to port Heileen for XNA...
I suppose though that nested menu/if aren't supported, right? that was one of my biggest problems when I tried to port Heileen for XNA...
-
- Veteran
- Posts: 265
- Joined: Tue Dec 14, 2010 5:20 pm
- Completed: G-Senjou no Maou Translation
- Location: Nashville, TN
- Contact:
Re: I've made a very basic renpy player in flash as3
Wouldn't it seem more useful to make Flash scripts playable in Ren'Py rather than the other way around? It's easy to create a VN engine in Flash, but it's tough to write any other kind of game (minigame for example) in Python. So I feel like more benefit would come from creating a Flash embedder in Ren'Py.
...Or did I read somewhere that such an option was already available? I can't remember if "modest embedded Flash compatibility" was advertised for Ren'Py or KiriKiri.
(On lookup, KiriKiri docs say "supports Macromedia Flash playback", so hell if I know if modern Adobe Flash works.)
...Or did I read somewhere that such an option was already available? I can't remember if "modest embedded Flash compatibility" was advertised for Ren'Py or KiriKiri.
(On lookup, KiriKiri docs say "supports Macromedia Flash playback", so hell if I know if modern Adobe Flash works.)
- Rosstin
- Veteran
- Posts: 368
- Joined: Mon Jan 31, 2011 5:43 pm
- Completed: Rex Rocket, Kitty Love, King's Ascent
- Projects: Road Redemption, Queen At Arms
- Organization: Aqualuft Games
- Contact:
Re: I've made a very basic renpy player in flash as3
Can someone post a website with The Question or another game running thru this? I'm really interested and I'd like to see it in action.
-
- Regular
- Posts: 42
- Joined: Mon Apr 20, 2009 6:16 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
just what i need for kongergate. :3
My art galleries: http://www.furaffinity.net/user/tylercuddletail/ http://tylercuddletail.deviantart.com/
Go to Cuddletail Games:
https://sites.google.com/site/cuddletailgames/home
Go to Cuddletail Games:
https://sites.google.com/site/cuddletailgames/home
-
- Newbie
- Posts: 23
- Joined: Sun Feb 13, 2011 7:29 pm
- Contact:
Re: I've made a very basic renpy player in flash as3
http://code.google.com/p/renpy-player-a ... f&can=2&q=asterazul wrote:Can someone post a website with The Question or another game running thru this? I'm really interested and I'd like to see it in action.
Who is online
Users browsing this forum: No registered users