| View previous topic :: View next topic |
| Author |
Message |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Fri May 20, 2005 7:14 pm Post subject: |
|
|
Not so fastslow, ysoft. That isn't the plan. This update only took 3 months anyway (From when we started on it) |
|
| Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
| Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Tue May 24, 2005 5:17 pm Post subject: |
|
|
| Or you could just do it yourself |
|
| Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
| Back to top |
|
 |
Squall is fantastic

Joined: 02 Feb 2003 Posts: 758 Location: Nampa, Idaho
|
Posted: Tue May 24, 2005 5:44 pm Post subject: |
|
|
With the new mouse support, I might ask for two more commands to make scripting complex menus or, for example, whack-a-mole type games: mouseonnpc (x) returns true if the cursor is over the npc (x) and clicknpc (x,y) returns true if button (y) has been pressed while the cursor was over npc (x).
Also, I'm assuming, but does the mouse "hot-spot" (the exact pixel the mouse is on) coorespond to the top left pixel position, or can you change it? I say in the event that someone wants to make a crosshair, you would want it in the center, but if you want a mouse cursor picture, you'd want it in the top left. Perhaps a way to specify if there's not already? _________________ You got film in my video game!
You got video game in my film! |
|
| Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Tue May 24, 2005 6:12 pm Post subject: |
|
|
| Squall wrote: | | With the new mouse support, I might ask for two more commands to make scripting complex menus or, for example, whack-a-mole type games: mouseonnpc (x) returns true if the cursor is over the npc (x) and clicknpc (x,y) returns true if button (y) has been pressed while the cursor was over npc (x). |
The first one can be done by using npc at pixel(). The second one would require tracking which npc's have been clicked on, and probably won't happen. Or, you could just check mouse button() and npc at pixel() each cycle.
| Squall wrote: | | Also, I'm assuming, but does the mouse "hot-spot" (the exact pixel the mouse is on) coorespond to the top left pixel position, or can you change it? I say in the event that someone wants to make a crosshair, you would want it in the center, but if you want a mouse cursor picture, you'd want it in the top left. Perhaps a way to specify if there's not already? |
That's easy. In the mouse-loop, there's a bit that (probably) looks like this:
| Code: | | mouse pixel x + camera pixel x |
as well as a corresponding y section. If you wanted to center the NPC, you'd change it to:
| Code: | | mouse pixel x + camera pixel x - 10 |
and so forth. That's the beauty of keeping the commands general: you can tweak 'em however you want. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
| Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Tue May 24, 2005 7:03 pm Post subject: |
|
|
Camera pixel x doesn't exist. I'd like that one, though it's not necessary because workarounds exist, but I imagine it'd be one freakin' line of code. _________________
|
|
| Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Tue May 24, 2005 7:29 pm Post subject: |
|
|
| Note from Castle Paradox Administration: | | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
| Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Tue May 24, 2005 8:47 pm Post subject: |
|
|
disable menu : quite possibly. Would fit in with menu customisation.
Moogle, camera pixel x does so exist. Why don't you check the dictionary. |
|
| Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Tue May 24, 2005 9:39 pm Post subject: |
|
|
| Note from Castle Paradox Administration: | | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
| Back to top |
|
 |
Gizmog1 Don't Lurk In The Bushes!

Joined: 05 Mar 2003 Posts: 2257 Location: Lurking In The Bushes!
|
Posted: Wed May 25, 2005 12:42 am Post subject: |
|
|
| I don't see any reason why it shouldn't work, if there's a textbox 103. Try recompiling, and importing it into the .rpg file again. Other than that, I have no idea why it wouldn't work. |
|
| Back to top |
|
 |
Devi Ant (Formicidae Devious)

Joined: 25 May 2005 Posts: 196 Location: -=\The Lair of Devi Ance /=-
|
Posted: Wed May 25, 2005 1:05 am Post subject: Re: OHRRPGCE version: Quaternion |
|
|
| FyreWulff wrote: | download at http://www.hamsterrepublic.com
| whatsnew.txt wrote: | WHAT IS NEW?
May 19 2005 [quaternion]
* GPL Licensed source code. See LICENSE.txt
* Added += and -= operators to Hspeak, thanks to a patch from
The Mad Cacti and Fyrewulff
* "Inns don't revive dead heroes" bitset now works on all Inns (bug 23)
* "Level up for (hero)" and "(#) levels for (hero)" battle text is now
customizable (bug 46)
* Fixed misspellings of "enemies" as in plotscripting commands "suspend
random enemies" and "resume random enemies" (Misspelled versions
still work for backwards compatability)
* New plotscripting commands: save in slot, last save slot, auto save,
save slot used, import globals, export globals, load from slot,
delete save. Thanks to Ysoft-entertainment and Ralph Versteegen
(TeeEmCee)
* It is now possible to display the save menu without actually saving
using "save menu (false)"
* New plotscripting commands: init mouse, mouse pixel x, mouse pixel
y, mouse button, put mouse, mouse region, NPC at pixel
Thanks to Ralph Versteegen (TeeEmCee)
* Very nice plotscript buffer usage optimization. Scripts that run more
than once take no extra space in the buffer, allowing you to write
recursive scripts without fear of buffer-overflow. Thanks to Ralph
Versteegen (TeeEmCee)
* Bugs fixed thanks to help from Simon Bradley
* "equip where" plotscripting command always uses hero #0's
equipability data no matter which hero you specify
* Bugs fixed thanks to help from Ralph Versteegen (TeeEmCee)
* bug 1: item-based stat increases go away after level-up
* bug 32: blank exp/gold box after battle when you earn no exp/gold
* bug 47: Off by one bug in assigning script buffer and heap wastes
memory
* bug 54: Aim math text for Magic damage in CUSTOM is incorrect
* Bugs fixed thanks to help from Mike Caron (pkmnfrk)
* bug 40: Maps can be resized to invalid dimensions
* bug 35: enemy spawned backwards in place of"flee-instead-of-die"...
* bug 20: CUSTOM does no error checking for NPCs that point to text
boxes that have been deleted
* bug 63: Crash when trying to rename a hero not in party
* Code cleanup (things that only developers will notice)
* Cleaned up build system to make it possible for people other than
me to compile if they can get ahold of a copy of QuickBasic 4.5
* (Partial) Support for compiling with QuickBasic 7.1 thanks to Mike
Caron (pkmnfrk) and Ralph Versteegen (TeeEmCee)
* Massive indentation cleanup thanks to David Gowers (NeoTA)
* Assembly DECLARE cleanup (moved to to allmodex.bi) thanks to Simon
Bradley
|
|
I might be just a little bit retarded, but I have been waiting this version for ages!!! _________________ Activate point A by sliding slide B through points E and Z, so that the Joint TO touches the Vector 6, however avoiding an impact with vectors 34 and 5, which both are positioned at the edge of the said object near point R. Period.
Remember, Giz! You MIGHT get that candy, if you only behave well... Only.
My Art |
|
| Back to top |
|
 |
FyreWulff Still Jaded

Joined: 02 Apr 2005 Posts: 406 Location: The Internet
|
Posted: Wed May 25, 2005 1:38 am Post subject: |
|
|
| Squall wrote: | With the new mouse support, I might ask for two more commands to make scripting complex menus or, for example, whack-a-mole type games: mouseonnpc (x) returns true if the cursor is over the npc (x) and clicknpc (x,y) returns true if button (y) has been pressed while the cursor was over npc (x).
Also, I'm assuming, but does the mouse "hot-spot" (the exact pixel the mouse is on) coorespond to the top left pixel position, or can you change it? I say in the event that someone wants to make a crosshair, you would want it in the center, but if you want a mouse cursor picture, you'd want it in the top left. Perhaps a way to specify if there's not already? |
a couple of those commands are being worked on for the next third party HSI update |
|
| Back to top |
|
 |
Rinku

Joined: 02 Feb 2003 Posts: 690
|
Posted: Wed May 25, 2005 3:31 am Post subject: |
|
|
i don't know why your script wouldn't work phc. the mouse in zfrt has worked fine with a loop fairly similar to that one. maybe right and left moust buttons are switched? try putting in both right mouse button and left mouse button. or try holding down the button harder (the ohr isn't very good at detecting it if you press it too fast). if you still can't get it to work i'll post my zfrt source code dealing with the mouse and we can see how it differs. _________________ Tower Defense Game |
|
| Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Wed May 25, 2005 1:47 pm Post subject: |
|
|
| Note from Castle Paradox Administration: | | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
| Back to top |
|
 |
|