push items on screen |
|
|
|
|
Dec 31 2009, 04:47 PM
|

The King of Spades

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate

|
I need an event where you can push bolders events around on the screen. I was trying to create a look safe and you need to push the boulders in the right spot for the next area to open up. Anyone know how to do this.
__________________________
     Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.  QUOTE ('Exiled One') "If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
|
|
|
|
|
|
|
|
 |
Replies
(1 - 9)
|
|
Dec 31 2009, 05:13 PM
|

Level 1337

Group: Banned
Posts: 1,664
Type: Writer
RM Skill: Intermediate

|
Make an event, choose how you want it to look like. (ex:rock) set the event to player touch. Then put in move route, and put in move away from player. and click on skip if cannot move, n' there ya go.
__________________________
I'm not dead. Thanks.
|
|
|
|
|
|
|
|
|
Dec 31 2009, 06:07 PM
|

The King of Spades

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate

|
QUOTE (Scriptless @ Dec 31 2009, 08:13 PM)  Make an event, choose how you want it to look like. (ex:rock) set the event to player touch. Then put in move route, and put in move away from player. and click on skip if cannot move, n' there ya go. Okay, cool it works. Okay now I need to figure out how to drag it away from the wall so the player doesn't get stuck. I probably should of added that to the OP.
__________________________
     Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.  QUOTE ('Exiled One') "If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
|
|
|
|
|
|
|
|
|
Dec 31 2009, 06:16 PM
|
Level 32

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

|
Of course, that won't tell you when the boulder is on the right spot. For that, you have two choices: 1) Terrain Tags on the key square (Since this is RMXP), and a Parallel Process event checking the Terrain Tag, or 2) A Parallel Process event checking the X and Y of the Boulder, and comparing it to fixed coordinates. QUOTE (Bigace @ Dec 31 2009, 06:07 PM)  QUOTE (Scriptless @ Dec 31 2009, 08:13 PM)  Make an event, choose how you want it to look like. (ex:rock) set the event to player touch. Then put in move route, and put in move away from player. and click on skip if cannot move, n' there ya go. Okay, cool it works. Okay now I need to figure out how to drag it away from the wall so the player doesn't get stuck. I probably should of added that to the OP. Do you want it to be pull-able by the player, or resetable? The latter is much, much easier to code... and leaving and re-entering the room will do it automatically, so you don't need to worry about that.
|
|
|
|
|
|
|
|
|
Jan 1 2010, 10:00 AM
|

The King of Spades

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate

|
QUOTE (Unka Josh @ Dec 31 2009, 09:16 PM)  Of course, that won't tell you when the boulder is on the right spot. For that, you have two choices: 1) Terrain Tags on the key square (Since this is RMXP), and a Parallel Process event checking the Terrain Tag, or 2) A Parallel Process event checking the X and Y of the Boulder, and comparing it to fixed coordinates. QUOTE (Bigace @ Dec 31 2009, 06:07 PM)  QUOTE (Scriptless @ Dec 31 2009, 08:13 PM)  Make an event, choose how you want it to look like. (ex:rock) set the event to player touch. Then put in move route, and put in move away from player. and click on skip if cannot move, n' there ya go. Okay, cool it works. Okay now I need to figure out how to drag it away from the wall so the player doesn't get stuck. I probably should of added that to the OP. Do you want it to be pull-able by the player, or resetable? The latter is much, much easier to code... and leaving and re-entering the room will do it automatically, so you don't need to worry about that. Sorry I didn't reply back earlier, I was playing assassin Creed 2, okay I try that in a couple of moments. And I guess we can go with the latter if that one is easier then sure. Edit: Is there a way to make reset only the boulders location, instead of the whole map. Like click button 'B', and the screen flashes and all the boulders that you were pushing are reset. QUOTE (Redd @ Dec 31 2009, 09:35 PM)  Just like in Pokemon, if you leave the room and go back it will all be perfectly good again  Just make an escape rope or a Panic! button to use if you get stuck somewhere that transfers you out of the room. Yep, pokemon like in the good ol'days.
__________________________
     Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.  QUOTE ('Exiled One') "If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
|
|
|
|
|
|
|
|
|
Jan 1 2010, 01:56 PM
|

:<

Group: Revolutionary
Posts: 2,327
Type: Developer
RM Skill: Advanced

|
Yeah I could do that probably. It would require a bit of scripting, so give me just a bit. EDIT: If you reset the rocks, then it would just change the rocks, and the player could get into some pretty bad trouble, or if used usefully, you could get through the pushing a LOT easier since the rock that was just in front of you is now gone. Here's what your PARALLEL PROCESS event should look like: CODE @>Conditional Branch: The A button is being pressed @>Transfer Player [your map and position] @> : Else @> : Branch End @> There you go.
__________________________
|
|
|
|
|
|
|
|
|
Jan 2 2010, 12:53 PM
|

The King of Spades

Group: Revolutionary
Posts: 400
Type: Developer
RM Skill: Intermediate

|
Thanks for the feedback guys, Iet me finish mapping the dungeon and I'll post back if any problems occure.
__________________________
     Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.  QUOTE ('Exiled One') "If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others."
|
|
|
|
|
|
|
|
  |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|