Clickable button with Events possible?

● ARCHIVED · READ-ONLY
Started by zon3y 9 posts View original ↗
  1. Hey there :)

    I have a question.
    Actually my JS skills are not very good and I try to make a port from my old VX game to my new MV game. 

    In VX I had some scripts but no one who can translate them from Ruby to JS. 
    One of the scripts is a clickable button on screen. After clicking the button (picture) with the mouse a menu opens and the player can change some things. 

    Now and after many tries I don't get it... So, is it possibile to make a clickable picture on the game screen with mouse/touch interaction only with events.



    Here a screenshot as description:
     



    Thanks for your help! :)
  2. Seeing as the code is free, you could download it, study it, and learn from it how to do what you want/need... Plus, what license problems.  Many scripts/plugins are free to use, commercially or non-commercially.  Don't assume until you know for sure.
  3. wizaerd said:
    Seeing as the code is free, you could download it, study it, and learn from it how to do what you want/need... Plus, what license problems.  Many scripts/plugins are free to use, commercially or non-commercially.  Don't assume until you know for sure.
    Hey,

    I really, really hate JavaScript. I can make some things for the web development but in another thread I asked for help because I'm not get it.. :( I'm not talented for this things I think.
  4. In one statement you say you can't use 3rd party plugins, then in the next you say you can't make them yourself.  So which is it?  Do you want a plugin or do you want to make one yourself?

    Ahhh I see, you want to do it via events...  Good luck with that, I'd just write code or use a FREE plugin to do what I needed.
  5. wizaerd said:
    In one statement you say you can't use 3rd party plugins, then in the next you say you can't make them yourself.  So which is it?  Do you want a plugin or do you want to make one yourself?

    Ahhh I see, you want to do it via events...  Good luck with that, I'd just write code or use a FREE plugin to do what I needed.
    Hey,

    it's both. Actually I can't make it myself, that's why I try to learn JS in MV. 

    The second but more important reason is the license and the feeling to making a game myself. I don't like to use freebies when I have a commercial project - I think thats not fair and

    it's unsure because the author maybe change the license terms later. 

    For now my JS skills not as good as I need to make a plugin like these, so I have to do this via events and the "how" is the question.

    I tried many Script Calls and some working nice but not perfect. :)

    Learning JS will take me a long time, so I can't "just write code" when I need it. ;)
  6. This can be easily done with a plugin script. Why not use freebies for a commercial project then credit them?

    I, too, don't want to use them as much as possible but I have the patience to learn things for myself.

    Unless you change your mindset of not learning or taking a lot of time, you won't get anywhere.

    In any case, you can't do it with events alone. I've looked at possibilities and there's always a "need to script" part.
  7. zon3y said:
    Hey,

    it's both. Actually I can't make it myself, that's why I try to learn JS in MV. 

    The second but more important reason is the license and the feeling to making a game myself. I don't like to use freebies when I have a commercial project - I think thats not fair and

    it's unsure because the author maybe change the license terms later. 

    For now my JS skills not as good as I need to make a plugin like these, so I have to do this via events and the "how" is the question.

    I tried many Script Calls and some working nice but not perfect. :)

    Learning JS will take me a long time, so I can't "just write code" when I need it. ;)
    You're really missing the whole point behind plugins, but hey if you want to do it yourself great.  Do it.  Get the plugin, learn from it and make your own.  It'd be simpler than trying to figure out how to accomplish it via eventing.  Javascript isn;t that hard, it's certainly easier than Ruby.  But hey, to each his own.  Do it however you want.  Just kinda odd you come here, ask how it's done, people tell you, but it's not good enough for you.  Whatever.  Good luck...