Classic Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

some big news are coming camed.

Pages: 1 ... 6 7 [8] 9 10
 71 
 on: August 10, 2017, 02:59:48 PM 
Started by maximus_asinus - Last post by maximus_asinus
Maybe you can help me. I am not sure how you moved the showpoly, but I am using the following (tweaked a bit, this is an example).

Code: [Select]
  toPlayerX = playerx - x;
  toPlayerY = playery - y;
  toPlayerLength = (toPlayerX * toPlayerX + toPlayerY * toPlayerY) ^ 0.5;
  toPlayerX = toPlayerX / toPlayerLength;
  toPlayerY = toPlayerY / toPlayerLength;
  x = x + toPlayerX * this.speed;
  y = y + toPlayerY * this.speed;

This has the showpoly moving in a very fluid manner. The problem is it never reaches the exact target coordinates (always off by a few hundredths of a decimal point). This causes some very weird visual glitches where the showpoly will 'bounce' between two coordinates. If I could control the increments (to 0.05 for example) that it moved that would solve my problem, but I don't really understand the math enough to do this. Can you help me out?

 72 
 on: August 09, 2017, 01:21:48 PM 
Started by maximus_asinus - Last post by Thor
A combination of showpoly and setshape2.

 73 
 on: August 08, 2017, 10:33:08 AM 
Started by maximus_asinus - Last post by maximus_asinus
I'm trying to replicate the rising water from Link to the Past. How did you accomplish this Thor? Was it a combination of showpoly and changing the zoom (is that even possible?). Or did you create an image and stretch it?

 74 
 on: August 04, 2017, 05:02:10 PM 
Started by maximus_asinus - Last post by maximus_asinus
Late reply but someone sent me the editor, plus I got access to a Dev server to practice GS2.

 75 
 on: July 29, 2017, 04:24:00 AM 
Started by maximus_asinus - Last post by Racil
You saying 2.2 isn't working or you can't download it? I could upload it to my dropbox when I get home.

 76 
 on: July 27, 2017, 05:06:47 PM 
Started by maximus_asinus - Last post by maximus_asinus
Normal level editor is downloadable from the login server.
Doesn't work, and I've tried using FP4's patch posted on Graalians.

 77 
 on: July 27, 2017, 11:39:41 AM 
Started by maximus_asinus - Last post by Thor
Normal level editor is downloadable from the login server.

 78 
 on: July 27, 2017, 01:38:53 AM 
Started by maximus_asinus - Last post by maximus_asinus
I'm looking for an older version of the level editor. I'm currently using Gonstruct but I need something with some scripting functionality (light effects, signs, NPCs, etc) as well as something that will allow me to take full screen screenshots.

Kamaeru said his v2.2 editor works, and directed me to a Reborn torrent as that is where he got his, but I'm not getting anywhere with that.

 79 
 on: July 26, 2017, 10:00:23 AM 
Started by The_Cosmic_Hand - Last post by PoJo
idk I don't think graal has anything like this

 80 
 on: July 25, 2017, 07:27:28 AM 
Started by The_Cosmic_Hand - Last post by Basi
lol'd

Pages: 1 ... 6 7 [8] 9 10