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

#1
hi
go to this link and download the compressed file (or at least these are the guide lines from the site)
http://www.filedropper.com/forupload

and it also gives me this embed code that i don't know how to use but when i clicked it in my previews post it sent me to a download page of the site
<img src=http://www.filedropper.com/download_button.png width=127 height=145 border=0/>
<div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> <a href=http://www.filedropper.com >file upload</a></div>

i also uploaded it here for 48 hours:
https://expirebox.com/download/e6557318f8904196a419810c22b519ac.html

i forgot to mention that, in the attached project(when debugging)you have to interact with the object after dragging it. Also it only works for the right moves and that is why i didn't like any of my solutions
#2
hi again,
Regarding the movement of the pieces in the Peg's Solitaire puzzle.
I used  Crimson Wizard's scripts for dragdrop and followed the general idea that Khris proposed in my first post.
I tried different approaches, but i am not even close to what should be right or what i would like for the players to be able to do.

Before i begin, i remind you that i am looking for a way that an object can only move only if there is another object next to it and in the direction its moving and also the position that is going to move is empty. When the relocation happens the other piece, that was next to it, is eliminated and relocated to another place(and the correct order gives us a password, but this is not relevant)
At first, i tried entering the checking and relocating of the piece positions in the repetedly_exec function of the room and it worked but not so good.
then i tried doing that inside the object_interact functions and you will see the results in the attachment.
I also tried using pointers, but they interfered with  Crimson Wizard's scripts i 'm calling, in order to drag the pieces.
i could use some help now , that i think i tried everything i could from my understanding of scripting in AGS.
Community please check the attached project (and also the rules of movement in the puzzle) and guide me in what to change or do differently
thanks in advance,
viktor

p.s. i dont know if the compressed file has been attached so i uploaded it also in this link:
http://www.filedropper.com/forupload

<img src=http://www.filedropper.com/download_button.png width=127 height=145 border=0/>
<div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> <a href=http://www.filedropper.com >file upload</a></div>
#3
 You are right Khris, ty. I will try it, in the weekend. Your idea made me think of a square board where all pieces (except from the ones in the "square edges") can only be draged to a coordinate only if the array says, it's ok to do so... Thanks again
Have a nice day guys and girls,
Viktor

#4
Hi all,
This is my first post.
Usually i find the answers to most of my questions in the forum but not this time, and as i recall i have to post something from time to time!
so here it goes!
I would like to create a Peg's Solitaire ( https://en.wikipedia.org/wiki/Peg_solitaire ) kind of puzzle, as part of a bigger one (password puzzle), in a project i am working.
it's been 2 days now i am thinking about a way defining the movement of the pieces, as they can only move only if they have another piece next to them and also there is a blank position next to the second piece. I know some limited and basic scripting in ags, but my imagination this time isn't helping. So if someone has an idea of how to get it done or a way to script the movement of the pieces (they jump over each other, eliminating the one the jump over) please post a reply.
you can see a way of solving the puzzle here: http://www.mathsisfun.com/games/triangle-peg-solitaire/

thank you in advance and sorry for my english,
one more...new guy :)
SMF spam blocked by CleanTalk