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

Messages - SSH

#501
No offence to these games, but suddenly, the numbers for some games are more than 10x usual:

Quote
Most popular last week:
Shifter's Box - Outside In
(1528 downloads)
A Tale of Two Kingdoms
(985 downloads)
The Book of Spells
(817 downloads)
The Glorious Realm of Thendor
(567 downloads)
The Long Trip
(561 downloads)

CJ, any ideas?
#502
No, but you can create pointers to objects dynamically.
#503
Quote from: SpacePaw on Sat 07/03/2009 11:31:32

Well yes, it's not SO hard to make BUT I would need to have some sort of a source code or manual for making AGS plugins (if it supports them anyway). I need to know what kind of input it requires :)

http://www.adventuregamestudio.co.uk/accomplug.htm
#504
Hmmm, my brain must not have been working when I read it.  :=
#505
Oh! The manual says that you can't make dynamic arrays of managed types...
#506
Nope!

It's a shame that you can't generate dynamic arrays of Dynamic Sprite pointers, as that's what I'd prefer (or what might be best was if all sprite numbers inside AGS were actually pointers so you could set the pointer to the dynamic sprite so that it would still have a global reference and not need to worry about it getting garbage-collected.)
#507
Following on from the discussion in this thread I've created a module that you can use to scale all the sprites for a character, or to apply various other "distortions" to the sprites instead.

Needs: AGS 3.1.2 (but might work with earlier ones from 3.0 on, try it and see!)

Documentation
Download
#508
I've just created a module that can resize the sprites of a character's views on the fly. I think this would be what you want. It does various other "distortions" too, and is the DistortChar module. I'll make a new thread for the module up soon...
#509
Do it in python or ironpython or somethign!
#510
Updated and v1.1 uploaded to the same place... have a try as I've not tested it much!
#511
When worrying about distances, its usually faster to square the constant you're comparing against than get the root of the square on the hypotenuse...
#512
Well, here's a bit of fun:
#513
If you post some of your animated GIFs in the critics lounge, they may be able to suggest ways in which you could reduce the size.
#514
General Discussion / Re: PixelArt editor
Mon 02/03/2009 17:07:18
Make it like my walkcycle generator, but better ;)

my favourties:

Onion skinning for animation

Layers

Direct export of animated GIFs

#515
It's quite easy to set up your own default room template that has these events added for all new rooms that you create... in fact, I've just documented this process on my blog!
#516
Here's my picture of a wight:



Sorry...  ::)  :=
#517
Quote from: Joe Carl on Thu 26/02/2009 12:44:52
Whtas the difference between writeprotected and readonly?

Read only is read only: it really only applies to internal AGS values (i.e. AGS engine itself can change them but the scripter can't)

Writeprotected variables can only be modified via the this pointer, i.e. by non-static methods.

QuoteWhat's the diference between function and void? // Can function return any value?

function is an alias for "int". void returns nothing, function returns ints.
#518
Quote from: alex on Tue 24/02/2009 17:44:52
Yeah I know about the edge variables.  They don't work if I have say, a top exit halfway down the screen, such as a door in a facing wall, if there are items on that wall I want to look at.

Code: ags

if (Hotspot.GetAtScreenXY(mouse.x, mouse.y)!=null) {
   // Do hotspot stuff
} else if (mouse.y<Room.TopEdge) {
  // Do top edge stuff
}


covers that scenario...
#519
You know that there are Room.LeftEdge, Room.RightEdge, etc. variables built-in to AGS, right?

This code might be useful to those who have irregular shaped exits, though. Why not turn it into a module?

CJ usually doesn't prioritise suggestions that can be implemented easily in script code, anyway as the customizability that most developers want means they'd have to recode it manually anyway...
#520
There's also the Moduel writing guide in the Tech Archive forum...
SMF spam blocked by CleanTalk