The Daily Click ::. Forums ::. Klik Coding Help ::. Passing variables between frames in KNP
 

Post Reply  Post Oekaki 
 

Posted By Message

Long John Kickbag



Registered
  26/08/2002
Points
  148
3rd February, 2005 at 16:17:24 -

Modulus is easy to code, just keep subtracting while the value is greater than the value you're doing it by. Or another way is to divide the number by the value, then multiple again (that's assuming an integer calculation takes place) and take that away from the original value.

 
Resize! - www.clicksplat.com/comparison.html

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
3rd February, 2005 at 16:54:14 -

Well, there you go. I can fit in waaaaaay more than three values then. You just have to know how many digits they'll be beforehand.
Unless you used one value to store the list of numbers and the other one to store the list of lengths.
Sounds like something I'd do an example for if I weren't, like, not going to.

 
n/a

Weston L



Registered
  16/12/2002
Points
  1603
3rd February, 2005 at 19:04:12 -

for what it's worth, i'd go with TGF but that might just be because im used to it. i have MMF too.

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
3rd February, 2005 at 19:15:32 -

There is no excuse why no one here at DC should have to use KnP, only because TGF Pro is no more then a standerd PS2 game! So rather then going out & buying Jak2, get TGF Pro! Now MMF is a slightly different story, but still, its not that big of a deal.

 
http://www.facebook.com/truediamondgame

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
3rd February, 2005 at 22:13:42 -

Phizzy, I'm not sure if you got the point or not, but that wasnt it. The point is, TGFPro is cheap & werth the price, there should be no reasion why not every clicker has it if they dont already have MMF.

 
http://www.facebook.com/truediamondgame

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
5th February, 2005 at 07:50:32 -

K&P had very few objects; counters; actives; backdrop; quick backdrop; lives; score; string, i think thats it

 
n/a

Al



Registered
  03/01/2002
Points
  110
5th February, 2005 at 09:02:03 -

Get TGF, its only £15 on the Clickteam site, I've also seen TGF on the Xplosiv budget range here in England for £5 before.

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
5th February, 2005 at 12:05:40 -

Yeh I bought TGF on one of those Xplosiv range things for £5 at Toys R US - only about 6-8 months ago too.

GO GO GO!!

 
This is a signature. Have this one on me.

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
5th February, 2005 at 14:29:05 -

Oh, i forgot, K&P also had the crappy Q&A object, not that it matters

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
5th February, 2005 at 14:59:50 -

Object list in KnP

Score
Lives
Active object
Background
Quick Background.

And that's it, well as far as I can remember.
but no way to save, no scrolling, it's pretty limited.

@Radix - String manipulation? KnP doesn't even have a negate function.

 
Craps, I'm an old man!

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
5th February, 2005 at 21:41:21 -

Shab: You can scroll, but it's pretty inefficient. It requires using active objects as platforms and moving them when the player moves.

 
http://www.klik-me.com

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
6th February, 2005 at 11:47:21 -

"TGF on the Xplosiv budget range here in England for £5 before."

i got mine for £10 but that was in 'Game', ive also seen it in some other places.

 
.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
6th February, 2005 at 18:48:07 -

Shab: I didn't expect it to have string manipulation. But a mod function can do exactly the same thing for the purpose of passing variables around.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click