kreezii / jsgam Goto Github PK
View Code? Open in Web Editor NEWJavaScript Adventure Game Maker: Point and click/touch game adventures engine!
Home Page: https://kreezii.github.io/jsgam/
License: MIT License
JavaScript Adventure Game Maker: Point and click/touch game adventures engine!
Home Page: https://kreezii.github.io/jsgam/
License: MIT License
There is a lot of clicking involved here.. some keyboard control would be nice. L for look, U for use, something like that.
Hi there. I'm going through the tutorial and noticed that the link under the "prepare the graphics" section is broken. It leads to https://kreezii.github.io/jsgam/files/jsgam-tutorial-imgs, which seems to be a broken link. I couldn't find a repo for the Github Pages site otherwise I'd try to fix it myself and submit a PR.
running demo game
jsgam.min.js:127 Uncaught TypeError: Cannot read properties of undefined (reading '0') at r.play (jsgam.min.js:127) at e.value (jsgam.min.js:137) at e.value (jsgam.min.js:175) at c.value (jsgam.min.js:183) at i.emit (jsgam.min.js:16) at i.dispatchDBEvent (jsgam.min.js:179) at e.advanceTime (jsgam.min.js:179) at Function.i._clockHandler (jsgam.min.js:179) at t.emit (jsgam.min.js:44) at s.update (jsgam.min.js:44) 4jsgam.min.js:171 Uncaught TypeError: Cannot read properties of null (reading 'removeChild') at e.value (jsgam.min.js:171) at e.value (jsgam.min.js:175) at c.value (jsgam.min.js:183) at c.value (jsgam.min.js:183) at c.value (jsgam.min.js:181) at se (jsgam.min.js:111) at n.s.render (jsgam.min.js:111) at n.s.render (jsgam.min.js:111) at st (jsgam.min.js:111) at Array.n.updateRoot (jsgam.min.js:111) jsgam.min.js:183 Uncaught TypeError: Cannot read properties of null (reading 'config') at c.value (jsgam.min.js:183) at c.value (jsgam.min.js:181) at se (jsgam.min.js:111) at n.s.render (jsgam.min.js:111) at n.s.render (jsgam.min.js:111) at st (jsgam.min.js:111) at Array.n.updateRoot (jsgam.min.js:111) at r (jsgam.min.js:111) jsgam.min.js:171 Uncaught TypeError: Cannot read properties of null (reading 'removeChild') at e.value (jsgam.min.js:171) at e.value (jsgam.min.js:175) at c.value (jsgam.min.js:183) at c.value (jsgam.min.js:183) at c.value (jsgam.min.js:181) at c.value (jsgam.min.js:181) at e.value (jsgam.min.js:171) at o.i.emit (jsgam.min.js:16) at n.dispatchEvent (jsgam.min.js:46) at n.processPointerUp (jsgam.min.js:46)
This makes it more obvious that they are clickable.
In Spooky Adventure, it can be done like this:
#MainMenu1-1 {
cursor: pointer;
}
I don't see any template CSS files in the jsgam framework though, so I'm not sure where this belongs.
Hello and thanks for your very useful game engine.
I was experimenting with it this weekend but noticed that the tutorial files on : https://kreezii.github.io/jsgam/firstadventure.html are all missing.
I managed to download the link below by adding a ".zip" extension like:
TO:
https://kreezii.github.io/jsgam/files/jsgam-tutorial-imgs.zip
But the character template ".xcf" GIMP file was nowhere to be found
https://kreezii.github.io/jsgam/files/character-template.xcf
Hello kreezii
interested in your project so much. I see you're working on documentation.
I was wondering if it is required to have both .fnt and .png files in the fonts directory and if you can use any other format (ttf?).
May I contact you by email or any other way (IM)? I don't want to flood my requests here as they are not really "issues". You should find my email address in my profile. Thanks.
Hey this is using the unminified js in Chrome 98. For context I have so far skipped the characters and scenes sections of the tutorial, instead jumping to "Making the adventure" and completing that. Perhaps the lack of background on the main screen is what's causing this issue. I'll confirm soon, just want to get my issue out early.
jsgam.js:73387 DragonBones: 5.7.000
Website: http://dragonbones.com/
Source and Demo: https://github.com/DragonBones/
jsgam.js:91091 JSGAM 5.1.0d https://github.com/kreezii/jsgam
jsgam.js:4301
PixiJS 5.3.3 - ✰ WebGL 2 ✰ http://www.pixijs.com/ ♥♥♥
jsgam.js:17980 Uncaught Error: Texture Error: frame does not fit inside the base Texture dimensions: X: 740 + 346 = 1086 > 1024 or Y: 0 + 158 = 158 > 1024
at Texture.set (jsgam.js:17980:15)
at new Texture (jsgam.js:17639:19)
at new BitmapFont (jsgam.js:41675:18)
at Function.BitmapFont.install (jsgam.js:41748:16)
at completed (jsgam.js:42830:42)
at MiniSignal.dispatch (jsgam.js:27865:18)
at jsgam.js:30207:34
at next (jsgam.js:27998:9)
at GameLoader.howlerMiddleware (jsgam.js:60985:14)
at jsgam.js:30205:10
Note that in Firefox, the same code results in a different issue:
Uncaught TypeError: parsedUrl is undefined
_prepareUrl https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30108
add https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:29946
addFiles https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:61082
load https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:90591
dispatch https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:27865
_onComplete https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30184
_onLoad https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30222
next https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:27998
howlerMiddleware https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:60985
_onLoad https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30205
eachSeries https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:28006
jsgam.js:30108:9
Loving the framework and the detailed docs so far!
I'm not sure if this feature worked on previous versions of Firefox because I'm new to jsgam, but I noticed when following the tutorial that the Convert to Hiero feature doesn't work (nothing happens). In Chrome the feature still works fine, the box appears asking for you to enter a filename and then it saves, so this isn't an urgent issue. I'll try look in to it some time.
Hi Kreezii,
do you have any guide/tutorial/documentation available how to use the new JSGAM Editor?
Thnx for any help :o)
Cheers,
Kevin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.