Draw a Line On GUIs

Started by Arjunaz78, Thu 08/12/2011 06:26:39

Previous topic - Next topic

Arjunaz78

I've currently making the remake of Silent Hill Mobile 2 version using AGS Editor, but i getting stuck when create a certain custom puzzle..i currently not much understand and got confuse with a 'rawdraw functions' too.

Firstly i've create a custom GUI's that include with custom background graphic like below with the red dot but without the red line draws..

IMAGE 1

Secondly..what i need is, i want draw the red line manually using mouse cursor..and the line can be draw from any of the red dot mark that will be sequence each other if connected, which means it can be a square line, random line , triangle line or etc. like below image..

IMAGE 2

how can i make it?

P/S: Sorry for my weaken English.

THX.
..In the making of Silent Hill: The Hospital..

https://www.facebook.com/ArjunazGamesStudio

Khris

So does the player click the dots and straight lines are drawn?
Or are you talking about freehand drawing which will then be turned into straight lines by an algorithm?

My guess is you want something like the dungeon doors in Phantom Hourglass.

The problem here is that you don't even know how to start. You aren't stuck and need help, you're incapable of figuring out how to do this on a very basic level. So we pretty much need to provide you with a fully coded solution.
As this isn't one of those problems that are solved by a few lines here and there, I'm out.

Good luck.

SMF spam blocked by CleanTalk