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

#1
Hi there everyone,

As the title says I cannot understand where to put my end game conditions code. As my game is small it doesn't have much, but at least I want it to have a proper way to end. I figured I can use the EndCutscene function to create my end cutscene, but where do I leave the conditions ? I tried putting them in a custom function, but it never triggers. I may have botched it a little bit.

Code: ags
 
function Ending()
{
if((cAsparuh.HasInventory(iHayPiece)) && (cSoldier_Fort.HasInventory (iSwords))){
  DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
  surface.DrawImage(270, 200, 41);
  surface.Release();
  Wait(100);
  QuitGame(1);
}
}


One more thing, as you might have seen in the code I used DrawImage. I use it a lot in my game, since all the characters don't "speak", but rather pop up speech bubbles with images in them (so as to make it more language neutral). I create a backup and then use DrawImage to draw the bubbles and then return the backup, to create the illusion of speech bubbles. However, I cannot make it in such a way that you can click with the left mouse button and the bubble disappears, I can only make it with the Wait() function. Is there someone that knows a little bit more and can help me with my problems ? All advice are appreciated. Sorry for the language, English isn't my mother tongue. 
#2
Hello everyone,

I just wanted to make a post about my final year project in uni, which is an educational game about Bulgarian history. I'm aiming for a crossover between King's Quest style of game play and Machinarium style of dialogue system, with emphasis on it being more modern. My goal is to have a game made for a younger audience (1st graders or such) that can help them get into the mindset of learning Bulgarian history. I won't have a lot of time (I don't even now as I'm writing), but I'm trying to get through at least one event.

Now my major concern is how to make the characters talk with images/pictures (in chat bubbles maybe)? All I could gather from the tutorial is that the closest thing to achieve this that I can use is the DrawImage function. I would like to ask if there is another way or if this is indeed what I should be using ?

As mentioned above, my main goal is to make the game as user friendly and "ease-of-access"-y as possible, that's why I turned to the point-and-click adventure game genre. I post this in the Discussion thread so that if interested people can discuss my idea and maybe even tell me if there is a better way/better engine I could be using to achieve best results (keeping in mind of course that I'm kind of pressed for time :D ).
SMF spam blocked by CleanTalk