Menu

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.

Show posts Menu

Topics - deltamatrix

#21

Hi,

I tested the game.following_room_timer by setting it to 500.
I found that it only does what it says it does when the player changes room by script. It doesn't work when the player changes room via the interaction editor. Is this intentional?
#22
I have the following code in the global script.
 
  lblHealth.Text = String.AsInt(heroHP);
  lblMonsterHealth.Text = String.AsInt(enemyHP);

Unfortunately, I get the following compilation error:

In: 'Global script'

Error (line 14): must have an instance of the struct to access a non-static member

How do I fix this? I cannot find any documentation about this.
#23

Ok technically not a method but you know wot I mean. The ability to overload functions in AGS will be useful.

I have just written min and max maths functions (shame AGS don't seem to support these) which I hoped to overload for different data types.  :(

Thanks
#24
I got this error when attempting to save my room:

There was an error compiling your script. The problem was:
In: 'Internal character defines'
Error (line 70): Expected ',' or ';', not 'Ring'
Do you want to fix the script now? (Your room has not been saved).

Then I get this message:

The error occured in an internal AGS script. This should never happen; try re-installing the latest version of AGS.


Ok, all I really did was add an object to a room. Then it wouldn't save. I'm confused. Whats going on with this weird error?
#25

I just discovered that the existence of an AGS InputBox pushes up the CPU usage. Possibly even to almost 100% on single threaded machines (mine is hyperthreaded). This is an odd characteristic and if it ain't been reported already, this should be on the bug tracker.
#26
Advanced Technical Forum / Skewing sprites
Fri 16/03/2007 01:27:07

Hi,

I want to write a function/module that skews a sprite in AGS as there seems to be no native support for this.
I guess the down to earth question is, is this possible? I can't seem to find any rawdraw or dynamicsprite functions that allow me dynamic access to the pixels of a sprite.
#27
General Discussion / How to run Java Applets
Fri 25/06/2004 02:41:56
I need to brush up on Java programming skills even though I despite java >:( for Uni.

This'll sound stupid but this issue was never raised in the lectures but...
Unfortunately my computer just won't run applets in IE. I have the Java SDK installed and appletviewer.exe works but IE don't.

How do you do it? Do I need something like Java Console?
#28
Any chance of a replace feature for the script editor like the one in NotePad.

Only I wanna replace all my ints with shorts and there are a lot of them 8)
#29
I am fairly new to deluxe paint. I want to try it out for some sprite animation but I don't know how to import picture files into it.

I have a common 24-bit bmp file which I wanna play with in dp.

I tried converting it to pcx in photoshop but that didn't work. How do you do it?

I apologise in advance if this is the wrong forum.
#30
Advanced Technical Forum / RestartGame ()
Sun 11/01/2004 12:46:49
I have a situaion where one function calls a second function which calls a third function which calls a fourth function which contains a RestartGame () command.

But after that fourth and final function ends, the rest of the code within the original function continues and the game don't restart until the first function ends.

I don't want that. I want the restartgame() command to work instantly! Why doesn't it?
#32
Yes I have released a new version of Ray Bexter with the following changes:

-- Support for outlined fonts added.
-- Another bug fix.
-- Rewrote some of the dialogs attempting to make the situations clearer and the puzzles more obvious.
-- Made the file a little more compact.
-- Modified the 4th room with the 2 elevators so you can return to the bottom floor if you need to.
-- Modified 2 backgrounds making the exits more visible.
-- Nu sound effect of closing door


Download it here



Movie files here


URL fixed for anyone who is interested. Although it is posted on a crap geocities server so you'll need to use 'save target as...' or something.

I may need feedback in case I accidently created new bugs.
#33
I am considering extending Ray Bexter. Possibly add a whole new scenerio which comes after the one I've already made.

If I was to do a directors cut, should I replace the original or keep that on-line too? Would it be a good idea?

Thing is I wanna upgrade it to a full-length game with more puzzles and work on some of the criticism received.
#34
I need to have an ambient sound of a phone ringing but there needs to be a time gap between each ring...obviously. How do I do it?
#35
I've found a possible bug with the unhandled_event function where the Interact type ain't being called if the hotspot has an Any Click function working.

EDIT: Hmmm. Come to think of it. This is redundant.

I've been trying to design my own lucasarts style GUI and I've been using different cursor modes. I've also added two new cursor modes but you can't set up an interaction for them.

Can this soon be possible?
#36
Right now, AGS has the feature to jump to common function in the global script suck as on-event or interface_click.

Would it soon be possible to make custom function shortcuts for my own functions? Cause I got a lot.
#37
I swear I didn't make any changes to the script for this particular GUI but something weird has started happening.

It HAS to be a bug in AGS somewhere because I never touched the code.

It concerns a GUI that displays ints converted to strings with StrFormat. When an int changes and the GUI updates to display it, part of another label of this GUI seems to invade another label with half its contents.
What I see is part of one Label on a GUI that says HEALTH. And somewhere else on the GUI, the word ALTH is printed.
I DIDN'T PUT IT THERE.

The label HEALTH doesn't even get touched by the script so why is it invading another label?
#38
Please CJ!

Can we have a variable that returns the number of the specific music thats playing.
#39
The above mentioned variable ain't doing what it says on the tin. I set the variable to 80000 and the characters barely waited a second before appearing in the next room.

It's not vital to me that it gets fixed anymore but it has to be a bug.
#40

1) If it isn't possible already (slap me if it is), could variables be introduced that tell us the positions of the exits of the current room (i.e the yellow exit lines).
I'm basically working on A System like in QFG where the monsters follow you room to room but not the way FollowCharacter does it so you get time to get away from the monster after the room change.

2) This is possibly farfetched but it would be cool if a trailing effect for the characters was possible. Either by AGS or a plugin. Only one of my game beta testers requested that to be in one of my games.
SMF spam blocked by CleanTalk