[SOLVED] Cant Quit Game With "action Quit" ?

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
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

[SOLVED] Cant Quit Game With "action Quit" ?

#1 Post by pratomoastan » Wed Dec 21, 2016 9:49 pm

Hello, maybe at update 6.99.12 stuff is changing.
Like the code is evolving , etc.

So i spotted a problem,
i cant quit the game with action Quit .
so every time i click on it, the game do a start action instead quitting the game

Code: Select all

screen main_menu():
    
    tag menu
    
    imagemap:
        ground 'images/system/menu2.png'
        hover 'images/system/menuhover2.png'
        alpha False
        
        hotspot (304, 228, 188, 72) action Start()#(304, 228, 188, 72)
        hotspot (317, 303, 162, 52) action ShowMenu('load')#(315, 315, 164, 56)
        hotspot (293, 382, 215, 71) action ShowMenu('cfig')#(293, 382, 215, 71)
        hotspot (37, 529, 38, 49) action Quit#(17, 518, 47, 60)
        hotspot (37, 529, 38, 49) action Quit#(17, 518, 47, 60)#Quit game 
Last edited by pratomoastan on Thu Dec 22, 2016 3:29 am, edited 2 times in total.
~ Sempai !!!

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: [ASK] Cant Quit Game With "action Quit" ?

#2 Post by PyTom » Wed Dec 21, 2016 10:33 pm

it should be Quit), not Quit. (The comments on the imagemap are a bit confusing.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: [ASK] Cant Quit Game With "action Quit" ?

#3 Post by pratomoastan » Thu Dec 22, 2016 3:27 am

--- Removed ---
~ Sempai !!!

Post Reply

Who is online

Users browsing this forum: No registered users