playMaker

Author Topic: Get texture from computer .....[SOLVED]  (Read 2825 times)

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Get texture from computer .....[SOLVED]
« on: May 13, 2014, 04:57:44 AM »
Hi !
current i make a webgame
in the game my member need load picture from they computer to create avatar
it really look like Action : wwwObject

but it got data from computer not from internet
and it should work on  : web platform

Thank! Please help me
« Last Edit: May 13, 2014, 09:03:57 AM by eotiti »

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Get texture from computer .....
« Reply #1 on: May 13, 2014, 07:54:44 AM »
just put "file:///" before the location.

Ex: "file:///c:/blahblah.jpg"

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: Get texture from computer .....
« Reply #2 on: May 13, 2014, 09:03:27 AM »
Haaa i did it thank you so much Marsh!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Get texture from computer .....[SOLVED]
« Reply #3 on: May 13, 2014, 09:58:26 AM »
Ironically I was looking at doing this last night and noticed there was no option for Audio from file.. so I added the slot and also put some relative pathing into the action as an option.

Might be handy here, as explicit paths aren't ideal most of the time and I didn't think we could shovel the code into the action, so an option would be more convenient.

http://hutonggames.com/playmakerforum/index.php?topic=7290.0
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D