Asmodean's Recent Forum Activity

  • But I still have problems:

    - I'm using a xml to load images, text and a sound file that I 've imported to the Project Files and that are in the folder's root with the "nw" file. When I click to load one of these assets, nothing happens.

    If it works in Windows maybe the path setting is wrong in Linux. Linux needs a leading '/'. But im not really into XML on Construct. Maybe there is someone more advanced with loading files in Linux. It seems vikuserro has the same problem .

    [quote:2o0j2ujs]

    • I really need that the "nw" file can be executed through the file manager. Now the application opens only through the terminal.

    For that you need a .desktop file.

    Make a textfile with the exact name of your program and the suffix desktop, like when your program is called myApp a myApp.desktop. Now copy this in a text-file:

    [Desktop Entry]Type=Application
    
    # The version of the desktop entry specification to which this file complies
    Version=1.0
    
    # The name of the application
    Name=
    
    # A comment which can/will be used as a tooltip
    Comment=
    
    # The path to the folder in which the executable is run
    Path=
    
    # The executable of the application.
    Exec=
    
    # The name of the icon that will be used to display this entry
    Icon=
    
    # Describes whether this application needs to be run in a terminal or not
    Terminal=false
    
    [/code:2o0j2ujs]
    
    Only mandatory is Type, Name, Exec. You can choose any name you want, in path and Exec you need the exact path to your program. 
    If the program is in /home/me/Documents/linux64 and called myApp.
    You have to set it to:
    Path=/home/me/Documents/linux64
    Exec=/home/me/Documents/linux64/myApp
    
    The same is with icon. If you want an icon you can use a png, svg, ico, icns. Put it in folder with your program and set the path to. 
    Icon=/home/me/Documents/linux64/MyIcon.ico
    
    You don't need to have all files in one folder.  You can put the .desktop file above all other files, you have only customize the path and exec. 
    
    An example:
    [code:2o0j2ujs]
    [Desktop Entry]
    Type=Application
    Name=My App
    Icon=/home/me/Dokumente/linux64/MyAppFolder/MyAppIcon.ico
    Path=/home/me/Dokumente/linux64/MyAppFolder
    Exec=/home/me/Dokumente/linux64/MyAppFolder/nw
    [/code:2o0j2ujs]
    
    All files are in the folder MyAppFolder, in the folder linux64 above is only the nw.desktop file. 
    
    I hope that will help, please ask if something is unclear.
  • Sorry RBuster I saw your post only now. Does it work now, or do you still need help?

  • Thanks for your feedback. I will test it today on a classroom. I will see if the arragement of the area is ok.

    That will be the best idea, maybe it's only me.

    [quote:1nu1j07k]

    But for the challanging I'm agree with you. That's why I wrote that's a beta version. It's just 2 hours of work.

    For two hours work it's really good.

    If it should be more like a game I would do levels. Maybe in the first levels only whole sums and a level consist of only a few runs after another. Higher levels all kind of sums more runs. Maybe a time limit in higher levels? Bonus for the lowest numbers of notes and coins as change? Some kind of achievements like stars or medals? A High-score list could be something very motivating.

  • It's quite good. What me bothered a little bit is the arrangement of the display of the money on the right side. If I look to the right side I have the refocus on the area where I can place the money, it's a litte bit distracting. This applied also for the Validar- and Effacer-Buttons. I cant give a advice for a better arrangement, because I don't now either.

    And Maybe it's a little more challenging it would be more like a game? You could give somethings like Stars or Medals depending on time the player took, but this is up to you.

  • Isn't that what you want?

  • Look at the Systems events there is an event called 'Is between values'. That should be what you are looking for.

  • [quote:2sk0wfqi]it seems useful for retro games

    exactly my thought.

    Gigatron will you make this effect-plugin public? I would like to try it.

  • I think that wait is the cause of the glitch. I would do it like this:

    isDead is a boolean instance variable.

  • If you only want to change the value between positive and negative it easy:

    Keyboard| On Space pressed -> System | Set platform.gravity * -1

    You have do use a triggered event (green arrow), otherwise the value would change uncontrollable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's a really nice example. Even after a year with Construct it amazed me how little code it take to make such a example.

    Nice work!

  • Use System|Pick Sprite Instance nth as a sub-event under the collision/overlap event.

    As a subevent after a collsion event there are only two instance to pick. The two instances that are overlap.

    It would look like this:

    Sprite| Is overlapping Sprite

    ...System|Pick Sprite Instance 0 -> Do something with the Sprite with the lower UID than the other.

    If you use 1 then you pick the Instance with the higher UID from both.

    To pick the UID from each one do this.

    Sprite| Is overlapping Sprite -> System| Set myUID1 to Sprite.UID

    ...System|Pick Sprite Instance 1 -> System| Set myUID2 to Sprite.UID

  • Try angle(bulletname.X, bulletname.Y, giantbunny.ImagePointX(n), giantbunny.ImagePointY(n))

    n is the number of the imagepoint you want to aim for.

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies