Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [help] Managing events and switches, (and other questions about game mechanics)
zshall
post Apr 9 2012, 06:58 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 5
Type: Developer
RM Skill: Intermediate




Hi there,

I'm working on creating some mechanics for a small game I've thought about making in RM2K3. The specific mechanic I'm trying to replicate is one of a block being dropped in water and becoming floor. http://www.youtube.com/watch?v=cisVWVvUGXo for a visual example. The block collides with water, and becomes dirt. The hero runs over the dirt, and it becomes land.

As of right now, I have a single block event that does kind of what I want...
CODE
(This is pseudocode)
PAGE 1
if switch is OFF:
    move
    get x and y coordinates
    if the tile at x and y == water:
        set switch ON

PAGE 2
precondition: switch ON
no commands, graphic is tile floor


I see the "Tile Substitution" call in the list of actions, and ideally I'd use that to replace the single tile at X and Y with floor, then destroy the event, but it seems tile substitution works for all tiles as a 'find / replace all' type of deal. Is there a plugin or a mod out there that has a "find single lower tile / replace it" or is there a way to do it without a mod?

Also, this code works nicely with one block, but for multiple blocks it would appear I would need more switches. Is there a way to do this without switches? Coming from a background in more standard programming, what I'm really looking for are object classes, such that each event has its own switches and is an instance of a definition rather than every block. Is there a mod for something like that as well?

I've been using RM2K for years off and on, and besides a few games I haven't really followed the RPG Maker scene, per se. I was still using 2K until a week ago when I learned of common events in 2K3. I'm not sure I want to make the jump to XP or VX, as I'm familiar with the 2K interface and it looks like I'd need to change a lot of graphics to port everything over, seeing as the XP tile resolution is higher.

Any help is appreciated!
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Essenceblade
post Apr 12 2012, 06:20 PM
Post #2


Crystallite Hope.
Group Icon

Group: Revolutionary
Posts: 207
Type: Developer
RM Skill: Skilled




Make sure you aren't just copy > pasting the folder straight into your project, import it via the RPG Maker 2003 resource manager.

Once you do that, it will, and should come up with the picture, and a flashing background. Make sure you Left / Right click on the black background so that it's flashing. The flashing background means that that color will be seen as transparent in game.

EDIT: It's best to use Character Maker 1995 for RPG Maker 2003 alongside Graphics Gale, GIMP and Photoshop. Character Maker is fast and efficient. It gets the job done and its easier to use than Photoshop. I find spriting 9x easier to do in Character Maker over Photoshop.

This post has been edited by Essenceblade: Apr 12 2012, 06:29 PM


__________________________
My current project:


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






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



-------------------------------------------------------------------------------------------
"I want to have encampment dreams, where everything is as it seems, Harmony everywhere, finally there is peaceful air" -- Fatesboon. 11/4/2011
Go to the top of the page
 
+Quote Post
   
zshall
post Apr 12 2012, 10:20 PM
Post #3


Level 1
Group Icon

Group: Member
Posts: 5
Type: Developer
RM Skill: Intermediate




QUOTE (Essenceblade @ Apr 12 2012, 06:20 PM) *
Make sure you aren't just copy > pasting the folder straight into your project, import it via the RPG Maker 2003 resource manager.

Once you do that, it will, and should come up with the picture, and a flashing background. Make sure you Left / Right click on the black background so that it's flashing. The flashing background means that that color will be seen as transparent in game.

EDIT: It's best to use Character Maker 1995 for RPG Maker 2003 alongside Graphics Gale, GIMP and Photoshop. Character Maker is fast and efficient. It gets the job done and its easier to use than Photoshop. I find spriting 9x easier to do in Character Maker over Photoshop.


Using the import manager did it. Thanks!
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th June 2013 - 12:31 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker