Welcome
Welcome to the Official<strong>World of Phaos</strong>Forums.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining the World of Phaos community for free, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join the World of Phaos community today</a>!

AzureGale

If you have Modified WoP, and I mean majour modifications. Then post a link here and tell us about it.
(PLEASE NOTE: If you intend to Modify WoP please Email Zeke and explain to make sure he is ok with it. WoP is zekes' baby and he would like to know if you intend to do any MODs.)

Moderators: zeke, Aradan

Re: AzureGale

Postby jpoisson » Mon Jun 01, 2009 3:06 am

Sorry about posting so much but i think i managed to find a chat program. I am just testing it out for you. and making a quick tutorial on how to use it... if need be.
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: AzureGale

Postby DaWolf » Mon Jun 01, 2009 3:58 am

np about posting, these forums need it ;) there is currently only 3 of us for an entire forum lol.

I know how to round it to nearest whole number, but not nearest .01 sorry..

The banner is incomplete, my artist is in the UK for the week, so if you get the layout done soon, I'll have him design the banner more towards your layout.

Thanks!
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: AzureGale

Postby jpoisson » Mon Jun 01, 2009 5:44 am

Well it I want to place the like the stat logos and stuff like that with in the banner depending. to save on space. so I will work on the design but... i can't finish it 100% due to the fact i still have to incorporate the banner but i will have it finished before the banner is done...
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: AzureGale

Postby DaWolf » Mon Jun 01, 2009 6:06 pm

Well I have a basic banner now that I made, but all it is is a retextured image to be black and white.

Do you just need the dimensions, or are you trying to embed the buttons into the banners image? let me know!
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: AzureGale

Postby mccragge » Tue Jun 02, 2009 1:15 am

jpoisson wrote:Yea I will help you develop the status bars. Umm it isnt really that challenging.

Code: Select all
<div id="wrapbars">    
   Health (HP): <? print $character->hit_points; ?>/<? print $character->max_hp; ?><br/>
   <div class="bars">
      <div>
         <img src="images/Layout/bar_red.gif" alt="" width=" <? print $character->hit_points / $character->max_hp *100; ?>%" height="5px">
      </div>
   </div>
   Stamina:  <? print $character->stamina_points ?>/<? print $character->max_stamina;?><br/>
   <div class="bars">
      <div>
         <img src="images/Layout/bar_yellow.gif" alt="" width="<? print $character->stamina_points / $character->max_stamina * 100;?>%" height="5px">
      </div>
   </div>
   Level Up:  <? print $character->xp / $char_next_lev_xp * 100;?>%<br/>
   <div class="bars">
      <div>
         <img src="images/Layout/bar_cyan.gif" alt="" width="<? print $character->xp / $char_next_lev_xp * 100;?>%" height="5px">
      </div>
   </div>    
</div>


and this is the styles you need to add to get this working.
Code: Select all
.bars {
   border: 3px solid #333333;
   margin-bottom: 2px;
   width: 120px;
}

.bars div {
   background-image: url(../images/Layout/bar_no.gif);
}

#wrapbars {
   clear: both;
   padding: 5px 0 5px 0;
}


If you would like for me to explain the code for you I would be glad to but it seems pretty self explanitory. and for the images just go to my site and save them.


Awesome dude I really appreciate the help. :)

You know there may only be three or four of us on these forums right now, but if we keep plugging away at it, we will attract more people. And in any case it seems we are all making huge headways in our games. They are all looking awesome.

I also wanted to add that I added the bar feature onto my side bar and it looks great...thanks again!

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: AzureGale

Postby mccragge » Tue Jun 02, 2009 9:55 am

It seems there is a problem with the XP bar. When you gain a level it doesn't reset the bar to zero, rather it counts all your current xp vs the xp needed. So when you gain a level you have a bar that is nearly full rather then being empty and gradually refilling.

How would I go about fixing this issue?

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: AzureGale

Postby DaWolf » Tue Jun 02, 2009 6:45 pm

Honestly McCragge, I think that would be a better way anyway, it lets people see that there is always progress.
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: AzureGale

Postby mccragge » Wed Jun 03, 2009 12:39 am

DaWolf wrote:Honestly McCragge, I think that would be a better way anyway, it lets people see that there is always progress.



No I don't think you understand.

For example, I am level 1 and 0 xp...I need 100 xp for the next level. The XP bar starts empty and gradually fills until I get to level 2.

Now, I have 100 xp, and I need 200 xp to get to the next level....but the xp bar doesn't go back to empty showing I am at the beginning of this current level, rather it shows that I already have 50% of the xp needed for the next level.

See the code is taking the total amount of xp i have and comparing it to the next level and returning that percentage.

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: AzureGale

Postby DaWolf » Wed Jun 03, 2009 5:23 am

I understood that, I like that idea.

I think it gives players the idea that they have already made progress based on last level, towards level 3, 4, ect...
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: AzureGale

Postby jpoisson » Mon Jun 08, 2009 5:33 am

Mccrage in order to fix this problem we need to modify the way a player levels, or at least add some type of a level lock... that we can set a base for each level
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: AzureGale

Postby mccragge » Mon Jun 08, 2009 9:07 am

jpoisson wrote:Mccrage in order to fix this problem we need to modify the way a player levels, or at least add some type of a level lock... that we can set a base for each level



How did you fix the problem on your game?

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: AzureGale

Postby jpoisson » Mon Jun 08, 2009 1:28 pm

I havn't got around to fixing it but here are my thoughts on the idea so far.

I need to split the users xp into current_exp and base_exp

so every time you level your current exp gets added to the base exp, and the current exp reverts to 0.

also this shows your current exp towards the next level while the current exp is always added onto the base which the base determines your level.





if anyone understands this :) then my job is yet to be finished.
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: AzureGale

Postby mccragge » Mon Jun 08, 2009 5:58 pm

jpoisson wrote:I havn't got around to fixing it but here are my thoughts on the idea so far.

I need to split the users xp into current_exp and base_exp

so every time you level your current exp gets added to the base exp, and the current exp reverts to 0.

also this shows your current exp towards the next level while the current exp is always added onto the base which the base determines your level.





if anyone understands this :) then my job is yet to be finished.


That is what I had to do to fix on my game, which means adding in 1000 entries in the level database :)

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: AzureGale

Postby jpoisson » Mon Jun 08, 2009 6:51 pm

yay a thousand entries..
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: AzureGale

Postby mccragge » Tue Jun 09, 2009 4:19 pm

jpoisson wrote:yay a thousand entries..



a thousand levels in the game, a thousand entries in the database :(

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

PreviousNext

Return to Mods

Who is online

Users browsing this forum: No registered users and 0 guests

cron