Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by kyuN

I have images in the media folder and want to start level building. When I open up Weltmeister on Chrome, however, the selectors/buttons are there, but I can't interact with any of them. Am I supposed to open them with something else, or is something wrong here?

1 decade ago by Joncom

If you're on Windows, pressing CTRL + SHIFT + J will open up the JavaScript console. Do you see any errors there?

1 decade ago by kyuN

Yes, but i'm not sure what these mean:

XMLHttpRequest cannot load file:///C:/Users/Kyun/Desktop/impactex/lib/weltmeister/api/glob.php?glob[]=lib%2Fgame%2Fentities%2F*.js&nocache=0.9029346231836826. Origin null is not allowed by Access-Control-Allow-Origin.
---
Uncaught Failed to load entity list via glob.php: Error: NETWORK_ERR: XMLHttpRequest Exception 101
undefined entities.js:50
---
Uncaught Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)

If anyone could help with my Impact, I would appreciate it

1 decade ago by taddeimania

Looks like you might need to fire up a web server locally to run impact.

1 decade ago by Memekiller

I have the exact same problem. My URL is localhost, and Apach is running.

1 decade ago by Memekiller

SCRIPT5022: Failed to load entity list via glob.php: SyntaxError: Invalid character
<?php
require_once( 'config.php' );

$globs = is_array($_GET['glob']) ? $_GET['glob'] : array($_GET['glob']);
$files = array();
foreach( $globs as $glob ) {
$pattern = WM_Config::$fileRoot . str_replace( '..', '', $glob );
$files = array_merge( $files, (array)glob( $pattern ) );
}

$fileRootLength = strlen( WM_Config::$fileRoot );
foreach( $files as $i => $f ) {
$files[$i] = substr( $f, $fileRootLength );
}

echo json_encode( $files );

?>
jquery-1.7.1.min.js, line 4 character 14006
SCRIPT5022: Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)
impact.js, line 343 character 4

1 decade ago by mLautz

I'm not very experienced in setting up web servers and all that, but I've been running my games through an XAMPP install with no issue.

Do you have PHP as part of your installation?

1 decade ago by dmen

Heh, I never had any luck getting Weltmeister to work properly, and I've had a license for like 6 months now. :) I've just gotten used to not using it.
It's a real pain that it requires a web server and PHP but I suppose it must for file stuff... at least the way it's been developed. Anyway, I'd have a look at a xampp install, that probably will work.

1 decade ago by TigerJ

what OS are you using? there are pretty good tutorials for every OS on setting up apache and php. I could help find you one if you wanted. GL

1 decade ago by CK

I started using Impact, was working through Jesse Freeman's HTML5 Game Development book and ended up having the same issue with nothing displaying properly when I opened up Weltmeister.

After back tracking through everything I had done, I realized the reason it wasn't working and I was getting the below error:

SCRIPT5022: Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)

...was merely because when I was creating the player.js file I place it within the games directory as opposed to games.entities where it belonged.

If you're having similar problems I'd recommend looking at your file structure first before ripping apart all your code.

Good luck! :)

10 years ago by Scobles

Man, I'm glad you posted about CTRL+SHIFT+J here. This is a very useful debugging feature that I didn't know about, but lead me to the line of code that was causing Weltmeister to load 'empty'. May my coding go smoother now. Thanks!
Page 1 of 1
« first « previous next › last »