Hero6
It is currently Tue, 26 Nov 2024 07:39

All times are UTC - 8 hours


Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Mon, 17 Feb 2014 19:17 
Offline
Site Admin
User avatar

Joined: Wed, 18 Dec 2013 09:56
Posts: 101
I had an idea for the sound effect when a user scores points. I created an 8-bit wav based on the current intro sound (MUSIC2).

Let me know what you think!


Attachments:
Scored Points.wav [189.47 KiB]
Downloaded 3290 times

_________________
Robert

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"What good is knowledge and wisdom if you can't use it?" - Erasmus
Top
 Profile  
 
PostPosted: Tue, 18 Feb 2014 10:26 
Offline
Glory Hound
User avatar

Joined: Mon, 27 Jan 2014 21:45
Posts: 65
Sounds good enough, not really sure how it would play in with the style of the rest of the musics/sounds, but we can use it.
Can I hound in you into making some changes while the score is brought up? Right now score is represented with a hardcoded label, if you make the following change it would make things much simpler for us later on.

gTopBar -> Score -> Text
From "Score: 0 / 500" to "Score: @SCORETEXT@" Will probably need to adjust position and size

And the score can be adjusted like so:
Code:
game.score += 5;


I think this will give us an automatic refresh every time game.score is changed, I tested it between room transitions. With a function which adjusts game.score and plays a sound at the same time we're ready to implement a score system anytime.


Top
 Profile  
 
PostPosted: Tue, 18 Feb 2014 20:54 
Offline
Site Admin
User avatar

Joined: Wed, 18 Dec 2013 09:56
Posts: 101
Just put the string reference in the topBarGUI and it looks good. Tested the label width by giving the player 500 points for attacking the rogue in the first scene. We'll need to change this once we can determine the point-worthy actions possible for each character type (fighter/mage/thief). Right now I have it set to give 5 points when you defeat the Rogue.

Also, it's better to use the built-in GiveScore function so the sound effect will play.

You were right about the sound! It sounds awful in the game. That's what I get for doing an 8-bit sample with an online synthesizer. I'll see if I can come up with something better...

Also, I fixed that icon issue with the Character Selection back button.

_________________
Robert

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"What good is knowledge and wisdom if you can't use it?" - Erasmus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 8 hours

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group