tunepunk's Recent Forum Activity

  • I don't see why IAP/Paypal should be any problem. If you can link their user profile with account balance on your website, whenever they do a paypal transaction you could just check the database if they have made the purchase.

    Maybe firebase or some other similar thing will do?

    Let's say they they create an account on your web-page. This is also their login in the game. If the buy for example ingame currency with paypal, you could just check if their account ? I'm not an expert or anything on databases but I don't see why this should not work. I think the only thing you need to be careful about is security.

    It's not hard hacking a html5 based game to add ingame currency. I've seen examples of that even here on Scirra store, where people hacked their high score.

    I'm not sure if this will work, but can't you display web-pages in Construct? if so maybe just an iframe loading a banner from any other traditional ad-network?

  • Phacanu? Alright thanks... how do I read those variables when they arrive then? This way was a bit above my knowledge.

  • unicornspitfire they used to have a product especially for turn-based, but maybe chat will do the trick? At least you can try it out

  • Thanks. I'll try that then. I just followed the examples provided by photon. They used arrays so.... how do I send multiple variables in one event without arrays?

  • Phacanu Yes it's pretty inefficient. I'm sending XY and direction and some other stuff in an array every 0.1 seconds while moving because I didn't wanna lock directions. I Know you can make it much more efficient by only sending move start and direction, then move stop when you stop to move, but that would only work if i locked directions. i don't wanna restrict the player to any directions. Since you can move at any angle I need to update frequently for it to be accurate. So far i havn't figured out any more efficient way for a free 360 movement, and aiming.

    although it looks like i forgot to round some numbers before sending lol.

  • You do not have permission to view this post

  • Prominent if you're developing for mobile i can really recommend a laptop with touch functionality, or some kind of tablet hybrid surface like product. It really speeds up testing as you can touch the screen directly, and don't need to test on a mobile device every time. If you're not targeting mobile, any decent laptop will do.

  • Artpunk I haven't done co-op but by game arrowheads that i'm working on from time to time is a quite fast paced shooter. You can go to http://www.tunepunk.com/arrowheads in two different browser windows side by side... move your characters close to each other, and fire an arrow. The lag is very minimal... pretty much instant, so I don't think it will be a problem.

    If you wanna try the game on a pc, the game is touch based, so move around by clicking and dragging left side... shoot by clicking and dragging backwards on the right side..

    Or you can open one instance on your phone and one instance on your pc to see if there's any lag.

  • The free user limitation is ok. If you get more users constantly playing your game you're probably earning enough already to cover the fee of the next tier, depending on how you well you monetize your game of course.

    Artpunk

    Photon supports all platforms. So far i have had no problem with either android ios, windows phone, and pc all can even play against each other in the same rooms. I'm targeting mobile and i think it's perfect for that purpose as your don't need the host/peer setup. I guess Mobile users wanna be able to just jump in and play at any time against random people, or create rooms to play with friends... very simple to setup. You can disconnect from a room and keep the room open until the last one leaves.

    For me it was very comprehensible...

    if player 1 moves... you send that to the photon server which then sends that movement to the other clients.

    if you fire a shot. You can first send that to photon server then to all clients including yourself to have the shots somewhat more synced.

    Most of the time the lag is minimal. I haven't measured any exact ping but on mobile, any lag will probably be caused by your mobile connection, not photon.

    I'm not an expert but if you decides to play around with it, I'm happy to answer some questions.

  • You can try the Photon Cloud plugin. I'm using it and find it way easier than the built in Multiplayer plugin. It doesn't really use the traditional Host/peer setup. So even if the "host" leaves the game is still running.

    Here's a link to the plugin.

    In my game i'm using random rooms of max 4 players. You just connect and start playing with random people from anywhere.

  • I'm not sure. I havn't tested pathfinding on iphone, maybe the webview on iphone can't handle web workers? Detailed here in the manual under finding paths.

    https://www.scirra.com/manual/154/pathfinding

    As for the stutter, I'm experiencing as well across several devices and even on pc, but seems to be related to garbage collection. Maybe Canvas+ handles garbage collection more efficiently than webview and regular web-browsers?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure if you solved it yet, but the easiest way to do this is to pin the objects. then rotate the pivot points.

    Use the pin behaviour on the sprites you want to rotate around the pivot.

    Here's a c3p example as it looks like you're using C3.

    https://www.dropbox.com/s/46ys4wndes1ns ... t.c3p?dl=1

tunepunk's avatar

tunepunk

Member since 2 Mar, 2014

None one is following tunepunk yet!

Connect with tunepunk

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies