乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: sharpooth

[编程交流] Help Lee Mac for LM:GrText ...

[复制链接]

8

主题

159

帖子

153

银币

初来乍到

Rank: 1

铜币
40
发表于 2022-7-6 09:49:35 | 显示全部楼层
haha, that was honest  
you better read this http://lee-mac.com/terms.html
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 09:53:43 | 显示全部楼层
 
Then you had better remove my code from it.
回复

使用道具 举报

63

主题

6297

帖子

6283

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
358
发表于 2022-7-6 09:57:22 | 显示全部楼层
 
Is it yours to say that ? you may need to read about Author's rights very carefully .
回复

使用道具 举报

16

主题

64

帖子

48

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
80
发表于 2022-7-6 10:00:26 | 显示全部楼层
Wait, wait wait....,
I will not insert Lee's code in my program. I want to take an idea how to to make custom Grtext (the engine). Now I understood (in my way) how to do the engine and I will post my code for FREE OF USE, NO LIMITS. About the Author's rights I never break it.  I have read lee-mac's tutorials - it is good, but from now - stop.
 
So in the end - when I post my code of GrText, I want from You to excuse.
 
Thanks
回复

使用道具 举报

16

主题

64

帖子

48

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
80
发表于 2022-7-6 10:03:27 | 显示全部楼层
because I am very insulted from this case  I am posting MY code unfinished :
  1. ; for free use; Read closely the comments to understand the logic of works of code(defun c:go () ; ver 1.0(setq vl nil)(setq i 0)(repeat 2 ; we can put (strlen... ) to repeat for evry character in string(setq vlist ; making list ONLY with vectors without color(cons(mapcar; i is step by X. 0 is for Step by Y'(lambda (x) (list (+ (car x) i) (+ (cadr x) 0)))'((2 10) (2 10) (6 10) (6 10) (3 5) (3 10) (6 5) (6 5) (4 4) (5 4) (7 4) (7 10) (8 4) (8 4)) ; this u character describe (point by point by point); If We make a list (point by point by point) with all alphabet will receive every message on screen.Now is just "u" char)vlist))(setq i (+ 10 i)) ; Next interval (step by X));repeat(setq vl1 (cons 2 (apply 'append vlist))) ; Here put color 2 / yellow / in vector list(while(setq drag (grread t 4 0))(if (= (type (nth 1 drag)) 'LIST)(progn(redraw)(setq s (/ (getvar "viewsize") (cadr (getvar "SCREENSIZE")))) ; this scale factor to receive constant high of character on screen(grvecs vl1((lambda ( Scale PosX PosY ) ; define anonymous function(list(list Scale 0. 0. PosX ) ; Matrix for scaling(list 0. Scale 0. PosY )(list 0. 0. Scale 0.)(list 0. 0. 0. 1.)))s ; Scale(+ (car (nth 1 drag)) (* 15 s)) ;PosX(- (cadr (nth 1 drag)) (* 31 s)) ;PosY))   ))(princ drag););while)
 
Next step is to make list (point by point by point) (0 0) (2 2) (15 2)  ...... and so on,  with all alphabetic characters.
Next step is to write code for joint all lists of characters in one list. May be I have to use mapcar and append. But I am beginner and need time to do it.
 
Thank you for your attention!
If you have questions please....
 
 
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-7 05:55 , Processed in 0.479608 second(s), 60 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表