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 - MiteWiseacreLives!

#441
Sorry Monsieur, but walk to stinks. Unless you want to have to character zig zagging all over the screen each segment. This can be adjusted to 3 pixel/frame for example, and don't get me wrong it's not the way to move every object or character but I want to check for intersection between solid objects, walkable areas or check properties. Even if not the method used in the end, now the answer to the question  and the code is available on the forum.
#443
Ok so after doing this on paper for way too long I think I finally get how to use this

(Xa,Ya) -starting coordinates
(Xb,Yb) -target coordinates

X2 = Xb - Xa
Y2 = Yb - Ya
Grad = Y2 / X2


Y1 = Grad * X1
Next Coord (X1 + Xa , Y1 + Ya)
>Run some checks...
If (Xa < Xb)
X1 ++
Else
X1 --

For sharper angles move along y-axis:
If (Grad > 1)
X1 = Grad * Y1
Next Coord (X1 + Xa , Y1 + Ya)
>Run some checks...
If (Ya < Yb)
  Y1 ++
Else
  Y1 --

Works good unless a vertical line because Grad = null
So check for that and move straight up/down

This was probably exactly what you told me but I had to figure it out on paper to understand.
Only tested in theory, but hopefully useful to some other AGS'r
(If someone would like to check my math please do)


#444
I've found before on the last game using move and repeatedly execute always was very messy. I am looking at doing several checks each frame and some other calculations on impact (rebounds). Just one shot at a time, make the bullet a character and the function global.
#445
Thanks Gurok!
It was as scary as I feared ;)
I was looking at a simple setposition(x + Dx/length, y + Dy/length)  with float to int thrown in... Too simplistic I see...

The reason I needed to move towards the goal a pixel at a time was to check for collisions (a bullet flying).
Thanks again I'll test it out when I get home.
P.S. what is the symbol ^ ?
#446
I am working on a concept for a game and I want to potentially move objects from one x,y coordinate to any other in 360degrees. My question is what is the math to move one pixel at a time procedurally towards a target? Would rounding work to set position, or is more involved to make a nice pixel line?
#447
A lot off colour but...
Use pink (latex?) duck stocking on zombie arm and throw it into Mabel's arms in hope of quenching her violent lust!
Ewwww yuk  (wrong)
#449
General Discussion / Re: Star Wars Movies
Tue 21/04/2015 02:37:17
I don't care if it's Disney, I'm pretty stoked  :-D
#450
Yup I agree with you very much! What was this thread about  ???
Oh, right. That portrait does make for an intriguing character, the other one maybe a creepy shop owner??
#451
>>talk to woman
>>tell them your looking for the two suspicious characters seen climbing the fire escape
#452
Quote from: WRK on Tue 14/04/2015 10:40:43
Quote from: Mandle on Mon 13/04/2015 15:01:15
Is the first guy Skyer's boss and extra-marital fling from Breaking Bad?

I'm pretty sure it's Carter Burke from Weyland-Yutani Corporation. :)
+1. He's Mad About Ripley I'd say... "I made a bad call! That's all!"

Love that movie  (nod)
#453
My theory is that you should look at most relevant things and talk to all the characters and give time read or listen to the response, execute the puzzle solving as if you got it on your first guess (walk through) and don't skip the cutscenes. I feel that "length of game" will give you a pretty honest idea of the amount of content in the game.
#454
Now how long until the big commercial companies begin to falter and extinction of AAA games comes about?
Then the forums, in 2025, will lament the fall of commercial gaming now replaced with a mild hobby-sport of entertaining little games which by the way are all folks have the attention span for anymore...
  :P I do think we may see a cycle happening, mega games with massive teams and mega budgets just don't seem sustainable for much longer, IMHO, but they will rise again.
#455
General Discussion / Re: Where is Khris?
Fri 17/04/2015 13:16:48
Glad to see you Kris!
In your absence I've went to the trouble of compiling a list of 81 different technical questions regarding my Ags manual that has every fourth word purposely blacked out.
I'll pm you the details...
#456
AGS Games in Production / Re: Beyond Eternity
Wed 15/04/2015 03:22:50
This looks intriguing. I like your clean art style  :)
#457
YOUR WAIT IS FINALLY OVER!!!
New version 1.8.4 of Crankosaurus Prime is ready!
If you haven't played Crankosaurus before, this version is much improved. If you have played before, this one is loaded with new content and surprises that aim to please, so give it a whirl!
As always any and all thoughts are welcome.. Although I am about to leave town for a few weeks, I should be able to visit AGS once and a while.

Link to download page

Or if want to skip that (and deny me the pleasure of seeing the number of downloads grow  :( ) --->

New Crankosaur (Media Fire)
New Crankosaur (Drop Box)
#458
>> then ask "green pac-man" what ails him  ;)
#459
>> Jimmy use blind cane (zombie arm) to reach gun
>> coach Larry through untangling themselves from the blanket
#460
>> tell the resident that you are from the Federal Mattress Inspection Ministry
>> you have reports of illegal duck down in the bedding!
>> ask him to relate all he has seen/heard in the hotel to help with the investigation
SMF spam blocked by CleanTalk