Web Based Adventure (WBA)

Tips, techniques and tutorials about creation tools.

Re: Web Based Adventure (WBA)

Postby SoulMate » Sun, 17Feb05 09:25

sylakone2 wrote:Hi Soul.

I am not sure why this has been happening but for some reason after the last few updates My text has gone strange.
See below pic.

https://mega.nz/#!l00hmA5J!UBMbMcNuQHTAMJrIO3CKS82I9fDYmt7j0Fc5pmutbHc

Any ideas

Cheers

Sy


1, Did you replace index.html / debug.html / build.html with the newer versions?
2. What browser + OS are you using?
3. Can you send my your game, then i'll try to figure it out.
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Re: Web Based Adventure (WBA)

Postby SoulMate » Sun, 17Feb05 11:08

Update V2.7.1
- Fixed variable debug sidebar

https://mega.nz/#!uQEiQIrb!drAd5KOUg1Js ... V5OqEMfZOY
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Re: Web Based Adventure (WBA)

Postby sylakone2 » Mon, 17Feb06 10:38

SoulMate wrote:
sylakone2 wrote:Hi Soul.

I am not sure why this has been happening but for some reason after the last few updates My text has gone strange.
See below pic.

https://mega.nz/#!l00hmA5J!UBMbMcNuQHTAMJrIO3CKS82I9fDYmt7j0Fc5pmutbHc

Any ideas

Cheers

Sy


1, Did you replace index.html / debug.html / build.html with the newer versions?
2. What browser + OS are you using?
3. Can you send my your game, then i'll try to figure it out.


Hey Soulmate

Thanks for the response.

Yeah I basically just copied the images folder and the data.js, custom.js, custom.css and icons folder to the new version of WBA.
I am using WIN 10 and Chrome.

I will send you the build soon.

Cheers

Sy
Cheers Sy
User avatar
sylakone2
lagoon predator
 
Posts: 224
Joined: Mon, 12Jan09 13:08
Location: Australia, SA
sex: Masculine

Re: Web Based Adventure (WBA)

Postby SoulMate » Sat, 17Feb18 10:08

I didn't see your build in my inbox, let me know if i can help.
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Re: Web Based Adventure (WBA)

Postby SoulMate » Sat, 17Feb18 13:47

Update V2.8
- Fixed wrong order of title texts
- Added webserver to allow data.js upload

How to Update:
- Overwrite all the files with the files in the zipfile, EXCEPT data.js, custom.js and custom.css

Note:
The build page does not work in some browsers when running on local filesystem (file:///)
Doubleclick on webserver.bat

The code is released with the MIT licence, so feel free to modify it to your needs.
https://mega.nz/#!TF1ETQaQ!zPH2DmXih036 ... FnNGl-P3I4 [V2.8]

This update allows to save data.js instantly without downloading and copy/paste the file from the downloads folder into the game folder. To make use of this new functionality, make sure Python is installed on your system.
Last edited by SoulMate on Sun, 17Feb26 21:53, edited 1 time in total.
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Re: Web Based Adventure (WBA)

Postby sylakone2 » Sat, 17Feb25 15:23

SoulMate wrote:I didn't see your build in my inbox, let me know if i can help.


Yeah sorry Soul.

There was a lot of dead ends when I posted that and I have not had a chance to finish those just yet.

Cheers

Sy
Cheers Sy
User avatar
sylakone2
lagoon predator
 
Posts: 224
Joined: Mon, 12Jan09 13:08
Location: Australia, SA
sex: Masculine

Re: Web Based Adventure (WBA)

Postby sylakone2 » Sat, 17Feb25 15:24

SoulMate wrote:Update V2.8
- Fixed wrong order of title texts
- Added webserver to allow data.js upload

How to Update:
- Overwrite all the files with the files in the zipfile, EXCEPT data.js, custom.js and custom.css

Note:
The build page does not work in some browsers when running on local filesystem (file:///)
Doubleclick on webserver.bat

The code is released with the MIT licence, so feel free to modify it to your needs.
https://mega.nz/#!TF1ETQaQ!zPH2DmXih036 ... FnNGl-P3I4 [V2.8]

This update allows to save data.js instantly without downloading and copy/paste the file from the downloads folder into the game folder. To make use of this new functionality, make sure Python is installed on your system.


hey that link is not complete I can't dl the latest version

Cheers

Sy
Cheers Sy
User avatar
sylakone2
lagoon predator
 
Posts: 224
Joined: Mon, 12Jan09 13:08
Location: Australia, SA
sex: Masculine

Re: Web Based Adventure (WBA)

Postby SoulMate » Sun, 17Feb26 21:55

sylakone2 wrote:hey that link is not complete I can't dl the latest version

Cheers

Sy


Fixed
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Re: Web Based Adventure (WBA)

Postby Hakkie » Sun, 17Jul09 22:08

Just a quick heads-up from me, I love working with this nifty tool, but I felt something is missing, maybe my fix can be of help to others.

I needed the ability to check and see if two variables are not-equal, so I've changed this part of the code (game.js):
Code: Select all
    function checkRequirement(requirement) {
        var requirementsSuccess = false,
            reqVar = readVar(requirement.variable),
            reqFunc = requirement.func,
            reqVal = getRequirementValue(requirement);
        if (reqFunc === '>' || reqFunc === '>') {
            requirementsSuccess = reqVar > reqVal;
        } else if (reqFunc === '=' || reqFunc === '==') {
            requirementsSuccess = reqVar === reqVal;
        } else if (reqFunc === '<' || reqFunc === '&lt;') {
            requirementsSuccess = reqVar < reqVal;
      // hakkie start
        } else if (reqFunc === '!=') {
            requirementsSuccess = reqVar != reqVal;
      // hakkie end
        } else {
            requirementsSuccess = false;
        }
        return requirementsSuccess;
    }


See the "// hakkie" part where I made my changes, maybe it is helpful for others (and perhaps an idea for future version?).
This allows you to use the operators ">", "<", "=" and now also "!=" and so far it seems to work as intended.

Thanks again for the tool and happy creating guys. ;)
Hakkie
sirens hunter
 
Posts: 14
Joined: Sun, 10Dec12 00:00

Re: Web Based Adventure (WBA)

Postby SoulMate » Fri, 17Jul14 11:21

Thx Hakkie, i'll include that in the next version so everyone can use it.

Currently i'm working on a major build.html update (backwards compatible with the old games). When that one is finished, i'll release the new version.
SoulMate
great white shark
 
Posts: 79
Joined: Wed, 14Apr23 17:56
sex: Masculine

Previous

Return to The workshop of creators

Who is online

Users browsing this forum: No registered users and 7 guests

eXTReMe Tracker