Universal Controller Mapper

Game Editor comments and discussion.

Universal Controller Mapper

Postby Hblade » Wed Oct 20, 2010 5:28 pm

Universal controller mapper
    Set up a controller the easy way


This is a work in progress.


What this allows you to do is prettymuch set up a controller using the standard controller pattern, "A, B, X, Y, Start, Select, L1, R1, L2, R2, L3, R3" buttons. What you prettymuch do is click the textbox next to the key you want to map "A" to, or "B" or any other button. Then click save. You will need to make a veriety of variables. This is a list of the variables you will need to make with the save group "controller" added

    B_A
    B_B
    B_X
    B_Y
    B_START
    B_SELECT
    B_L1
    B_L2
    B_R1
    B_R2
    B_R3
    B_L3

Make all of those variables a "real" not an integer. Then to load the setup you have made for your game (Use this so that anyone who plays your game can set up their controller just the way that want to :3), use the loadVars("setup.pad", "controller"); function xD

This will be done eventually, and I will also have buttons for everyone to put into their games xD
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron