Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • need some help with a minigame
« previous next »
  • Print
Pages: [1]

Author Topic: need some help with a minigame  (Read 2454 times)

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
need some help with a minigame
« on: July 09, 2008, 11:32:52 PM »
So im farting around with 2k3 to make for no real reason aside from distraction

And i make a little world map, and some towns, and a dungeon.
In my dungeon is a mine kart minigame, where you have to ride the minekart and follow the rails, whilst jumping gaps in the track with the shift button. If you fall off the track, you restart the course, with a few less HPS.

I have my Jumping event running as a parallel process.
I have a similar event handling the key input for the shift key
the jumping works lovely, and so does my "on hero touch" crash/collison event.

is a quick glimpse of what they look like

Now my question/help request goes like this.

I want the map, to scroll so that the player/kart is travelling from left to right without player controll.

But every time i try to make this happen, it either messes up my jumping, or wont jump at all.
Ive tried a few different conditional branches and what not....move player events...
Somtimes they mess things up...
Sometimes they hover in midair, (despite the jump event giving it a down-right command, with an ignore impossible moves)
Basically, Ive deleted the previous versions of my right scroll event, as it was sucking, and i took some shots and came to you dudes


Anyone care to help a guy out?


EDIT:I should also add that i just now noticed that I can multijump this way as well.
If i were making a swimming mario game, this would be great.

So I need help both making the scroll work, and eliminating the multijump effect
« Last Edit: July 10, 2008, 03:28:47 AM by gemini »
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: need some help with a minigame
« Reply #1 on: July 10, 2008, 03:31:21 AM »
Logged

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
Re: need some help with a minigame
« Reply #2 on: July 10, 2008, 03:37:31 AM »
You can halt all processes for the multi jump thing.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
Re: need some help with a minigame
« Reply #3 on: July 10, 2008, 05:12:39 AM »
EDIT:Multijump fixed by adding a wait command of 0.3 sec to jumping event. Still Am wracking my brains with this scrolling though


You mean to Use a halt movement command?
I havent used 2k3 mmuch in the last couple of years, so Im a bit rusty it seems.
I have a workaround in process for the multijump, But right now Im mostly concerned with making a nice scroll effect
while keeping the jumping working well

Ive also tried using a pan screen. It worked welll enough, until the screen continued moving past my player...And the more i tried to keep up with my D pad, the faster the screen scrolled away from me.
Logged

Offline Rahl

  • Lord Of Gamedwellers
  • Leader
  • *
  • Posts: 2,356
Re: need some help with a minigame
« Reply #4 on: July 13, 2008, 02:58:33 PM »
This is my suggestion:

Jump Tile

Page 1 Req "Start"
Auto Process-> move, move, move..., switch "jump one"ON

Page 2 Req "jump one" switch
Paralell process-> timer (however long you have to jump), switch "jump one"OFF switch "Start" OFF, switch "Start2" ON

Page 3 Req "Start2" switch
Basically the same thing as one.

Beggining Cart Tile

On hero touch-> Change Sprite Association (hero-> hero in cart), "Switch Start" On

Collision Tile

On hero touch-> switch "jump one" OFF, switch "Start" OFF, switch "Start2" OFF Change Sprite Association (hero in cart-> hero) teleport (beginning)


I think this pattern of events will work for your minigame. Names can be changed and stuff but you need to make a new page and switch for every path after each jump. The Collision Tile can be used over and over again as long as you change the sprite assoc. and turn off all the switches for every path in it. But overall this layout should work.
Logged



  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • need some help with a minigame
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum