Help - Search - Members - Calendar
Full Version: [Scripting]MINIGAME TURORIAL!
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion > RPG Maker VX Tutorials
onidsouza

First in this tutorial, i will show you how to create a simple minigame for your RPGVX game. First create a game with another engine ( i recommend Game Maker 7). When your game is ready, create a new folder in your RPG game folder
called minigames.
Copy all files and folders of the minigame and paste in the minigames folder.

To call your minigame in your game, create a call script event, and call this:

system("minigames/gamename")

To explain:

minigames is the name of the folder

change gamename to the name of the executable (exe) of your game, don't put .exe!

ex.:

system("pong")
system("minigames/pacman")
system("minigames/game1/Mario")

Thank's for 2gamergirl2 for the script request
Thank's for Zeriab for explained this "system" function
onidsouza
Wow... 4 months and no comments... i'm sad, i will cry!!! unsure.gif
SuperMega
This is awesome, nice work! I totally need to give this a shot one day.
onidsouza
Thanks
Gamerbird
I will try this out sometime.
Sounds easy to do so I might be able to do it.
Thanks for the tutorial, keep it up!
onidsouza
As you wish!
zhein04
there is no script needed right?

i just need to call it?

if i call system("pong") where is the location of the pong?
onidsouza
read again the tutorial.

Directories have from base your game (Game.exe) folder.
beelzibub
Yes this is pretty sweet. Man you guys work out some sweet shit lol keep up the good work man this is awsome.
onidsouza
smile.gif
Shu
Does this make the minigame pop up in a new window, or does it use the same window as your game? I assume the first one.
onidsouza
As you don't use a script, the mini game pop up.

But if you use win32API in a script, you can make them to run in the same window.But don't ask for me to do a script like this, kuz i suck in win32API, i still am learning to program for windows...
TNinja
Well, I didn't ecspect something like this were possible. A minigame that isn't limited by RPGM:VX engine, executed from RPGM:VX itself.

I don't think I'll be able to use this, since my knowledge around GM is zero to none, but I will praise you for this very useful tutorial.
Joelb955
Thank You So Much This Is The Easiest Thing To Do!

You Don't Need Game Maker MMF2 Is Verry Easy!
Dark Santum
necroposting this topic is over 2 month old.reporting you.
HeroOfHyla
Joel, please don't necropost.
Dark Santum, please dont back-seat moderate.
Joelb955
1.What Is NecroPosting?
2.I Was Just Trying To Answer His Question
3.I Didn't Mean To, I Thought THis Was Like Newgamingera!
Omegas7
@Joelb955:
1. I would define something like... Posting something on a long inactive topic/thread (months),
specially if is something with no special priority nor importance (nearly spam).

2. The question is 2 months old, if an answer was still required the asker would continue asking,
but instead, stopped, 2 months ago. Possibly found the answer or lost the need for it.

3. What?
JJJ
Sorry if I'm necro'ing or something but I came across this and I had a question.

Is it possible to transffer a variable from the mini-game to RMVX and give an award accordingly, like thriugh a script or event n' suchlike?

I doubt it! unsure.gif

Thanks!
Balddog
Is this possible to do like this: system("minigame/game")
The minigame folder is a whole other RMVX project.
If this is possible, would it come up in the same window?
OrigamiRose
Last post was 7 months ago. Don't necropost!

Im locking this to avoid more necroposting. If you have questions about this, make a new topic about it.

Locked
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.