locohost's Recent Forum Activity

  • Oh but wait, I think when you load the sprite image from url, it will change the image for every sprite on the screen, not just one particular instance. So you still would need a many, many unique sprite instances for each different card. Damn I think this kills it.

    We need to be able to create an instance of one sprite, call it "cardSprite", then load that cardSprite instance image from the file and not change the image of every other cardSprite instance.

  • jojoe Still reading but it looks like just the ticket! Thank you!

  • Interesting. I'll look at that. Thank you!!

  • I know c2 can load images in, they just need a url which can be stored with all the data in text or json.

    Yes this is true, I've considered this, however I'd need to either distribute a Node/Express web app with the game just serve the images. Or I'd have to host the images on a web site, which is possible but not practical. Plus that means the game will never work offline.

    Someone must have made a plugin to load images from a local folder right? I'm searching...

  • I do know the "create a giant sprite sheet that has every card face" option, then you can select the sprite frame by an Id. But this means every card sprite in play is huuuuge because every card is the entire set of all cards! Wouldn't this use a S-ton of RAM when you get a bunch of cards out?

  • Create a C2 app that is user customizable in that she/he can provide a folder of images and an Xml file. The Xml specifies certain set of game elements to create during runtime that correspond to the image files. Think "a TCG deck" for example.

    A C2 sprite cannot be dynamically created by a name/Id. So there is literally no way to do this in a C2 app other than hard coding a "card factory" function with an enormous block of if/thens?

    Thanks for any tips

  • Hey I just found this... http://peerjs.com

    Yeah this very awesome. Someone wrap PeerJS up in a C2 plugin and I'll pay your for it

    No, seriously I will pay

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Well that's not totally true, you could use Skype or Google Hangouts. Either of those would work too. But Skype calls can get flaky. I'll be testing Discord sometime soon. I'll LYK how it works. Fingers crossed

  • It appears to be the only option for C2 game right now.

  • Correct

  • TeamSpeak maybe if a plugin can be built. Use Discord. It looks amazing and nothing to code. Just use it beside your game.

  • Ok so I'm the only one

    Here is some info I've found so far. Hope this helps someone...

    https://www.teamspeak.com/teamspeak3sdk has an SDK you can purchase.

    https://discordapp.com/ is an app/service that you can run beside your game.

    Both look like pretty awesome VOIP integration options but Discord is free and that fits my budget better right now

locohost's avatar

locohost

Member since 19 Sep, 2014

None one is following locohost yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

14/44
How to earn trophies