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 - Gilbert

#201
The Rumpus Room / Re: Guess the TV show
Fri 08/01/2021 18:13:44
Prince of Photoshopia
Sorry, I couldn't resist.  :grin:
#202
Reminds me of a famous saying of a celebrity singer here (who is infamous of inventing nonsensical quotes anyway):
Don't eat breakfast if your stomach is empty.
#203
Also, make sure you DIDN'T save the image files in JPEG format. Artifacts from lossy compression are responsible in ruining clarity of images.
As AGS converts the images internally it WON'T help in reducing the size of your game if you save them as JPEGs.
#204
In the room's properties, events tab (the 'lightening' icon), check whether the function room_Load() is linked to one of the events, and type the name of the function in the script to link it to the desired event if it doesn't appear in the list (for room_Load() it's usually linked to 'Enters room before fade-in').

It is a common mistake to just copy contents from the script of one room to another without properly linking the functions to events of the room.
#206
These kind of games usually arrange assets in a grid (even if it's in orthogonal view there is still a grid), so usual way is to just don't use objects and draw the graphics on the background. You use a 2-d array to hold the info of the individual items on the grid and if you say click on a certain spot on the screen you may do some calculation to find out what asset is under that spot, etc.

...or, use an engine more suited to these kind of games.
#207
The Rumpus Room / Re: Name the Game
Sun 18/10/2020 04:31:09
Considering it's a massively popular game series (not as popular in the west probably) it couldn't be mistaken

Don't have anything in my mind atm, so anyone can steal this space.
#208
The Rumpus Room / Re: Name the Game
Sat 17/10/2020 22:34:13
Princess Maker

PM2, maybe.
#209
Yeah. Just wait a bit and take it over to keep things moving.
#210
The Rumpus Room / Re: Guess the TV show
Thu 08/10/2020 06:18:24
Transformers?
#211
Just to clarify why the original codes won't work.
In a number of "C-like" programming languages "==" and "=" are completely different. "==" is for comparison and "=" is for assignment, so the second "==" should be the assignment "=".
BUT, as pointed out in the manual, the property NormalView of a character is read-only, so you need to use the ChangeView() function as demonstrated by slasher.
#212
Not completely. .Delete() can still be useful in case for dynamic sprites as they usually occupy a certain amount of memory and you may want to remove them manually sometimes.

For a dynamic sprite to have no reference to it, either a pointer to it is destroyed for being out of scoop or you repurpose it to point to something else, or you assign Null to this pointer (or other scenario, such as the sprite is no longer being referenced by an overlay, etc.).

Sometimes it is not that simple, say, when there are multiple references to a single dynamic sprite. If you don't use the .Delete() function, you have to make sure you trash all these references in order to destroy it, which may be a bit messy sometimes. By using .Delete() you can be sure that the sprite is destroyed immediately and the memory is released, without locating each and every reference (though there is still a danger that you destroy a sprite that is still used somewhere in the game).
#213
My guess, as we here don't support (mainly image) hosting, most of the images (in the posts, your avatars, signatures etc.) are remote links, and the adblocker possible considers everything linked remotely (also, the other remote links, such as links to game downloads, etc.) a candidate for an ad.
#214
The Rumpus Room / Re: Name the Game
Sun 06/09/2020 19:32:15
This is just so obvious, so I'd rather don't put my answer here.
#215
General Discussion / Re: Where is everybody
Wed 02/09/2020 07:12:44
Quote from: Mandle on Wed 02/09/2020 06:59:59
Sure, I saw Khris telling Jack to "Shut up" in many threads because he doesn't like his views. But I never saw Khris use his Mod powers to silence those views.

Errr... Khris is not a moderator here.
#216
But but butt, Lance Henriksen in POTC ripoff? Could be greeeat!

Edited: Oh, he's also in that Da Vinci ripoff, and both films have 'Treasure' in the title. It must be a series!
#217
I've removed a number of posts from this thread.
This thread is about making games and please don't kill the thread by creating dramas based on some very specific wordings.
These kind of discussions about social problems can be place elsewhere, such as the General forum.
#218
The Rumpus Room / Re: Name the Game
Tue 25/08/2020 09:45:39
This must be the HD remake of Sonic of Hedgehog!

Spoiler
Hehe. Advertising your own game?
[close]
#219
Quote from: Crimson Wizard on Wed 19/08/2020 22:40:43
Ah, darn, this is the same as an old issue where non-visible objects did not animate, which could also cause infinite waiting block.
It's been a long time, but I think I once asked CJ about this but the reply was it's the intentional behaviour as it didn't make sense to move or animate invisible objects.

I wanted it otherwise though. I originally wanted to have a flickering effect (think the invincible time in arcade games) on an moving/animating object by using the .On property. As this didn't work it would involve some extra scriptings for the effect.
#220
I don't know whether I get what you want to do, but remember that objects are local to rooms, so when you set the visibility of object[0] to true, it will set the visibility of whatever object #0 is for the room the player is currently in.
If you want object #0 to appear in room 33 instead, try to do so in the 'enter room' event of that room to set the visibility of the object by checking the value of sticker_1.

Or, if what you want is to display the object to appear in ALL the rooms you should not use an object (as objects are local to rooms), use a GUI or a character (that follows the player to change room) instead to depict the item.
SMF spam blocked by CleanTalk