Jump to content
  • Advertisement

bugeja

Member
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

100 Neutral

About bugeja

  • Rank
    Newbie
  1. It has to be pulled off right. The original Golden Sun games had the main characters as mutes, and they could only say "yes" or "no" to agree or disagree with the conversation, and everything was driven by the other characters so you were in a sense a spectator, but still not left out. The latest Golden Sun: Dark Dawn feels less 'right' in the sense where the dialogue is so lame, and the characters want your confirmation on EVERYthing they say. Kind of annoying and slows down the dialogue.
  2. bugeja

    What makes an antagonist?

    A good antagonist should threaten something that the player holds dear to them or to others. Does the antagonist just want to destroy everything? If so, why? What leads to that psychologically? Why is the antagonist the way he is? This could lead to the player not so simply "hating" the antagonist, but feeling sorry for the antagonist, pity. The antagonist might not even be truly 'evil' in the sense, he may just stand in the way of what the player wishes to achieve. Does the antagonist have to be evil at all? The trick with writing anything is asking provokative questions. Question anything you come up with, it will reveal plot-holes, flaws, it will provoke different thoughts and at the end it might create something totally different to what you first thought, but you'll find it is also totally different to what anybody else has done in most cases. Through following these steps I created an antaognist who is not in the sense an 'evil being' but has been twisted to do evil things by his diminishing state-of-mind due to the plot devices within my story. The players come to realise this later on but they have no choice but to oppose him and kill him as he is threatening something great to the plot device. So in a sense, the player is hesitant, and can feel the hesitation of the characters into defeating this antagonist too. It creates more depth than simply "one day there was somebody who wanted to rule the world, let's kill him". Hope it helps in your thinking process
  3. Thanks for the quick replies. I did actually think of just "moving" it off the page so it was essentially hidden just after I posted this. But I can't get a hold of the Media Player itself, I have to make another DIV to put it in and control that, but it is working ok. I still can't change the opacity so it fades in and out like the rest of the objects on the screen, but at least it's hiding and showing now. Thanks Matt
  4. Hi everybody, I posted a question before about jQuery that got answered and my web development pushed forward and skyrocketed, so thanks for that. I'm at the last obstacle of this same site, and I've embedded a media player (premium beats) to show off the musician's music samples. I will explain how the site works because I can't post it onto the web as per the confidentiality agreement. There is only one page to the website, there are 4 links. From the 'home' page (no content open) when you click on a link, the content panel will slide onto the screen (using jQuery animation) and the information (relevant to the link you clicked) will display on top of the content panel. After the content panel is open, any link you click on will just swap the information shown, and the content panel will not slide back off the screen until you click on the musician's logo, which essentially brings you back to 'home'. The problem is, the media player I've imbedded will not co-operate with the parent DIV that it is in that displays and hides like the rest of it. It is simply always there, even when the content panel and information are not. This is apparant in Safari, IE and Chrome. In Firefox 4 it works perfectly and hides and appears as per the parent DIV, but the other browsers don't play along. As it is calling scrpt from some AJAX which I cannot edit, I don't know how to tell the player specifically to hide or show so it works with the other browsers. The only code I had to embed into my site was this: <!-- BEGIN JAVASCRIPT PLAYER EMBED CODE --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> <div id="media-player"></div> <script type="text/javascript"> var options = {}; options.firstColor = "e1e1e1"; options.secondColor = "ffffff"; options.backColor = "6d4470"; options.fontSize = "large"; options.strokeColor = "cccccc"; options.playlistXmlPath = "playlist.xml"; options.defaultVolume = "75"; options.autoLoad = "true"; var params = {}; params.allowScriptAccess = "always"; swfobject.embedSWF("OriginalMusicPlayerPlaylist.swf", "media-player", "265", "220", "9.0.0","expressInstall.swf", options, params); </script> <!-- END PLAYER EMBED CODE --> Does anybody know of a way that will fix this solution. I have also tried hiding the 'media-player' DIV directly yet it doesn't do anything. So the problem seems to be lying in the actual object itself, but how am I supposed to control it???
  5. http://www.dynamicdr...ead.php?t=55080 Might be right up your ally. I would reccomend you look into using jQueryUI since they offer animate and you can set from inheritable x.y location to x.y locations and set a timeout/transition step on PP/s (pixels per second). http://jqueryui.com/ -Mayple [/quote] Tried looking into jQuery but couldn't get my head aroudn it, but I have figured it out, and it's as simple as copying the jQuery file into you folder and directing the HTML to it. I then found this code and customized it and started playing around with it and just put this in: $('#performances').click(function() { $('#info').animate({ right: '0', }, 1500, function() { // Animation complete. }); }); And it works. Thanks for the help guys.
  6. Hi, I'm not quite new here, (had to make a new account) but I've been building a few websites and it came time for me to make some elements move on the page. After a lot of mind-boggling trial and error I got two objects to move where I want, but I need them to move to that position smoothly instead of 'jumping' there. Here is the javascript I have at the moment for them. I have a button in the HTML that triggers an object to appear and two objects to slide across to make room for it. function showStuff(id) { document.getElementById(id).style.display = 'block'; } function slideOverDetails(id) { Obj=document.getElementById(id); Obj.style.right='413px'; } function slideOverImage(id) { Obj=document.getElementById(id); Obj.style.marginRight='360px'; setTimeout("slideOverImage(id)",'90'); } As you can see I've tried testing out the Timeout function but it obviously doesn't work. One of the objects must move using the "right" style, and the other using the "marginRight" style due to the way the website is structured. Is there a way to make these two objects move to the positions that I have listed there progressively as though they were sliding and then stop at that position using some sort of "relative to position movement"? Any help or pointers would be greatly appreciated, I can't make sense of the tutorials out there, they go way over my head, I've been looking for days. Thankyou in advance.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!