Skip to main content

News

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Miscreant

1
It's actually going quicker than I thought it would. The overworld is now 1/4th of the way ported over. The map exits are quick and simple. Porting the person entities is what takes a few moments. Especially on maps where there are a good number of Armos statues.

Also, I've already added you into my credits.txt for the assistance you've provided thus far.
2
Shops, ProgramersRooms and the first column of the overworld maps are now recoded for persist.js.
3
I'm going to attempt to port the project maps to use the persist functionality. At over 400 maps this could take some time. I think the levels will be the most time consuming to port over.
4
@Miscreant The persist.js map script syntax is a bit weird, basically the whole file is a big object literal which is eval()'d.  It was done that way as a necessary evil because otherwise, with traditional JS, all the functions in the file would be global.  Putting them into an object which can be eval'd gets around that limitation.

Which version should I be using? The one from the wiki, the one I found posted in the forums or Radnen's analogue?

Also, I can infer that zones and triggers would still be need to coded internally in the map file. Looking through the 1.5 api file(which I started this project with) it does not appear that the zones or triggers can be created externally with coding.
5
You have to have a comma after each function definition in the map script (other than the last one), like in the attached.
Added in the commas, the map scripts are functioning.
6
Projects / Re: Project ZeC (My Zelda-esque Clone)
Can you post the map script you're using?

Very small... only 2 maps to begin with.
7
Projects / Re: Project ZeC (My Zelda-esque Clone)
I do have a map script for each map. I put the other values in to all the scripts and left them blank.

I have 3 different versions of persist.js (Wiki & Forums version are 2 different file sizes.
The wiki page: Line 403 error
The forum: SyntaxError: missing } after property list
@Radnen  analogue.js: Also returning a missing } error but with enter: function () {}

I did ask about the map script format before I attempted. I also corrected the error @Fat Cerberus pointed out. This is becoming a very confusing functionality.
8
Projects / Re: Project ZeC (My Zelda-esque Clone)
In attempting to use persist.js, I keep getting an error on startup. The program is small. 2 map one exits north, the other south. I don't have a default enter map. Just leaveNorth & LeaveSouth. I do not know enough about persist.js, Would someone be willing to look it over to determine if there actually is an error?
9
Projects / Re: Project ZeC (My Zelda-esque Clone)
Would this be the proper formatting for a persist map javascript file?
10
Projects / Re: Project ZeC (My Zelda-esque Clone)
All doors for level 2 coded and functional, including the shutter doors.
11
Projects / Re: Project ZeC (My Zelda-esque Clone)
Quote from: Miscreant
Sierra is the latest version of macOS the linked version of miniSphere should run out of the box on that and may run on older versions but may not, I should be able to build it for anything back to OSX 10.8 (aka Mountain Lion) with a little fiddling so let me know if it doesn't work for your friend and which version they want me to target. (If they need earlier than 10.8 it may be difficult)

When I find out, I'll let you know. I'm not sure how up-to-date their mac is.

The version is Sierra. The current miniSphere MacOS Port should function.
12
Projects / Re: Project ZeC (My Zelda-esque Clone)
Started a Project: ZeC miniProject including persist.js. Wondering, how difficult & time consuming it would be to try to include it in to the things already created in P:ZeC.

At a current total of 401 maps, there is just so much already created that it may be too time consuming to try to convert the project to include persist.js.

My next project will include it.
13
Projects / Re: Project ZeC (My Zelda-esque Clone)
Started a Project: ZeC miniProject including persist.js. Wondering, how difficult & time consuming it would be to try to include it in to the things already created in P:ZeC.
14
Projects / Re: Project ZeC (My Zelda-esque Clone)
I made the unlock to it. I thought I'd show what the hidden programmers room has evolved into.

Top left: All shops
Top Middle: Message box Testing
Top Right: All dungeon levels

Middle Left: Fairy healing/Change Music
Middle Middle: NPCs
Middle Right: All Items

Bottom Left: Ladder testing
Bottom Middle: Exit to Start Map
Bottom Right: Raft & Whirlpool Testing

Raft & Ladder Testing areas exit to each other. Only the NPC room exits to the Start map.

Shop & Dungeon rooms exit to each other
Raft & Dungeon rooms also exit to each other

Edit: The bottom dock in the raft room intentionally breaks the function and leaves the spriteset as 'link' on the raft.
15
Projects / Re: Project ZeC (My Zelda-esque Clone)
Yes it's built on Sierra and targeting Sierra, I could build targeting an older version if wanted - I've just seen so little to no feedback from anyone using it other than me so kept it with the easiest option for now.

TBH: I'm not sure what version the other person is using and I, personally, haven't used an apple computer since the era of the original little boxy Macintosh.
Sierra is the latest version of macOS the linked version of miniSphere should run out of the box on that and may run on older versions but may not, I should be able to build it for anything back to OSX 10.8 (aka Mountain Lion) with a little fiddling so let me know if it doesn't work for your friend and which version they want me to target. (If they need earlier than 10.8 it may be difficult)

When I find out, I'll let you know. I'm not sure how up-to-date their mac is.