JeffSkyrunner's Forum Posts

  • The Kyatric's solution seems working fine.

    Thanks

  • spacedoubt

    :facepalm:

    I always start with the FAQ, but I have missed this thread...

    Thanks a lot, I'll try ASAP and let you know

  • Another day, another newbie question!

    How do I check if a sprite "fully overlaps" another?

    My goal is to check when a ship exits the "combat area" and in that case destroy it. An housemade way could be to create another sprite, bigger than "combat area" sprite and in a lower z-level, and check when it is overlapped by the ship... but I don't like it too much.

    Any idea?

  • I've experimented it too, but I am unable to reproduce it.

  • ryanrybot

    Thanks!

    I know it's a project for just the people who already know the game... at least, for the moment! The very long term objective is to set the game in order to let everybody learn and play it...

    KnivetonStudios

    In Italy is becoming "famous" in the last couple of years... if you want to become addicted again and help with the graphics and UIx, you're more than welcome

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This week I've been in vacation, so didn't manage to do very much... But I know you were missing me, so, after having solved the previous issue, I managed to do some menus:

    I know, they are horrible, but until I found somebody willing to cooperate with me on the graphical side of the project, this is what you will get

    Next objective... closed alpha!

    If you're interested, let me know

  • Voted!

  • "Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth"

    Since I don't know nothing about web programming and I am still learning, I thought the problem was on some misterious file/configuration... instead was much more simpler: once the file were uploaded, they became all lower case, so "Ships.json" become "ships.json" and so the error the console gave should be interpreted as "file not found" and no cross reference...

  • No idea? What am I missing?

    Sorry for the "newbieness" ( :look: ) of the question...

  • Any idea somebody?

    The "final" version of my .htaccess, after tons of tests, is now:

    # DO NOT REMOVE THIS LINE AND THE LINES BELOW HOTLINKID://www.google.com

    RewriteEngine on

    RewriteCond %{HTTP_REFERER} !^http://testacc.netne.net/.*$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://testacc.netne.net$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://www.testacc.netne.net/.*$ [NC]

    RewriteCond %{HTTP_REFERER} !^http://www.testacc.netne.net$ [NC]

    RewriteRule .*\.(zip|rar|exe|mp3|pdf|swf|psd)$ http://http [R,NC]

    # DO NOT REMOVE THIS LINE AND THE LINES ABOVE //www.google.com:HOTLINKID

    # Do not remove this line, otherwise mod_rewrite rules will stop working

    RewriteEngine On

    RewriteBase /XWing/

    <FilesMatch ".(json|css|scml|woff|webapp|appcache)">

    Header set Access-Control-Allow-Origin "*"

    </FilesMatch>

    AddType text/plain .txt

    AddType text/html .html .htm

    AddType text/css .css

    AddType text/xml .scml .xml

    AddType text/csv .csv

    AddType text/cache-manifest .appcache

    AddType image/svg+xml .sgv

    AddType image/png .png

    AddType image/jpeg .jpeg .jpg .jpe .JPG

    AddType audio/ogg .ogg .opus

    AddType audio/mp4 .m4a

    AddType video/webm .webm

    AddType video/ogv .ogv

    AddType application/font-woff .woff

    AddType application/json .scon .json

    AddType application/x-web-app-manifest+json .webapp

    AddType application/manifest+json .manifest

    AddType application/pdf .pdf

  • As promised, this week I dedicated in cleaning up the code and completing the full turn cycle (planning, activation, combat).... and I've managed also to make ship explode! (yay!)

    It's always nice to see a Tie Fighter explode!

    The alpha is almost ready, but I have still to solve the problem mentioned here, so if somebody has any idea, it would be greatly appreciated.

    Next step: manage the end of the game and create some sort of initial menu...

  • I am not referencing nothing at all... maybe it can be the json files I load? But they are local files... or, at least, they should be... :look:

    Edit: This is how I make the call:

  • BTW, here is the URL: http://testacc.netne.net/XWing/

    Maybe somebody more xpert than me can help, looking at the console

  • Nope, I've tried editing my .httaccess file, but still nothing new.

    This is my file:

    --

    # Do not remove this line, otherwise mod_rewrite rules will stop working

    RewriteBase /

    AddType text/plain .txt

    AddType text/html .html .htm

    AddType text/css .css

    AddType text/xml .scml .xml

    AddType text/csv .csv

    AddType text/cache-manifest .appcache

    AddType image/svg+xml .sgv

    AddType image/png .png

    AddType image/jpeg .jpeg .jpg .jpe .JPG

    AddType audio/ogg .ogg .opus

    AddType audio/mp4 .m4a

    AddType video/webm .webm

    AddType video/ogv .ogv

    AddType application/font-woff .woff

    AddType application/json .scon .json

    AddType application/x-web-app-manifest+json .webapp

    AddType application/manifest+json .manifest

    AddType application/pdf .pdf

    AddType application/zip .zip

    AddType application/javascript .js

    --

    Edit:

    The console says the error is Cross-Origin Request Blocked, so I changed my .httaccess in this way:

    ---

    # Do not remove this line, otherwise mod_rewrite rules will stop working

    RewriteBase /

    <FilesMatch "\.(php)$">

    <IfModule mod_headers.c>

    Header set Access-Control-Allow-Origin "*"

    </IfModule>

    </FilesMatch>

    AddType text/plain .txt

    AddType text/html .html .htm

    AddType text/css .css

    AddType text/xml .scml .xml

    AddType text/csv .csv

    AddType text/cache-manifest .appcache

    AddType image/svg+xml .sgv

    AddType image/png .png

    AddType image/jpeg .jpeg .jpg .jpe .JPG

    AddType audio/ogg .ogg .opus

    AddType audio/mp4 .m4a

    AddType video/webm .webm

    AddType video/ogv .ogv

    AddType application/font-woff .woff

    AddType application/json .scon .json

    AddType application/x-web-app-manifest+json .webapp

    AddType application/manifest+json .manifest

    AddType application/pdf .pdf

    AddType application/zip .zip

    AddType application/javascript .js

    --

    but still I cannot make it work.

    Is there anybody who can teach me on how have I to write a correct .htaccess file?

  • Could you please point me in the right direction? What have I to check? ^^;

    Edit: Maybe I've found something... I am working on it, I'll let you know