Jermfire's Recent Forum Activity

  • wow this is so old and outdated. For anyone who finds this, there is a built in multiplayer plugin, and a facebook plugin as well.

    Currently, the Facebook plugin isn't working right out of the box, but there is a fix for it on the forums.

    Can I be a forum janitor? Outdated info like this is just taking up space and researcher's time, and could be either removed or marked as outdated at least. This still does appear in google search results too.

    While searching for other info, I've been discouraged at seeing "x" not supported or "y" is broken, only to find out later after I abandoned my project, I was misguided by old outdated information. I managed to stumble upon the new info buried deep in a thread that says "x" is supported or there is a fix for "y".

    Just a bit of rambling I guess, but a more tidy forum would be nice....

  • I have seen more christmas then you had hot dinners Jermfire.

    As far as I can remember, I have had a hot dinner, every day of my life. Wait. 365 days in a year so...

    365 x 29 = 10,585. So you've seen over 10,585 Christmases?? Dude. Are you Moses?

    lol jk. had to pick at ya on that one.

  • that's true but one must understand one has already given one answer therefore one must know one must do. I gave him something to read I did not asked him to download anything

    If you notice, He responded to my answer positively in an understanding way. I didn't do the work for him. I didn't give him anything, but point out a simple location that actually has to be further researched if you don't know anything about configuring http headers. So He is still doing the work himself, but is now guided in the right direction.

    You still seem to misunderstand his post. He wasn't referring to you giving him something to download.

    He is saying he doesn't want to download the file in his original question. He wants to know how to link to it.

    Do you, or do you not know how to get C2 to read a file from an external website without downloading?

    That is the whole question. Yes, we all including op know how to add an xml from our harddrive into the "files" folder and get Ajax to read from it. The original tutorial that everybody always links to doesn't address op's problem directly.

    What the question is: How can I get Ajax to call up Http://www.somewebsite.com/folder/iwantthis.xml and read from it.

    Did I break it down enough?

  • Yes i've read but it's usless.

    I don't want download file from the website.

    He means he doesn't want to download the json file from that website. He wants to be able to read the link to it from inside C2 using Ajax.

  • Your choice not mine. If one wants to learn he or she would do anything. In your case sorry no comment

    Maybe they want to learn, just not able to explain themselves in a way we can understand...

    (I used to work with the special ed students in highschool. I know plently about lack of ways to express oneself.

    not saying he is special ed, but English may not be his native language. As well, there are certain terms used in game development and even in Construct 2, that may not be easy to express or readily understandable. )

    Flat out telling a person that you give up on them, and or they don't want to learn, when they are showing a simple lack of understanding/expression of words is degrading and rude. And really hurts one's spirit.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think what he is having trouble with, is getting the game to read a json or xml file from an external server(url). An issue I was having as well at one point. By default, browsers are set to block those request, so you have to give that permission manually.

    I think this is what your after? Copied from tutorial.

    Making AJAX requests cross-domain or in preview

    By default, browsers block AJAX requests across domains. This means, for example, a game on scirra.com can request other pages on scirra.com, but cannot request pages on facebook.com. This is an important security feature of web browsers (it is not specific to Construct 2 or its AJAX object).

    Also, when previewing in Construct 2 the game runs on localhost. This counts as a different domain to the rest of the internet, so typically AJAX requests to any web page will fail during preview, unless the server explicitly allows cross-domain requests.

    *** (this part is the trouble. Lack of explanation here down)****

    If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:

    Access-Control-Allow-Origin: *

    This will enable AJAX requests from any domain, but you should still be aware of the possible security implications of this. For more information on cross-domain requests see HTTP access control on MDN.

  • the rectangle looks to be a sprite. Have you changed it to a tiled background and seen any difference?

  • so this requires phonegap? Or can I use it without phonegap?

  • waiting patiently for this...

    If the legendary Rex is working on/with this...rainbows would spew from eyeballs and mouth! lol

    Keep up the good work guys!

  • I'm wondering what would be a good file system to use, so that 2 different types of games can read the same data. So far I've not seen a way to make a game write to XML, but if its doable, then I can possibly run with that. If anyone knows how to write to xml with C2 events please let me know.

    Main goal is to create a linked system of smaller games to connect, to form a larger expansive game.

    Lost?

    For instance, John buys "Farmer's Delux". Sally buys "Store Tycoon".

    I want to let John sell the wool from his sheep to Sally for her store. The money from Sally's store game, gets added to John's Farm game in exchange for the wool.

    These would be made as two separate buyable games, running on the same server.

    Possible with C2? Of course I know I would need server side coding as well, but I can pull that off if I can get C2 to write to a file on the server, that can be read by another game on the same server.

  • To answer Problem #1

    I'll have to get into my files again, but I believe i did a test on this. I set it up as a "tower defense" game first. I broke up the background into separate images and made them solids. edited the collision polygon to follow the curve of the "ball groove" (the groove the marbles roll in). Then set to follow path.

    I have to find the original with images, but I made a quick mod to a tower defense demo to show what I mean.

    The black bars can be replaced with curved images with modified collision polygon.

    I dont' know about problem #2. Never made it that far after moving to work on my main game idea.

    If somebody else has a better way than this, please let us both know!

    Note I saved this capx using the latest version C2 v196.2

    [attachment=0:1s4c6fjj][/attachment:1s4c6fjj]

    ps: " I want to achieve this __________ with very little manual effort "

    That is the thought of every human in history trying to do anything. Ever.

  • Yeah, you can try, just an array for the items.

    Group for monsters who drop, separate group for those who don't.

    then use instance variables for rate of drop/ how many items spawned.

    Instance variables on the items for rarity.

    Hope this helps

Jermfire's avatar

Jermfire

Member since 5 Dec, 2013

None one is following Jermfire yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies