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

#101
It would be useful to me if I could create new objects through script everytime a hotspot is clicked.
I want the name of the new hotspot to be its name plus an integer number.I have the integer adding everytime so that It would make a new object with a different name.Is it possible to add an integer to a new objects name?

Code: ags

int c2;
function hHotspot5_AnyClick()
{
  Object* pipe+c2;
  c2+=1;
}
#102
The Rumpus Room / Re: Share your dreams
Tue 15/02/2022 20:21:08
One time I sneezed in a dream and woke up choking!That was really odd I didn't even know I was choking till I woke up.And sometimes your mind creates feelings that you never even felt.I used to every once in a while get electrocuted in a dream .I don't know why I got electrocuted.I didn't even know what it's like to get shocked.

I think the reason some people don't like listening to others dreams is because you can't see what that other person dreamed.Without all those missing details it sounds boring.

I don't remember all the good dreams though that would have made fantastic movies.
Just think.What would happen to movies and video games if dreams could be recorded.That would mean instant graphics ,instant movies ,instant game ideas and more.No more working to think of  an idea it would be done in your sleep!Of course everything seems more fantastic in your sleep though.
#103
Yes that's exactly what I mean't.I understand now.
#104
Sorry I don't comprehend what your saying exactly.Just to be sure were talking about the same thing let me explain again what I mean.I want to be able to type a room function in a room script and not have to put it in the event panel.If you don't put it in the event panel you get a null pointer referenced error.You probably do know what im asking and I probably just don't understand your explanation.
#105
I assume your saying that your working on being able to have functions like beforefadein without using the event handler GUI and have that the event handler can be activated by script.Because what Im talking about is allowing the event handler be activated using script as in a second control instead of clicking the GUI buttons.It seems like it should be possible to  type a keyword to run the programming that event handler GUI buttons have .I'm no programmer though so I don't know.
#106
Yes,that's what I meant.
#107
I know right know there is already a lot going into ags 3.6.0 but I was thinking maybe later add this feature.I'm not sure if it's really that useful to allow declaring events using script but someone said about it to me as being annoying to have to un-declare deleted functions.Some people don't like certain guis that much.What do you think? Is allowing declaring events through script worth it or is this already possible?
#108
That's a good idea heltenjon.Sorry I haven't corrected my download link .For some reason I haven't been able to get into mediafire to fix it.
#109
The Rumpus Room / Re: Share your dreams
Sun 06/02/2022 05:52:50
Yes dreams can be quite odd. I know lots of times when my characters in my dreams would mysteriously change without my knowing of it.I can remember one dream I had much fun in was about a mystery.For some reason everything had a green tint like some old partially colored games. It was all about something being missing and that I (a detective dressed like sherlock holmes!) had to find it.Everything around me looked almost as exact as the way houses would look around the time of sherlock holmes. I can only remember the beginning and the end.I wish dreams could be recorded. They would make great instant movies. As I searched I was saying something about a clue I found and why it explains everything.When suddenly and unnoticeably to me I had switched to 3rd person view and the detective was now a monkey!So this monkey got credit for solving  the case and I didn't.It was fun solving as it lasted anyways.  :P
#110
I need the integer stopidledirect to = player.y  whenever stopidledirect>player.y+6.I can't do this in repeatedly execute because then stopidledirect always =player.y.I need it to store the position of the player to compare how far he's moved.So in simple I need the player to move 6 pixels down then stop then move 6 pixels up and repeat this in a loop.This is meant for any player position.I would have done idle views but my character looks different every room.I don't want to have any more views just to move up and down.
#111
I have an integer that should = player.y whenever the if statement is true.I don't know how get this to continuously check the if statement without changing the integer continuously.
Code: ags

function repeatedly_execute_always()
{
    if(stopidledirect>player.y+6)
    {
        stopidledirect=player.y;
        max.y+=5;
    }	
    if(stopidledirect<player.y-6)
    {
       stopidledirect=player.y;
       max.y-=5;
    }	
}

#113
      I want the game to read some script when the room changes or is just activating the event room_beforefadein for all rooms.
I tried using callroomscript but that doesn't seem to read.I know that I could just paste this script to all rooms but I would rather take a shortcut if possible.The reason I have it this way is because I need the script to run before fade in.
Code: ags

function game_start()
{
  
	//place character
	if(CallRoomScript(eEventEnterRoomBeforeFadein))
	{
		if(player.Room==5)
		{}
		else
		{
			player.x=960;
			player.y=1080;
		}
	}	
}

I have also tried
Code: ags
	

        if(player.ChangeRoom(player.Room, player.x, player.y))
	{
		if(player.Room==5)
		{}
		else
		{
			player.x=960;
			player.y=1080;
		}
	}	

Thanks in advance
#114
Wow I think itch.io might be just what I was looking for to sell my other games.
#116
I guess I didn't know there was any ads because I use an incredibly powerful adblocker. I've been using an adblocker so long I forget how bad ads can get.
#117
Sorry @shadow1000 I didn't know there would be a problem downloading it. I really don't know how to use mediafire that well. You shouldn't have to upgrade to premium and just click the other button that says "no I'll support mediafire with ads".Or did you figure it out?
EDIT: Oh wait actually I think you just can't download in bulk. you have to do one file at a time.
#118
I have a wonderfull idea around time but I will never do it. So instead of wasting an idea I will put it here for anyone who wants to make it.

A scene starts with an old man rocking back and forth in a rocking chair
a kid runs in curiously asking "Grandpa.Grandpa."what is it sonny?"grandpa replies. "What time is it?" The kid asks.
the old man takes out his pocketwatch and says what the time is.The kid asks excitedly"can I see the watch grandpa?"
"you mean may I see the watch"the old man corrects him.The kid asks again correcting his speech.the old man says"Allright but be cautious I've had that watch my entire life!"
he hands it to the kid and the kid drops it.Smash!!!"Ooops!"the kid says.A closeup of the watch reveals its handles spinning rapidly backwards.

"Look!its spinning backwards!" The kid exclaims.
the old man says"Stop telling me what's happening to the watch tell me what's happening to me!"
glowing lines spiral around him and he quickly de ages to a baby! The kid picks up the baby and carries him on the back of him.
The kid picks up the watch
The kid has to figure out how to fix the watch.
Unknown story ahead....
.....................
......................
......................
the watch is fixed and the old man(recently baby)becomes a middle aged man and all is well!THE END


I left the story bare so that anyone who uses this can use their own creativity.
If anyone wants to they can  use this and change it in anyway they like.

EDIT:It actually turns out I probably will be able to do this even with it being the 11th already.
I thought I couldn't make it in time because I am very slow at drawing but it turns out VampireWombat is going to help with the art.
DOUBLE EDIT:CANCELED
#119
Thanks CaptainD. Did it work ok or is it to buggy to be usable? This should have been simple but somehow I ended up with a ton of if statements that check if statements that check if statements and so on! It's a big mess. :P Hopefully I'll fix the bugs sometime and add what I wanted. 
#120
  I was just too busy to work on this and I really wasn't  much into it. But anyways here's what I left off with.
Presenting: "Get The Picture"
Controls: press spacebar to take a picture.If you miss it press space again.
The goal: To take a picture of an eagle being entirely on screen. Be aware that the eagle doesn't always look the same.
Number of levels available so far:5

https://www.mediafire.com/folder/tno7x1myl33mo/Compiled
SMF spam blocked by CleanTalk