I'm looking for some help with an in-game cell phone screen?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

I'm looking for some help with an in-game cell phone screen?

#1 Post by namastaii » Tue Feb 03, 2015 1:44 pm

I already have some images and working on more... and I am new at this but I'm not super new at programming.
I was wondering if anyone had some good guidelines I could work off of to create a complex cell phone interface/screen.

I know I'm asking for a lot but I want to learn how to do all the complex stuff...
Thank you for any help.

My goals with the cell phone screen:

-To have a mini cell phone image/button in the corner of the screen that when pressed it opens the bigger working version of the phone.

-Hot spots on the main menu to take the player to a new phonescreen
-text message inbox hotspot, contacts list hotspot, settings hostpot, calandar hotspot

Text message inbox will show all messages new and old, I already kinda know how to create a list for this and append new messages

Contacts list is already working in the game, when the character reaches so many relationship points with a person, they give the character their number and their name is added to [contacts] which the player will only recieve periodic messages from people they've only gained as contacts throughout the storyline and will give them a better chance to strengthen their relationship with that person

So for the settings, I want to try something I'm not sure if it will work? In the settings, I want maybe the player to be able to change in game volume BUT I want the character to also be able to change the wallpaper of their cellphone background. Just for fun. Now, would this mean that I just create a new main phone menu screen with each wallpaper and do a 'if player selects this option, then change the main screen to their choice' kind of thing. Do you know how I would go about this?

The calander, maybe just have upcoming events that take place in the game, like a school dance or such so the player can see what day they are on and how close they are getting to main storyline events. Also, I already have some code examples to add the date to the top of the phone screen but I'm not sure how to place things yet.

I don't really know how to locate hotspots or if its just a trial and error type thing or how to make hotspots work, I've tried a few things and gone off of others examples but I get errors every time.

If anyone has any examples or anything that can help me build this phone, that'd be great. I already have the main screen down, just connecting it all and its functionality I may need help with..

THANK YOU! :D

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: I'm looking for some help with an in-game cell phone scr

#2 Post by trooper6 » Tue Feb 03, 2015 2:16 pm

You might want to check out the Basic Message System thread in the cookbook. Read the whole thread because someone ends up asking about a cell phone. That might give you a good basic start.

http://lemmasoft.renai.us/forums/viewto ... 51&t=19295
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: I'm looking for some help with an in-game cell phone scr

#3 Post by namastaii » Tue Feb 03, 2015 2:30 pm

Thank you! Will do.

Post Reply

Who is online

Users browsing this forum: Google [Bot]