Search found 13 matches
- Sun Jul 08, 2018 11:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Android - Movies not looping
- Replies: 0
- Views: 280
Android - Movies not looping
I found that although working fine on my Windows machine, movie loops are not working when I build an Android distribution. The video plays once and then movies to the next action. Stripped right basic to the default project, problem can be recreated by building an Android release with below. label ...
- Fri Jul 06, 2018 8:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: Loading sounds from binary data instead of file
- Replies: 0
- Views: 267
Loading sounds from binary data instead of file
I've nearly completed development of my first renpy mystery game which I'm keen to share soon!. I'm trying to create a unique and personalised experience each time it's played by downloading various things from the my Web server and other Web sites. For example, it pulls in current global news which...
- Wed Jun 27, 2018 5:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: Web Requests and Android
- Replies: 4
- Views: 1458
Re: Web Requests and Android
I did manage to get Requests working on Android. I updated the requests package and dependencies to those packages in the pytom news demo. I found the problem with the pytom news demo not working on android was this; CA_FILE = os.path.join(config.gamedir, certifi.where()) Android couldn't resolve th...
- Sun Jun 24, 2018 5:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Web Requests and Android
- Replies: 4
- Views: 1458
Re: Web Requests and Android
Thanks for the help I tried using urllib2 as you're done in your game. This is working well in Android for me too, so if I can't get "Requests" working, I could change my implementation to use this.. I did try doing an Android build of the sample "News Feed" game by pytom that lo...
- Sun Jun 24, 2018 2:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Web Requests and Android
- Replies: 4
- Views: 1458
Web Requests and Android
Hi folks, I'm after a little advice on web requests with Android. I am using the modified version of the python requests module for Ren'Py (https://github.com/renpytom/renpy-requests) to download some personalisation data and send to server for processing with a simple REST API. Later in the game, I...
- Fri Jun 08, 2018 4:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying a caret whilst drawing
- Replies: 5
- Views: 817
Re: Displaying a caret whilst drawing
i haven't quite got this working, but i think you've put me on the right track. I'll feed back once I have something that is working. thanks.
- Thu Jun 07, 2018 7:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying a caret whilst drawing
- Replies: 5
- Views: 817
Re: Displaying a caret whilst drawing
Hi kivik. THanks for tte help. Your approach makes sense. This is only at a specific point in the game so doing this via a screen would be fine. I'm pretty new to Renpy. The part i'm struggling with is #3 in your comment. specifically aligning the caret image to the character just rendered. I couldn...
- Thu Jun 07, 2018 4:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying a caret whilst drawing
- Replies: 5
- Views: 817
Displaying a caret whilst drawing
Hello. Has anyone implemented anything like displaying a caret at the end of the text whilst renpy is typing text? I would like my game to type at the rate defined by the cps setting but display a caret (ideally flashing) after each character as it's being printed. e.g. "H█" "HE█"...
- Fri May 25, 2018 7:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Websocket
- Replies: 7
- Views: 1246
Re: Websocket
thanks - invoke_in_thread is working well. It actually is also working well for a basic Websocket implementation, using example chat server implementation from here https://github.com/dpallot/simple-websocket-server I'm currently using file-based polling so that the Main thread and the new thread ca...
- Wed May 23, 2018 4:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Websocket
- Replies: 7
- Views: 1246
Re: Websocket
I have now changed the screen to use a function, which is working well. This is the code that was causing we problems screen runtimers: timer 5 repeat True action Call("readMessage") and the label called.... label readMessage: python: with open("C:/room/game/messages.txt", "...
- Wed May 23, 2018 1:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Websocket
- Replies: 7
- Views: 1246
Re: Websocket
I have discovered an issue with my polling implementation Using a timer action on a screen to call the function that does an http call or file read causes any text or input boxes to be cleared. I think what I need here is a call_in_new_context but that doesn't look like an option in screen language ...
- Tue May 22, 2018 2:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Websocket
- Replies: 7
- Views: 1246
Re: Websocket
Noted thanks Tom. With that advice, I'm considering either polling via HTTP request via a timer on a screen invoking a call, or using a simple websocket client outside of renpy which writes updates to file and have ren'py read the file, again polling via a timer on a screen invoking a call. Both of ...
- Mon May 21, 2018 4:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Websocket
- Replies: 7
- Views: 1246
Websocket
Hi there, I'm pretty new to Ren'Py but absolutely loving the flexibility of this engine, how rapidly one can develop a game and being able to extend with pure Python. I've been experimenting with Websockets but haven't been able to find any reference implementation. My requirement is for the game to...