Darklinki's Recent Forum Activity

  • Does it work without this "Go To Layout" ?

  • Sorry if I misunderstood something, personally I would make an image of the slice.

    And then:

    • distance = abs(firstpoint.X - firstpoint.X) (so you get the size of the distance)
    • image set width to distance
    • image set position to firstpoint.x
    • image set angle

    you should also scale the height of the image a bit

    This would just be one way, there are better ones with particles, i try to find one

  • Or you use the Hash plugin it got JSON functions

    scirra.com/forum/plugin-hash-table_topic47637_page1.html

  • Sign in

  • This is possible but no good idea because variables can be changed anytime you change your construct code.

    But if you think you will never update your game, you could do this with JQuery or PhpQuery.

    if you have a real example I could tell you how to do it easily.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sry for my bad English.

    I think you misunderstand something, in every programming language you need to make database request to get data out of your Database. In Javascript(This is what Construct generate) it?s not directly possible. You could only make an Ajax request to a PHP file which get you the data out of the database.

    So the logic is:

    1. Ajax Request on a Php file with some Parameters

    2. Php file makes the database request and some magic stuff with the data

    3. Ajax on complete, save the result in your global variables.

    You need to understand that between Javascript and Php must be any connection, mostly is ajax used.

    The other Problem is that Php is a server side language, it just makes something if you say "Hei Php go" and than it will execute your code one time, not more.

    No other tool like Gamesalad, Gamemaker and so on can work with Php files without Ajax, Json and so on. Not even native code!

  • I?m not understanding your problem.

    On Start of Layout

    AJAX Request -> php file

    AJAX oncompleted

        Goto Layout: Ajax.LastData Ajax Wiki

  • I would take groups

  • Oh this could work better than my

    -> Distance between middle of a planet and a monster radius planet + 100

    I will try it as soon as possible thank you

    Works well, but I need to activate the gravitation again if he is jumping,

    I tried to invert the on overlapping but this starts the vibrating again...

    Got it !

  • <img src="http://s7.directupload.net/images/130211/6n8yi5tr.png" border="0" />

    I have tried this now many hours and read all tutorials about gravitation, this one looks to work for me. The Monsters angle is set to the position on the planet and the monster keeps getting pulled to the planet... The problem is now it can't jump and it is vibrating on the planet cause of my simple gravitation :D

    Ideas how I could fix that.

  • You need the graphic and you need to programming the logic ;)

    If you can't do that you could also hire someone for that.

  • Got it already, but thank you ashley. Don't thought that I don't know the whole manual :D

Darklinki's avatar

Darklinki

Member since 18 Oct, 2012

None one is following Darklinki yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies