Skip to content
Ahmed Castro edited this page Sep 26, 2015 · 15 revisions

This is a guide to create your own STG game using the Rosalila STG engine. You will find all the tools you need here but later it will depend on your imagination and creativity. Good luck!

#Engine website

This wiki is a guide only. If you want more information go to the engine web site.

##Customizing an exisiting game

There are a lot of things you can customize! As a first step I would recommend you to download the demo from the engine web site, and look for the .png and .xml files. Remplace the PNGs with others images (I'll recommend using PNG only) and take a look at the XMLs and change the values.

##Examples: ###Changing the start screen''' Remplace this image: menu/startscreen.png

###Changing the player velocity''' Edit the "velocity" attribute in chars/Iguro/main.xml

###Creating a new character

  • Create a new folder in chars/ with the name of the character

  • Use the Rectangle, Diamond or Triangle chars as a template copying all the files inside into your newly created folder.

  • Go to config.xml on the game root directory, add under the tag. Example adding the character "Foo" (must have the same name of the folder created):

    Config.xml

##Creating a new stage

  • Create a new folder in stages/ with the name of the stage

  • Use the City or StarField stages as a template copying all the files inside into your newly created folder.

  • Go to config.xml on the game root directory, add under the tag. Example adding the stage "Foo" (must have the same name of the folder created):

    Config.xml

##Create your own custom game

Now that you know how to create new characters and stages you can take a look at the Directory structure to create your own games with custom gameplay. Alternatively, you can take a look at the Cookbook for quick XML recipes. Category:Browse

XML Legend

  • Bold represents the Tags.
  • Italic represents the attributes.
  • [allows multiple] : The engine recognizes multiple sibling tags declarations.
  • [integer] : The attribute is a numeric integer value. (examples: "128", "24", "53")
  • [string] : The attribute is a text string value. (example: "Basic bullet", "misc/winner/1.png", "Chuy")
  • [yes/no] : The attribute is a boolean "yes" or "no" vaule. (example: "yes", "no").
  • [mandatory] : The attribute is mandatory and has to be defined.
  • [default=X] : If the attribute is not defined, it will take the X value as default.
Clone this wiki locally