Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Pokemon style secret base script

I really need a pokemon secret base
script or a script that can let me get
a house and move things around in it please.
^_^^_^^_^^_^^_^^_^
:D:D:D:D:D:D
:):):):):):)
 

Sles

Member

rozzman;331548":2gbm58tj said:
I really need a pokemon secret base
script or a script that can let me get
a house and move things around in it.
^_^^_^^_^^_^^_^^_^
:D:D:D:D:D:D
:):):):):):)

Are you familiar with the word "please"? Also, how about the word "events"?
Basically, you don't need a script for this.
 
ok im not too good with variables and im not sure if you can do the move around the furniture part with events,
but if u say u can could you put it into a demo or some instructions of some sort PLEASE
 
I'll tell you how to do this with events. Firstly, you'll need to have an character graphic for each piece of furniture (obviously, duh!)

Then it gets simple. When the player goes to a computer in his "secret base" make a choice menu showing him which item he wants to move to which location. It should be like this.

@>: Text: Please select the item you want to move.
@>: Show Choices: Wooden Table, POKéDOLL, Blue Tent, More
: When [Wooden Table]
@>: Control Variables: [001: Choice selected] = 1
@>: Change Hero Graphic: [Cursor]
@>: Jump to label: Item check
: When [Pokedoll]
@>: Control Variables: [001: Choice selected] = 2
@>: Change Hero Graphic: [Cursor]
@>: Jump to label: Item check
: When [Wooden Table]
@>: Control Variables: [001: Choice selected] = 3
@>: Change Hero Graphic: [Cursor]
@>: Jump to label: Item check
: When [More]
@>: Comment: Insert More items here!!
: When [Cancel]
@> End Event Processing

@:>Label Item check
  @>: Branch if: The button C is being pressed
        @>: Control Variables: [002: Cursor X] = Hero's X
        @>: Control Variables: [003: Cursor Y] = Hero's Y
        @>: Branch if: Variable[001: Choice selected] =  1
        @>: Set event location: [Wooden Table], [002][003]
        : End
        @>: Branch if: Variable[001: Choice Selected] = 2
        @>: Set event location: [Pokedoll], [002][003]
        : End
        @>: Branch if: Variable[001: Choice selected] =  3
        @>: Set event location: [Blue tent], [002][003]
        @>: Comment: ---------Add your choices here!!---------------------
        : End
    :End
:End

There, that's the basic structure, though you'd need some little modifications to check whether the objects are in the same place or not. But that's easy enough to do, and I'm feeling lazy to post that right now... perhaps later...
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top