Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mnemonic

Pages: 1 ... 3 4 [5] 6 7 ... 382
61
Technical forum / Re: in-game money....
« on: March 13, 2014, 05:59:07 PM »
Since WME doesn't have any built-in functions for formatting decimal numbers, the easiest way would be probably to compose the string yourself, something like this:

Code: WME Script
  1. var MoneyItem = Game.GetItem("money");
  2.  
  3. var centsStr = "";
  4. if (moneycents < 10) centsStr = "0";
  5. centsStr = centsStr + ToString(moneycents);
  6.  
  7. moneytotal = moneydollar + "." + centsStr;
  8. MoneyItem.AmountString = moneytotal;
  9.  

62
Game announcements / Re: Kingdom Wars : Android : strategy card game
« on: March 12, 2014, 08:44:47 AM »
It looks great, congratulations!
It's the first WME game at Google Play, isn't it?

63
Technical forum / Re: in-game money....
« on: March 12, 2014, 08:42:55 AM »
Don't use the item.Amount, property, use item.AmountString instead. Then you can assign just about any text to the item.

64
WME Lite / Re: New Errors
« on: March 08, 2014, 12:32:45 PM »
Well it's easy to see for yourself, this is the current version of BFileManager.cpp: https://bitbucket.org/MnemonicWME/wmelite/src/86b172ec1a41044e22059523529e678f839240db/src/BFileManager.cpp?at=default

65
WME Lite / Re: New Errors
« on: March 08, 2014, 12:27:27 PM »
This is the plain project file from bitbucket, with no changes, other than the provisioning profiles.
I'm pretty sure it's not. The boost dependency has been removed many months ago.

66
Development / Re: Using more SDL projects?
« on: March 06, 2014, 06:15:43 PM »
Unfortunately, I know next to nothing about SDL mixer. I will have to take a look one of those days.

67
General Discussion / Re: link to something I wrote about WME
« on: March 03, 2014, 07:47:35 AM »
Thanks for your kind words and for brightening my Monday morning :)

68
Technical forum / Re: Is DCP file size-limited or not?!
« on: March 02, 2014, 12:25:33 PM »
You can simply divide your resources into multiple packages. Currently you have one "data" directory in your project. You can create other directories on the same level, right-click them in ProjectMan and choose "Promote to package". Now if you compile the project a new package is created for each of such directory.

69
Technical forum / Re: wme.log : Maximum texture size ?
« on: February 21, 2014, 08:44:43 AM »
It's the maximum texture size supported by your video card.

70
Technical forum / Re: Attaching scripts from external sources
« on: January 31, 2014, 06:45:12 PM »
No, not really.

71
Technical forum / Re: Attaching scripts from external sources
« on: January 31, 2014, 07:44:04 AM »
By default *.inc files are excluded from the compiled project, because normally they're not needed. See your project settings -> filters.

72
Technical forum / Re: Attaching scripts from external sources
« on: January 30, 2014, 09:45:55 PM »
Oh I meant the DLL needs to be in the game directory.

73
Technical forum / Re: Attaching scripts from external sources
« on: January 26, 2014, 12:39:22 PM »
You would need to bundle the script compiler (dcscomp.dll) with the compiled game. It will only work on Windows.

74
Technical forum / Re: How to place an inventory item first
« on: January 19, 2014, 04:13:02 PM »
I think you'd need to remember taken items, drop them, then take them again in the required order.

75
General Discussion / Re: Merry Christmas and a Happy New Year
« on: December 29, 2013, 03:02:12 PM »
Happy new year, everyone! I hope you have a nice and productive 2014 :)

Pages: 1 ... 3 4 [5] 6 7 ... 382

Page created in 0.045 seconds with 21 queries.