Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Very stressful  (Read 893 times)

0 Members and 1 Guest are viewing this topic.

Zhello

N.A.D.I.
Very stressful
« on: March 22, 2009, 07:26:22 pm »
  • L'homme avec beaucoup de noms.
  • *
  • Reputation: +6/-1
  • Offline Offline
  • Gender: Male
  • Posts: 925
My main link obj is sword slashing link.  I want him pick up an object and thorw yet the link obj runs really fast, when he picks up an object, 2 sprites are there at once, just trying to add a link obj to another link obj is hard and stressful.  Is there a way to make atleast 3 link objs as one with out copy and pasting actions?
Logged
The IT Guy
Intermediate Coder
Linux is a wonderful thing
~Linkwolf48/Gumstone1080~

The Legend of Zelda - New Beginnings

http://zfgc.com/forum/index.php?topic=34986.0
1.6 Demo -
https://www.dropbox.com/s/56km0iadaras56g/LoZNB%20Game%20Folder.rar?dl=0


Side Projects:

Dragon Diary - Cybernetic Threat
Story: http://wiki.zfgc.com/Cybernetic_Threat

Quote
Aero88
ZFGC is like the Hotel California.  You can come in but you can never leave!

devianart: http://linkwolf48.deviantart.com/
Re: Very stressful
« Reply #1 on: March 22, 2009, 07:49:48 pm »
  • *
  • Reputation: +8/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6604
I am going to say this nicely, but STOP MAKING SO MANY TOPICS. It is getting to look like you do not care about the solutions to any of the topics you are making and people are not going to really want to help you in the future if you continue making their advice seem worthless. Furthermore, since this topic relates back to an earlier one, you could have possibly used the older, related topic to handle this issue.

What you are doing with multiple Link objects is bad. And believe me, I know. When I first started in Game Maker I had a Link made up of four-objects - one for each direction. It was terrible. The point is that single objects can do multiple things.

If you are going to use multiple objects for Link, I would recommend separating his overworld "normal" abilities (i.e. pushing, pulling, rolling, climbing, falling, walking, standing, swimming, etc.) and his item abilities (i.e. sword, shield, boomerang, bomb laying, etc.). However with this, there would be a parent Link object which would hold the code for moving around (you can move around while "normal" and you can move around with some items). I haven't really tested this out full-well but meh.

A lot of people just use the concept of states, which allows one Link object to do much of everything.


But yeah, look up polymorphism or inheritance in the Game Maker help manual for more information. And again, cut down on the amount of topics you are posting here unless you are not abandoning the previous topics that you made so quickly.
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.446 seconds with 41 queries.

anything