Cursor in the Adventure Maker HTML

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Cursor in the Adventure Maker HTML

Postby PINGO TINTO » Thu May 26, 2011 2:07 pm

Here's an example of the arrows appear http://ordemunida.war-fusion.com/joaofi ... /link.html

I only managed to cursores.cur.
The program I use to make cursors is the RealWorld Cursor Editor.
We can import images to the editor in size 32x32 after save cursor_v1.cur the folder where the game is in html.

After all the pages in the example page 00018.html add this code in each hotspot.

hotspot1
cursor:url(cursor_v1.cur);

hotspot2
cursor:url(cursor_v2.cur);


<div id='hotspot1' style='position:absolute; cursor:url(cursor_v1.cur); left:406px; top:14px; width:93px; height:442px;'><img id='hotspotImg1' src='transparent.gif' width=93 height=442 onClick='parent.doHotspotClick(1);' onLoad='elementLoaded();' /></div>

<div id='hotspot2' style='position:absolute; cursor:url(cursor_v2.cur); left:406px; top:14px; width:93px; height:442px;'><img id='hotspotImg1' src='transparent.gif' width=93 height=442 onClick='parent.doHotspotClick(1);' onLoad='elementLoaded();' /></div>


and so off ...
In percise index.html file is not doing anything.

I do not know much html, maybe another way to make the arrows appear more functional?

Adventure Maker should have that option if it is possible to do.
User avatar
PINGO TINTO
Advanced Member
 
Posts: 182
Joined: Wed Jun 17, 2009 6:17 pm
Location: PORTUGAL

Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

cron