Bl4ckSh33p's Recent Forum Activity

  • Hi! First I tried node-webkit but I switched to the AJAX object because the final app/game runs in a browser not in an .exe file.

    I tried several kinds of paths for local files and searched the forums but it does not seem to work with a local path. Is there a way to convert a local file to a data uri to use it for "Load image from URL" for a sprite object somehow?

    Short description of the project so far:

    On startup a list of files is loaded (since list files from node-webkit does not work I added a .txt file like this: file1.jpg|file2.jpg|file3.jpg to use the tokenat expression with the ajax data). Then a For loop is used to create new sprites for each found file and then the sprite image should be loaded from the harddrive.

    If this is not possible with local files, does it work if I install a local Apache webserver (like XAMPP) and then use the local url?

  • Its a built in object in Autoplay Media Studio (http://www.indigorose.com/products/auto ... dia-studio) to show html files and can be used to make your own browser (but it seems some js scripts produce bugs on some websites). It uses Internet Explorer to show the html as far as I know (but not the latest version of IE).

    Do you think it could work if I install a local apache webserver and open the index.html of the C2 project in it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I know, as node-webkit. But I cant open the .exe in the browser object, it has to be .html.

  • Hi! I used the bullet behavior to animate a sprite and I wanted to pause it for a short time and let it flash when it reaches a certain point. I used "on collision with object" and then set bullet speed to 0, let it flash, wait 2 sec and then set speed to 100 again. But it will reset the angle of motion to 0 to move it to the right (it was set on Startup to 90 to move from top to bottom). Is this a bug?

    When I use Bullet: Set enabled it works fine, it stops and starts with the same angle.

  • I want to include it into another app I create. Its a normal windows app and it contains a browser object. I want the C2 game to run inside the browser object in the windows application. It will be used to show some images/banners moving along the screen and its much easier to animate objects with bullet behaviour and wrap (+ effects like particles) with C2.

  • And will it work if I install a local webserver on my PC (like XAMPP)?

  • Hi! When I try to load a game from my hd I get a popup warning that some features may be blocked when using the file:// protocol. But what features are limited and not working and is it possible to remove this warning somehow to let it run from your disc if you have just a very simple game/app with a scrolling sprite for example?

  • Hi. Keep me logged in does not work in Chrome either. I checked it a few times but I am logged out the next visit/day.

  • I like it.

  • Multiplayer would be great! :)

  • Hi! I want to add the files seperately in different folders and it seems to work fine when I export the project as node-webkit and use relative paths like "data/ads/1/1.txt". the contents were loaded and displayed in a textobject but is it possible to use this in preview mode somehow? (put the folder/files in the project folder for example?)

    PS: It seems this does not work with Sprites (Load image from URL). Is it possible to use local files/paths? I tried a relative path like in the example above "data/ads/1/1.jpg".

  • Such an action would be very useful for default text as well. It seems you cant change it on runtime.

Bl4ckSh33p's avatar

Bl4ckSh33p

Early Adopter

Member since 20 Jul, 2013

Twitter
Bl4ckSh33p has 5 followers

Connect with Bl4ckSh33p

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x7
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies