Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Partial movement? (http://zelaron.com/forum/showthread.php?t=44103)

05thouldm 2007-12-06 11:24 PM

Partial movement?
 
Just wondering how it'd be possible to do a mini-game type thing in RM2K3 that's similar to say.. the levels in super mario where the screen is constantly moving right and pushes you with it? But vertically, say a ball rolling down a hill, you would only really be able to move the ball left and right, not back up the hill?

Does anyone get my meaning?

Need to figure out how I can only allow the player to move left and right, whilst the movement of a hero "up" happens automatically (So events and things happen normally if hero collides with them, and could hit the end "teleport" to randomise the mini-game a bit)

Lenny 2007-12-07 09:49 AM

Which RPGMaker are you using? I'd hazard a guess at RM2K3?

I believe that it's possible to do scripting in RM2K3 - you could probably write something that, for the duration of the mini game, takes the Up and Down keys and ignores if they are pressed. You'll have to wait for The Almighty Bluecube, though, I'm afraid. I haven't a clue about scripting in RM2K3.

If it's RMXP you're using, then it should be a lot easier to do, but again, I haven't a clue. :p

BlueCube 2007-12-07 10:19 AM

I guess it depends on the way the game is presented. Is it tile-based or more precision-movement based? Also, you likely wouldn't have to move the hero upwards at all, you'd just move everything downwards, but you probably already have that in mind anyway.

If it's a tile-based version, you can always just toss a line of impassable, transparent tiles one line from the bottom of the screen and go from there. (Or a tileset with the same tile as the background, but impassable)

05thouldm 2007-12-07 11:29 AM

Have been tinkering with it.. managed to get the movement bit down using key input processing on a parallel process event.. only problem is, when the hero "collides" with another object (say a bird) the on hero touch or on hero collision event of that particular object doesn't trigger.. so the hero can just move left/right out of it's way with the whole map "paused" whilst it happens.. :s

Oh and simply tile based, I'm a rather basic user of RPG2K3, so >.>

Any idea how to fix that random problem with the other events?

Figured it might be something silly relating to the fact the movement is done via paralell process.. but a little unsure as to how I avoid that..

EDIT: Managed to get the "collision" event bit to work "sort of" .. if I set the object to on hero touch or on hero collision, it only takes effect if the "up" key is held at the time.. and as the hero is moving up automatically all the time via event, that shouldn't ever happen anyway, so I'm left in the same predicament unless I force "up" to be held down at all times which I can't do >.>

05thouldm 2007-12-14 11:36 AM

Minibump to make sure this topic still lights up as "unread replies" in case it got missed..

/feels guilty for DP. >.>

BlueCube 2007-12-14 07:32 PM

Quote:

Originally Posted by 05thouldm
Have been tinkering with it.. managed to get the movement bit down using key input processing on a parallel process event.. only problem is, when the hero "collides" with another object (say a bird) the on hero touch or on hero collision event of that particular object doesn't trigger.. so the hero can just move left/right out of it's way with the whole map "paused" whilst it happens.. :s

Oh and simply tile based, I'm a rather basic user of RPG2K3, so >.>

Any idea how to fix that random problem with the other events?

Figured it might be something silly relating to the fact the movement is done via paralell process.. but a little unsure as to how I avoid that..

EDIT: Managed to get the "collision" event bit to work "sort of" .. if I set the object to on hero touch or on hero collision, it only takes effect if the "up" key is held at the time.. and as the hero is moving up automatically all the time via event, that shouldn't ever happen anyway, so I'm left in the same predicament unless I force "up" to be held down at all times which I can't do >.>

Make sure that any collision events are set to Parallel Process, or they'll wait until your current event is done - but your current event is apparently a keypress loop, so the collision event never happens.

05thouldm 2007-12-15 02:23 AM

I think it's fairly safe to say that my attempt at doing this has failed >.< Are there any guides or tutorial type things for managing a mini-game in RPG2K3 similar to http://youtube.com/watch?v=wijjbNIm2aI ? I think I've maybe approached things a little too simply, or at worst over complicated things >.>


All times are GMT -6. The time now is 06:57 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.