dos88's Forum Posts

  • What you could do is, instead of using global variables, use Photon's property of actor. It is synced between all players in the room automatically.

    Thanks for the reply!

    Well I did stumble onto that yesterday lol. but my issue is now since I have the players angle set to the mouse I can't seem to get it across to every other player. I have no idea how to sync that up xD

    PS. I am trying to learn by doing :3

  • So I am playing around with Photon and i'm trying to sync up movement & attack animations which use global variables yet I have no idea where to begin since there is no actual documentation on photon/c2 and the demos don't help at all. Anyone know where I can start rofl ?

  • Thanks man! that's what I needed

  • Thanks guys! the examples helped a ton!

    My only problem is that I have a specific image point setup for each grid block which is "1"

    All I need to know now is how to add that to the existing examples.

    Been trying a few different variations but I can't seem to add the image point to the position, always ends up telling me I cannot add a period. lol

    obj_playerGrid.ImagePointX

  • Yeah lol, I don't understand.

    Thanks for trying to help me though.

  • Ok so I have a grid of 3x3 setup in 64x64, each block in the 3x3 grid has a "GridBlock Number" instance variable set too it, I am trying to spawn my player random on one of the grid blocks, I have tried quite a few different things like "choose(obj_playerGrid.GridBlock&1,2,3)" which had no effect other than setting the player on the top left corner. Is there anyway for my to set player position to object and than have it randomly select a GridBlock variable number say 0 - 8 and place the player correctly on that block ?

  • dop2000

    Thanks! Those are some good resources, but I am still a bit lost on

    Say I.E I have a global variable var_Name = "John; Sally; Joe"

    Now say the text choose Sally randomly out of that, how would I save that specific information is what I need to know, I went threw most of that information you gave and I can't seem to figure that part out :#

  • Have been learning to use Photon so I thought I would make an online roguelike.

  • Ok, so I am creating a random character creation sheet which looks at a global variable such as var_Name and sets ones of the variable text to the text file I have on the layout using this

    tokenat(var_Name,floor(random(tokencount(var_Name,";"))),";")[/code:3mwzwluu]
    
    Now I have everything working so far but I need to find a way to save the randomly chosen information either locally or online or even both, so that I can allow the player to reload this data and be able to call it up & reference it in game, so my overall question, is there any way I can save a randomly chosen piece of text from a global variable into a savefile.
  • filedropper.com/showdownload ... psuhdgames .capx

    r206

    The host moves fine, sees the peers correctly. When a peer moves, they get teleported to the host's position. Help?

    I'm fairly new to the Multiplayer stuff.

    Please post a working link to the capx project.

  • saying alot to say nothing , dude , the community asked for Linux and Mac they got what they want , who did tickle you or force you to use it on mobile ????

    And they said , they will create a standalone version for windows , linux and mac.

    In my case 2 hours each day in a bus , at least i can progress on my projects even 0.1% , it's always progress

    dont be selfish and think about yourself

    one last thing "swishmax" is dead because of HTML5 power which is not the case of scirra , The cloud , the web , HTML are the future

    Christ, you are such a fanboy...

    Also, how many backend video game users are still using Windows Vista, Windows 7, or Windows 8? Hasn't most of the world moved into some kind of tablet with its associated operating systems like Windows 10, so how can we continue using a product which isn't officially approved for what most of the world is using?

    I still use Windows 7 on almost every machine I get/use and will continue to do so in the foreseeable future, if I build a PC I install a "stripped" version of Windows 7 because I still think it's better than any of the updated crap Microsoft has shat out over the years.

    The world can keep updating into crap, i'm going to stay with what I like because it works best for me & I think this kind of thought is applied to most people who program, design, game dev etc.

    > I don't understand this strategy at all.

    >

    Its called a campaign. The same strategy movie/tv/game companies use. Release multiple teaser trailers, then different cut full trailers before a the content launches. Its all about generating hype and exposure over time via press, social media etc.

    The problem with this is there is no real hype because we don't really see anything new lol, we see C2 on a web browser & that's about it.. Oh that & a new yearly subscription model which the majority of the community dislikes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Buy.

    Most people here who use & enjoy C2 are hobbyist, myself included. I will not pay a subscription fee for C3.