Monumental's Forum Posts

  • Hi

    I'm going to need to pull some text from a xml stored under files. I never used xml and ajax with construct before, so I figured it would be a good idea to start simple. I'm glad i did course I got problems almost immediately.

    Here's what i did: I took the Example xml file that comes with construct saved the xml to a file and tried to load it with ajax. I thought this would be straight forward and work on the fly, But no.

    I read lots of threads and the manual but I still can't figure this one out. So I now come to you for some clarification, please.

    !Working!

    Here's the Capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fantastic tanks RecGames!

    For future reference:

    <img src="https://dl.dropboxusercontent.com/u/80975153/%5Esaveforever/BatchLayerScale%28Solved%29.JPG" border="0" />

  • #websockets FTW!

    youtube.com/watch

  • So I'm trying to scale a bunch of layers. I don't use layout because I need to keep my HUD intact. I do it like this:

    <img src="https://dl.dropboxusercontent.com/u/80975153/%5Esaveforever/BatchLayerScale.JPG" border="0" />

    But C2 seems to discard this kind of batch.

    Anyone knows a workaround?

    Making the layers separately is not an option I'm not a vampire and my time is limited.

  • Hi, I'm also trying to make a simple email form. I have a working php on a web server, I also know that browsers block AJAX requests across domains.

    I want my players to fill out some radio buttons and a text box. So when in the parameters for AJAX: post to URL I wonder where i capture the info and send it to the URL? We have Tags, URL and Data. I tried simply to add the name of the text box under Data but with no luck.

  • Make a instance variable (text) name it state for your obj

    the event:

    System - Compare two values

    Parameters:

    Distance(mouse.X, mouse.Y, obj.X, obj.Y)

    greater than

    100

    The Action for obj is:

    Set value

    Parameters:

    instance variable State

    value="Close"

    You can make as many states as you like. Now make events for your states like this:

    obj - compare instance variable

    parameters:

    instanse variable = State

    Comparison = Equal to

    Value = "Close"

    Add a sub event

    Every tick

    Action: obj -> rotate toward position parameters:

    Degrees = 5

    x = mouse.X

    y = mouse.y

    Action: obj -> move forvard 3 px

  • Well you should actually try to make a apk. After that Roar.io might be what your looking for. I have not tried it my self but it is free, however they take 7% of your sales. Anyway, it could be used in a demo to purchase the full game or some thing like that.

    http://www.roarengine.com

  • Yes! The solution lies in the anchor behavior. Specifically top edge to window bottom. I don't know how many times I wrongly looked for a solution in some strange variable and totally overlooked the properties panel. Some day I might write a tutorial "Don't overlook the properties panel".

    Thank You very much Ashley!

  • Hi, this (thumbstick(Mobile)) is a really nice virtual joystick and i would love to make something

    similar in my own creations.

    Let me ask a question. It's not really a question about the controller itself but the placement of the controller. When I chose to view full screen in browser in crop mode the control don't stay in the bottom left corner.

    How would one make the joystick to no matter what screen size/resolution/horizontal or portrait view (on touch-devices) stay in the bottom left corner?

  • It's not a complete answer but it might get you on the right path.

    scirra.com/tutorials/266/webstorage-how-to-save-ingame-information/page-1

  • Hide the cursor. I get confused, thinking I aiming with the mouse.

    Really nice Sprite art! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • It's a while now since I bought C2 and I been really wired in this program ever since. I love it. So i guess it was time to create an account and post something on the forum.

    Since this is my first post and I believe in good manners, I probably should tell you something about me. I'm an freelancing 3D guy and animator from Sweden (that why my English can be slightly off some times, but it has never been any problem). That said!

    What better way to show appreciation for this software than to post a small demo of a game I've worked on?

    It's an alpha-Demo so manage your expectations. There is no in game tutorial yet. I'm trying to design it so a child could understand and play it, so if you don't understand what to do it's my fault. Anyway I Love C2 and later this month I will release something that one can call a first beta.

    cattleranch.tk

    Have a day!