playMaker

Author Topic: [SOLVED] Real time calculating score (Edit solution: Every Frame + Per Second)  (Read 6890 times)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Real time calculating score
« Reply #15 on: February 17, 2014, 06:37:23 PM »
if you want a decimal point then you need to use a float. Integers do not have decimals.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Yonben

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Real time calculating score
« Reply #16 on: February 17, 2014, 06:41:12 PM »
Wow.. Is my english that bad? :x
I want to calculate everything with decimal (floats) but I want the final score to be without decimal. So I NEED to convert it to int I guess.. Anyway I guess it's solved :) Thanks!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Real time calculating score
« Reply #17 on: February 17, 2014, 07:07:56 PM »
Wow.. Is my english that bad? :x
I want to calculate everything with decimal (floats) but I want the final score to be without decimal. So I NEED to convert it to int I guess.. Anyway I guess it's solved :) Thanks!

Oh, yeah you need to convert it into an Int at the end, before you display it if that is your final goal. Sorry =)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Yonben

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Real time calculating score
« Reply #18 on: February 17, 2014, 07:10:44 PM »
Thanks a lot! Really improved my game thanks to you guys!! Good job :) On my way to get out of the Noob Zone I promise :p

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 Yes, you can use the action "Convert float to int".

bye,

 Jean