Jump to content


Photo

Any replacements for missing actions?


  • Please log in to reply
14 replies to this topic

#1 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 14 June 2012 - 02:32 PM

There are some actions out there on old versions of GM that are gone in GM:Studio, which is really interrupting my game making progress...
Does anyone know any way to replace them?
  • 0

#2 PWL

PWL

    The non-pixel-artist

  • GMC Member
  • 686 posts
  • Version:GM:Studio

Posted 14 June 2012 - 02:41 PM

It would be useful to know which actions you're needing, though :P
  • 0

#3 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 14 June 2012 - 02:52 PM

It would be useful to know which actions you're needing, though :P

Well let's see, for example the step actions in the move section. They are gone in Studio...
  • 0

#4 PWL

PWL

    The non-pixel-artist

  • GMC Member
  • 686 posts
  • Version:GM:Studio

Posted 14 June 2012 - 05:25 PM


It would be useful to know which actions you're needing, though :P

Well let's see, for example the step actions in the move section. They are gone in Studio...

Oh! I never use drag n drop actions.
Seems like you have to go with codes on a lot more things in studio!
Like move_towards_point(x,y,sp); for example.
  • 0

#5 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 14 June 2012 - 05:59 PM



It would be useful to know which actions you're needing, though :P

Well let's see, for example the step actions in the move section. They are gone in Studio...

Oh! I never use drag n drop actions.
Seems like you have to go with codes on a lot more things in studio!
Like move_towards_point(x,y,sp); for example.

Yeah I tried to do that, (the exact same script you just gave me LOL) but I need the thing that it avoids solid objects... what do I do there?
  • 0

#6 Jobo

Jobo

    No neurons left today

  • GMC Member
  • 2404 posts
  • Version:GM:Studio

Posted 14 June 2012 - 06:19 PM

mp_potential_step()

  • 0

#7 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 15 June 2012 - 09:04 AM

mp_potential_step()

I'll give it a try, I am still new to scripting so I have a lot to learn :P
  • 0

#8 PWL

PWL

    The non-pixel-artist

  • GMC Member
  • 686 posts
  • Version:GM:Studio

Posted 15 June 2012 - 09:38 AM


mp_potential_step()

I'll give it a try, I am still new to scripting so I have a lot to learn :P

It's not that hard to learn. Just replace some of your actions with code now and then, and you'll learn faster than you think! :D
I usually replaced actions with code when you need
if blablabla 
{ 
something here 
}
cause that's a lot of lines with actions, and is cleaner with code.
  • 0

#9 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 16792 posts
  • Version:GM:Studio

Posted 15 June 2012 - 10:45 AM

The mp_functions are quite well documented in the manual, and I have a LOAD of tutorials that will also help you get to grips with those functions... http://nocturnegames.../aiexamples.htm
  • 0

#10 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 15 June 2012 - 11:59 AM

Wow, thanks guys! You just make me wanna learn more! ^^
It's time to replace the drag and drop actions with scripts!
  • 0

#11 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 15 June 2012 - 12:07 PM

mp_potential_step()

Also just a question, what do I do if I want it to avoid more than one object?
  • 0

#12 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 16792 posts
  • Version:GM:Studio

Posted 15 June 2012 - 01:15 PM

Give them a single "parent" object and then use the same codes, but looking for the parent object instead of the individual ones. Again, the manual is your friend! (I also have a parent tutorial on the site I linked to somewhere!)
  • 0

#13 Mike.Dailly

Mike.Dailly

    Evil YoYo Games Employee

  • Administrators
  • 1482 posts
  • Version:GM:Studio

Posted 15 June 2012 - 03:03 PM

They there, so we will try and "bring them back" into D&D.
  • 0

#14 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 16 June 2012 - 06:13 AM

Give them a single "parent" object and then use the same codes, but looking for the parent object instead of the individual ones. Again, the manual is your friend! (I also have a parent tutorial on the site I linked to somewhere!)

Parent? I noticed that a lot of times but I never understood what it does, time to learn xD
Also I did some "research" and I found the right script for that! :D
  • 0

#15 Neri

Neri

    GMC Member

  • GMC Member
  • 59 posts
  • Version:GM:Studio

Posted 22 June 2012 - 11:06 AM

Oh yeah that reminds me, when I use the "Color Sprite" action (which I haven't learned how it works in coding yet) DOES NOT WORK NO MATTER WHICH OBJECT USES IT OR IN WHAT EVENT IT HAPPENS IN...
EDIT: It only happens in HTML5 games, THAT'S what confuses me O_o

Edited by Neri, 22 June 2012 - 11:09 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users