Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Deactivating motion and animation in GM7, For all the instances
United States
Ianprime0509
  Posted: Jul 28 2008, 03:31 PM
Quote Post


My favorite E3 game so far
[*][*]

Group Icon
Group: Members
Posts: 488
Member No.: 3316
Joined: 17-February 07

Status: (0d) [--]


I'm making a dialog box for my game, and I don't know how to make it so you can press ENTER to skip to the next dialog box, but freeze the rest of the screen and not do the next action until ENTER is pressed. I was trying to make it like the show_message() function.


--------------------

user posted imageuser posted imageuser posted image
Signature version 3.0
PMEmail Poster
Top
Unspecified
Miaxis
Posted: Jul 28 2008, 03:36 PM
Quote Post


hagan bromas
[*]

Group Icon
Group: Members
Posts: 1799
Member No.: 2793
Joined: 12-October 06

Status: (0d) [--]


if you make it like a typewriter you could use sleep(1) between letters

yea when textbox ends use keyboard_wait

yea I know thatīll react to any key but itīs the easiest(and only XD) way I know


--------------------
user posted image

user posted imageuser posted imageuser posted imageuser posted image
PMEmail PosterUsers WebsiteMSN
Top
Unspecified
Draco Icebane
Posted: Jul 28 2008, 04:47 PM
Quote Post


Standard Member
[*][*][*][*][*]


Group Icon
Group: Banned
Posts: 52997
Member No.: 10
Joined: 13-October 03

Status: (71582612m) [XX]


The way I generally input a pause feature is to just have a toggle switch placed in all of my pause-able code. When you pause, you turn it on ... and all of that code stops abruptly, because it's nested in an if(!paused). I'm not sure if GameMaker will disagree with this method but it works fine in Klik products.

This post has been edited by Draco Icebane on Jul 28 2008, 04:48 PM
PM
Top
Unspecified
mr.mario
Posted: Jul 28 2008, 05:28 PM
Quote Post


and you people thought Mugen coded in GML would never work
[*][*][*]

Group Icon
Group: Members
Posts: 4755
Member No.: 2349
Joined: 17-July 06

Status: (0d) [--]


heres another code that will keep the game running but stop all the movement

all.speed = 0
all.hspeed = 0
all.vspeed = 0
all.image_speed = 0


--------------------
mr.mario's emulated music engine(gamemaker)http://archive.mfgg.net/index.php?showtopic=214636here

Gmugen: here
PMEmail Poster
Top
Sweden
Alex
Posted: Jul 29 2008, 05:16 AM
Quote Post


In Donaldismo Veritas
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 1678
Member No.: 5509
Joined: 9-July 08

Status: (0d) [--]


I'm using a "cheaty" way to show messages and pause the game:

CODE
Save screenshot as a file.
Save the game.
Go to a new room.
Load the screenshotfile as a background for the new room.
Write the text you want to display on the room.
When you want to continue, load the game.


This post has been edited by Alex on Jul 29 2008, 05:17 AM


--------------------
user posted image
--------------------
My character has been drawn by:
NICKtendo DS
Jazz
Tek
PM
Top
United States
Ianprime0509
  Posted: Jul 29 2008, 07:18 PM
Quote Post


My favorite E3 game so far
[*][*]

Group Icon
Group: Members
Posts: 488
Member No.: 3316
Joined: 17-February 07

Status: (0d) [--]


Thanks, I figured out something that works better, it's not what I planned, it just makes it go away after 10 seconds or so, so you can't always have that message up on your screen.

This post has been edited by Ianprime0509 on Jul 29 2008, 07:19 PM


--------------------

user posted imageuser posted imageuser posted image
Signature version 3.0
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0580 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.28 ]