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

#1
Critics' Lounge / Need advise on room textures
Thu 27/05/2004 17:32:56
I've been heavily developing my game for a while and i have gotten to a point where i cannot figure out how to texturize a room properly. I am able to get all of my objects and such in the room looking fine but the walls look so bare and need...texture!!. I am using photoshop and their default colors as my gaming palette and because I am making a 256 color game, i can't be using photoshop filters. I am wondering if i could get help from the community to populate this room with some textures. especially pixelation ways cause they look cooler (Darth Mandrib!). Thanks for the help!

#2
essentially here is the script that i have for my on_mouse_click
Code: ags

if (button==LEFT) 
{
 if (GetLocationType(mouse.x,mouse.y)==1) //hotspot
 {
Ã,  MoveCharacter(GetPlayerCharacter(),(GetHotspotPointX(GetHotspotAt(mouse.x,mouse.y)),GetHotspotPointY(GetHotspotAt(mouse.x,mouse.y)));
Ã,  while(character[GetPlayerCharacter()].walking)
Ã,  {
Ã,  Ã, Wait(1)
Ã,  Ã, }
Ã,  Ã, RunHotspotInteraction(GetHotspotAt(mouse.x,mouse.y),GetCursorMode());
}


here's what happens: in a scrolling room, where the character has to walk to the hotspot and the screen scrolls a little, the character arrives at the hotspot and does not do any interaction. If the screen doesn't have to scroll, the character will perform the interaction. I tried replacing the RunHotspotInteraction with ProcessMouseClick and that didn't work either.

now if I put this in the repeatedly_execute script under the scrolling room:

Code: ags
if ((GetHotspotAt(mouse.x,mouse.y)==2) && (IsButtonDown(LEFT)==1)) {
 if (PlayerInteraction(GetHotspotPointX(GetHotspotAt(mouse.x,mouse.y)),GetHotspotPointY(GetHotspotAt(mouse.x,mouse.y)))==1)
 {
Ã,  RunHotspotInteraction(2,GetCursorMode());
 }
} //(this example working if hotspot is 2)


this works! of course you can see that it will be a pain in the ass to script this for a bunch of hotspots in a room.

another solution is that i can just enable "Walk to hotspot in Look mode".

another side note, i attempted to use the "SmartScrolling" script to see if it would fix my problem and it didn't help either so I wonder if this has to do with some way AGS handles this particular thing.

just for shits i added a kindof check dohicky on the first code to see how it handles this operation:

Code: ags

Display("Running interaction");
RunHotspotInteraction(GetHotspotAt(mouse.x,mouse.y),GetCursorMode());
Display("Ran interaction");


and in both instances it will display "Running interaction" and "Ran interaction" before it even runs the Interaction! Interesting :)

i really want to figure this out though because if i can get it to work i can add a globalvar and have both walk to and don't walk to hotspot in a variety of modes.

any help with trying to solve this would be greatly appreciated! :)

EDIT: I believe it might have to do with the fact that as the room scrolls, the does not stay where the person clicked so when the RunHotspotInteraction tries to run it can't find the hotspot because the mouse has changed position. let me know what you guys think
#3
General Discussion / The Trilogy Wars!!
Sun 23/05/2004 08:54:19
For starters, what is the best trilogy? (my ratings in {})
------------------------------------------------------------------------
Star Wars (originals, f*** lucas and his new shit) {1}
Indiana Jones {2}
Lord Of The Rings{2}
Back To The Future {3}
Terminator {4}
Matrix
Godfather
Die Hard
Evil Dead {2}
Scream
Jurassic Park

Now which are the best of each?
------------------------------------------
Star Wars: Empire Strikes Back (owns baby!)
Indiana Jones: Last Crusade
Lord Of The Rings: Return Of The King
Back To The Future: Part II
Terminator : II (might become a quadrilogy)
Matrix : I
Godfather : Haven't seen yet (pitiful ain't i?)
Die Hard : I (becoming a quadrilogy)
Evil Dead : I (hail to the king baby)
Scream : Meh..all were in the same realm of suck.
Jurassic Park : ^^

Suggested By Others:
--------------------------------
Scary Movie (Scuthbert)
Naked Gun (Privateer Puddin')

You should list what you think is the best like above ^^. Let the trilogy wars begin!
#4
Critics' Lounge / Stuck on neon sign. C&C
Sun 23/05/2004 07:26:41
i've been fiddling around with this neon sign:



and can't get it to look right...can't think of any other way to modify it.

in my game i have a limited palette to that of the swatches in photoshop and it was working quite well till i got to this sign... :(

Update
----------


is there a way to simplify this look? i really didn't want to whip out photoshop
blending...
--------------

Another Attempt:
-----------------------
SMF spam blocked by CleanTalk