Adventure Creator original thread

Tips, techniques and tutorials about creation tools.

Re: Adventure Creator main thread

Postby Wolfschadowe » Fri, 14May16 20:44

Bug Report.

Under default play conditions, trying to load an empty save slot that doesn't exist goes to a file not found indicating a file of null.

May need to do a quick null check on restore and redirect back to a defined page, maybe stats?

Wolfschadowe
User avatar
Wolfschadowe
legend of the South Seas
 
Posts: 559
Joined: Thu, 13Mar21 07:37
Location: West Coast, USA
sex: Masculine

Re: Adventure Creator main thread

Postby tlaero » Sat, 14May17 02:33

Thanks Wolf, I'll look into that. I definitely tested that before, but maybe when I added more slots or changed to localstorage I broke it.

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby tlaero » Mon, 14May19 00:46

I've started looking into it. The problem repros in Chrome but not IE. I'll get to the bottom of it.

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby tlaero » Mon, 14May19 01:08

Okay, fixed it. Grab the _functions.js from the current AC. http://www.mediafire.com/download/six8f ... reator.zip

I verified that it does the right thing now in Chrome and Firefox, and I made sure it still does the right thing in IE.

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby Wolfschadowe » Mon, 14May19 03:53

Confirmed fixed. I no longer have the issue. Thanks Tlaero!

Wolfschadowe
User avatar
Wolfschadowe
legend of the South Seas
 
Posts: 559
Joined: Thu, 13Mar21 07:37
Location: West Coast, USA
sex: Masculine

Re: Adventure Creator main thread

Postby tlaero » Mon, 14May19 06:29

Who loves ya, baby? <smiles>

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby Wolfschadowe » Thu, 14May22 05:53

Ha! Sweet talkin' me ain't gonna get me to stop throwing more work at you. [img]images/icones/icon13.gif[/img]

Wolfschadowe
User avatar
Wolfschadowe
legend of the South Seas
 
Posts: 559
Joined: Thu, 13Mar21 07:37
Location: West Coast, USA
sex: Masculine

Re: Adventure Creator main thread

Postby Squeeky » Thu, 14May22 07:33

Wolfschadowe wrote:Ha! Sweet talkin' me ain't gonna get me to stop throwing more work at you. [img]images/icones/icon13.gif[/img]

Wolfschadowe

Might have to implement some "Union Rules" if this overwork - exploitation!! :lol:
Squeaky is clean, I'm just a tad messy!
User avatar
Squeeky
Spirit of the oceans
 
Posts: 4169
Joined: Mon, 08Jan07 00:00
Location: Australia
sex: Masculine

Re: Adventure Creator main thread

Postby LRM » Mon, 14May26 01:05

tlaero wrote:Who loves ya, baby? <smiles>

Tlaero

Excerpt from one of my local OTA stations.
Kojak
Last Rites for a Dead Priest

I know I'm long of tooth (born 1950), if you watched these when new (guilty), you are too. And what the hell are you doing on a rock wall? Course I paddle my ass all over Puget Sound (kayak) too.
Got Wood?
User avatar
LRM
Moderator
 
Posts: 3061
Joined: Wed, 09Apr22 23:00
Location: Citizen of the world, residing in the USA
sex: Masculine

Re: Adventure Creator main thread

Postby tlaero » Mon, 14May26 01:26

I'm a few decades younger than that, but, yes, I'm one of the older ones at the climbing gym. Well, except for the time my mother came to visit and I took her there. She rocked the place.

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby Wolfschadowe » Thu, 14May29 01:24

For some reason, every time I open AC and populate Game View, after 15 seconds or so the title message becomes:

Please wait while the Game View is populated. This can take a while. (Not Responding)

But what I see is:

Please wait while the Game View is populated. This can take a while. (Yes, I'm talking to you Wolf!)

After a while, once it's sure that I got the message that the game is getting too damn big, it goes ahead and loads. Seems like it didn't used to take this long. :lol:

Wolfschadowe
User avatar
Wolfschadowe
legend of the South Seas
 
Posts: 559
Joined: Thu, 13Mar21 07:37
Location: West Coast, USA
sex: Masculine

Re: Adventure Creator main thread

Postby tlaero » Thu, 14May29 04:18

Yeah, I didn't even do the last round of performance improvements until you sent the first alpha of your game and I was shocked how long it took. You certainly put AC through its paces.

Tlaero
User avatar
tlaero
Lady Tlaero, games and coding expert
 
Posts: 1829
Joined: Thu, 09Jun04 23:00
sex: Female

Re: Adventure Creator main thread

Postby Super » Tue, 14Jun10 18:23

Quick question: How would you post a score in the HTML at the top for only one page? Without having a complicated if else statement and pages for each score.

Or, to put it another way, what would be the easiest way of posting a numerical variable in the HTML header of a single page?
Super
legend of the South Seas
 
Posts: 545
Joined: Wed, 11Aug24 20:59
sex: Masculine

Re: Adventure Creator main thread

Postby Wolfschadowe » Tue, 14Jun10 18:52

If you mean the descriptive text that displays above the image, in AC that can be done with a function surrounded by [[ ]] for that particular page.

For example, in the AC Text field at the top enter something like:

Player, your current score is [[scorefunction()]]

then in game.js
Code: Select all
function scorefunction()
{
var score = whatever;  //Whatever you need to calculate the score, or whatever you want to display
document.write(score);
}


Let's say the result of the function is 42. The top of the webpage would display:
Player, your current score is 42

For changing text, just do something like:

document.write('This is the variable text to include')

This would fill in the score for that page only. This also works for the AC title fields for bottom text or hit target text. Hope I understood what you were asking, and hope this helps.

Wolfschadowe
User avatar
Wolfschadowe
legend of the South Seas
 
Posts: 559
Joined: Thu, 13Mar21 07:37
Location: West Coast, USA
sex: Masculine

Re: Adventure Creator main thread

Postby Super » Tue, 14Jun10 19:09

Ah yes, exactly what I wanted. Thanks a ton!
Super
legend of the South Seas
 
Posts: 545
Joined: Wed, 11Aug24 20:59
sex: Masculine

PreviousNext

Return to The workshop of creators

Who is online

Users browsing this forum: No registered users and 1 guest

eXTReMe Tracker