Author Topic: Interactive areas with mouse  (Read 3549 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Interactive areas with mouse
« on: October 05, 2018, 12:46:50 PM »
Compatibility with mouse will be cool, also adding some invisible blocks that executes when the mouse clicks it.
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #1 on: October 05, 2018, 05:45:42 PM »
Yes. That would be cool. Like mouse click stuff where commands are executed.

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #2 on: October 06, 2018, 12:59:16 PM »
It would be a command block that is invisible, and it can easily be used for my ideas! Like asking questions. I would also make them spawnable. And replaceable!

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Interactive areas with mouse
« Reply #3 on: October 06, 2018, 02:15:15 PM »
I think with conditionals and variables there is no point to spawn them or replace them, because you can set a variable to 0, and when you want to the player able to click this block, set it to 1, and you can make this commands, for example.

if game var 1 = 1
{
# Execute things
}
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #4 on: October 06, 2018, 02:24:43 PM »
I think it would be easier my way.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Interactive areas with mouse
« Reply #5 on: October 06, 2018, 02:44:54 PM »
You can think whatever you want, but I have programmed in the past, and I easily did things like the way I did and works fine.
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #6 on: October 06, 2018, 02:55:02 PM »
I never knew you programmed.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Interactive areas with mouse
« Reply #7 on: October 06, 2018, 03:06:58 PM »
I used GML a little, I know perfectly Scratch, I did Minecraft Plugins with Skript but is not a very big thing.
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #8 on: October 06, 2018, 03:29:33 PM »
Ah.

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #9 on: October 06, 2018, 03:45:51 PM »
Huh?

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Interactive areas with mouse
« Reply #10 on: October 06, 2018, 04:20:34 PM »
Sorry, I now understand why I didn't post it, that was supposed to be in the Castle-Chamber topic, but seems I post it where I don't want to  :-[ :-[
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #11 on: October 06, 2018, 04:21:06 PM »
Ah.

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Interactive areas with mouse
« Reply #12 on: October 21, 2018, 12:08:12 PM »
I beg you Ting! Please add this in the next update where you add a couple new features! Just copy the invisible block and use it as a template. Then say that when the mouse left clicks it, it executes commands! It shoulden't be a problem.